Xeeynamo / sotn-decomp

Decompilation of Castlevania: Symphony of the Night (PSX+Saturn)
https://sotn.xee.dev/
GNU Affero General Public License v3.0
508 stars 55 forks source link

De-duplicate CEN #1651

Closed bismurphy closed 1 month ago

bismurphy commented 1 month ago

I went through all of CEN, cross-referencing it with WRP to make as many files match as possible. This involved pulling in data (which had been pulled in on WRP but not on CEN yet), renaming shared variables to not have placeholder names, adjusting file splits, and more.

EntityBreakable seems to be very different here, so I did not do any deduplication on that one yet. I think we need to get a robust system for deduplicating across stages so we can share .h files even when the stages are different. Right now there's no way for an included .h file to know it's part of CEN (at least, that I know of).