Commit Graph

10 Commits

Author SHA1 Message Date
Seth Barberee ba9f894149 decomp another func and document a little more 2023-05-01 11:19:54 -07:00
Seth Barberee 0520040b07 decomp some more dungeon funcs 2023-04-14 11:39:11 -07:00
Seth Barberee 870de4e482 decomp another func and document a few more fields in gDungeon 2023-04-08 19:38:28 -07:00
AnonymousRandomPerson be20f60ee0 Synced some symbol names with EoS hacking 2023-01-08 04:23:00 -05:00
Seth Barberee 1255d15326 some more decomp 2022-04-24 11:01:01 -07:00
AnonymousRandomPerson 60a19d681c Decomped GetMapTile_2 2022-02-20 21:59:23 -05:00
AnonymousRandomPerson f728e7e90e Decomped DecideAttack() 2022-02-04 23:13:01 -05:00
AnonymousRandomPerson a61f7ea2a1 Decomped HasItem() 2021-12-29 23:33:22 -06:00
mid-kid 99a038284b Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst
juggling with tools/scaninc and tools/preproc:
- tools/scaninc doesn't apply the proper search rules for .include (it
  assumes #include behavior). In particular, it doesn't consider paths
  starting from $PWD, and doesn't scan the included files as a result.
- .include had to be processed before #include by preproc in many cases,
  as code was being included that had to be preprocessed by CPP (think
  of #define). This contradicts standard GCC behavior.

To make include paths consistent across the asm/ data/ and src/
directories, the following files were moved:
- constants/ → include/asm/constants/
- asm/macros/ → include/asm/macros/
- asm/macros.inc → include/asm/macros.inc
- include/macros/m4a.inc → include/asm/macros/m4a.inc

As part of the necessary changes for this to work, the scaninc method in
the makefile was improved to generate .d files that don't choke when
files are missing.
2021-12-20 16:29:12 +01:00
AnonymousRandomPerson da8fcb2ac8 Decomped CanSee() 2021-12-14 23:26:56 -05:00