Auto-detect if the TU is in main.dol or a REL. Detect this separately for the target and the base, in order to support TUs like d_a_npc_tt which are in main.dol for the debug build, but a REL for release builds. And disable linkage comparison when comparing a REL TU to a main.dol TU as the official main.dol maps do not include linkage information, but the REL maps do.
* d_a_npc_mt 100% for GZLE01
* implemented dPb_erasePicture and added some relevant inlines
* fixed existing references to mSelectPicture
* PR changes made
* d_a_kb Almost Matching
- Get most of the logic in
Still need to switch over from inheritance to composition, will fix at least 2/3 of the functions
* Switch Inheritance -> Composition
Causes regressions in way_check and target_set
* Use More Enums
Now uses res/loop mode/item number/sound/particle/collision attribute/event flag enums properly
* Fix d_a_npc_people
Used kb_class in a couple spots
* Another Inline
Found it in the debug map
* Joint Enums
- Add joint enums with note about normal/big pigs needing to have (at least partially) identical joint setups
* Assert for Joint Numbers
- Make sure the joint numbers match for the normal pig + big pig models
- Update/extend note accordingly
* d_a_lstair - 100% matching for GZLE01
* d_a_lstair - 100% matching for GZLE01 - restore comment deleted by mistake
* d_a_lstair - 100% matching for GZLE01 - fix return values of functions in the MethodTable; replace code with some inlines and macros; improve some casting locations; replace some magic numbers with enum usage; adjust res enum file according general update in the codebase
* d_a_lstair - 100% matching for GZLE01 - remove useless parameter
* d_a_lstair - 100% matching for GZLJ01, GZLE01 and GZLP01