pmd-red/asm/code_803C1D0.s, branch master Pokémon Mystery Dungeon: Red Rescue Team Translate all .include to #include 2021-12-20T15:29:12+00:00 mid-kid esteve.varela@gmail.com 2021-12-19T19:05:40+00:00 99a038284bcbbf3a0f5ee95982f761a71a72850d 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.
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.
More item related decomp (#45) 2021-07-17T16:45:13+00:00 Dennis dhilhorst2000@gmail.com 2021-07-17T16:45:13+00:00 bad7f7f688253c87c2cb2d063ea57c884cb6adff * decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * :crab: items.s is gone :crab: * some renaming * rename some obvious item related constants * fix spelling error
* decompile sub_80918EC

* some more item related functions

* more item functions

* more decomp, fix types in other places

* more small functions

* more item related decomp

* one more weird branching item function

* fix global.h includes

* figured out branch pattern

* decompile sub_8090F58

* make temporary struct for function

* :crab: items.s is gone :crab:

* some renaming

* rename some obvious item related constants

* fix spelling error
Sese's April/May Dump (#37) 2021-05-15T23:59:55+00:00 Seth Barberee seth.barberee@gmail.com 2021-05-15T23:59:55+00:00 f402e46cd3c8b7236673d6edbae77903a7cc0618 * 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
* 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
Some Personality and data (#26) 2021-02-08T03:10:12+00:00 Seth Barberee seth.barberee@gmail.com 2021-02-08T03:10:12+00:00 8dfd044ef3a6ea8da204265b4560716aa67391d1 * 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
* 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