Commit Graph

24 Commits

Author SHA1 Message Date
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
Seth Barberee
d988394595
More data dumping and some code cleaning (#46)
* more data dumping and some code cleaning

* split out cutscene scripts

* initial start at script conversion

* more script work

* use correct type

* clearer up struct field names

* split known scripts into seperate files

* no need to preproc pure ascii strings in debug

* more cutscene work

* split out personality test scripts

* solidify text macros and doc some dungeon fields

* more scripting work
2021-08-12 17:26:01 -07:00
Seth Barberee
f402e46cd3
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things

* actually commit this stuff

* more moving data and things

* more screen work

* split out some pokemon dungeon data

* lots of data work

* push more data work

* split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more

* lots of item work

* label more item things

* subtype -> category and doc types/category
2021-05-15 18:59:55 -05:00
Seth Barberee
2fd4f339b4
Miscellaneous Work (Again) (#31)
* move some personality data from asm to C

* combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu

* decomp some more wonder mail funcs and label some more data

* lots of data splitting and move some to src

* split out more dungeon data

* continue splitting out more dungeon data

* doc rescue team rank/pts funcs/data and exclusive pokemon ewram

* doc more sound things and decomp a func

* decomp LoadTeamRankBadge and label some data members

* split out rescue team and text util stuff

* forgot a constant

* match a few funcs and clean up a few

* cleaned up sub_80A28B4
2021-03-23 12:11:10 -05:00
Seth Barberee
8dfd044ef3
Some Personality and data (#26)
* decomp few personality funcs and clean up some pointers in the dungeon data

* de-pointer-ify friend area dialogue

* clean pointers on a personality test question

* decomp a few more main menu funcs and dump some more data

* label some funcs
2021-02-07 21:10:12 -06:00
Seth Barberee
076ff9ce59 small dungeon work.. to trigger webhook 2021-01-28 18:57:21 -06:00
Seth Barberee
10cda4ba81 split out all dungeon floor id data 2021-01-22 10:26:43 -06:00
Seth Barberee
d010378f72 mass doc'ing of symbols and some tiny decomp work 2021-01-20 16:02:26 -06:00
Seth Barberee
d6b218ebf5 split more main_data off 2020-12-05 14:14:09 -06:00
Seth Barberee
c3f879ce16 splitting more dungeon floor data 2020-12-04 17:00:36 -06:00
Seth Barberee
0d5c196bff split out more floor data 2020-12-03 21:10:35 -06:00
Seth Barberee
8c2d6a42c8 splitting more post story floor data 2020-10-29 18:26:06 -05:00
Seth Barberee
2e3f461e42 main data from story line dungeon split out 2020-10-29 15:17:49 -05:00
Seth Barberee
ab788bce63 split out main story dungeon floor data 2020-10-29 11:46:35 -05:00
Seth Barberee
fed56ed5e0 continue splitting dungeon floor id data by dungeon 2020-10-28 22:59:48 -05:00
Seth Barberee
69bf0084ce for some reason, this was breaking the build... troubleshoot later when we actually use these 2020-10-24 02:49:39 -05:00
Seth Barberee
1d308ccaa4 more labeling of stuff with rom map (thx MegaMinerd) 2020-10-23 19:26:51 -05:00
Seth Barberee
2613adee4f more work on dungeon data 2020-10-22 11:48:48 -05:00
Seth Barberee
769dba859e split sinister woods data off 2020-10-22 11:31:46 -05:00
Seth Barberee
787c832231 start moving dungeon data to respective directories 2020-10-22 10:52:57 -05:00
Seth Barberee
f8ae7ddc96 some more laabeling and organization of data 2020-10-22 00:45:46 -05:00
Seth Barberee
01dde719bb split dungeon sbin so I can work on the main dungeon floor data 2020-10-18 01:43:22 -05:00
Seth Barberee
597a69e9df the great dungeon data dump of 2020 2020-10-17 01:50:34 -05:00
sceptillion
b268532079 split file archives 2017-12-11 02:44:20 -08:00