Commit Graph

10 Commits

Author SHA1 Message Date
Martin Griffin
df02d49e9b INCGFX: in-source arguments for gbagfx
'INCGFX' is like 'INCBIN' except that it specifies the arguments to pass
to 'gbagfx' which alleviates the user-unfriendliness caused by catch-all
rules.

Specifically, users frequently forget to add to 'spritesheet_rules.mk'
when adding object event graphics, and then the built '.4bpp' file is
not invalidated when the add their rule so they have to 'touch' the
source file or similar.

The built artifacts are placed in 'build/assets'.
2026-04-19 07:06:17 +01:00
Martin Griffin
84e8d23425 Remove INCBIN_S*
The signed INCBINs are unused, I assume they were once for audio data
but that is handled in assembly now.
2026-04-19 07:06:17 +01:00
Philipp AUER
550e6688aa
Support C-Style enum in preproc (#1984)
* [preproc] C-style enums

- asm files parseable from stdin
- 2nd preproc pass
- add parser for C-style `enum`
- positional arguments at end of command

---------

Co-authored-by: sbird <sbird@no.tld>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2024-07-13 18:26:33 +01:00
kittenchilly
333523e5f7 Remove all leading whitespace 2023-10-23 13:24:38 -05:00
luckytyphlosion
7189e4e26f Fix build on macos.
Needs <cerrno> include in tools/preproc/c_file.cpp
2021-06-03 21:05:56 -04:00
luckytyphlosion
10c0566121 Don't keep temporary C build files by default. 2021-01-19 11:43:50 -05:00
Kurausukun
65fb2e9957
Fix compilation on gcc 10 (for real this time) 2020-05-18 23:42:42 -04:00
Diegoisawesome
e0a83e3d72 Update scaninc and preproc with multi-file incbins 2018-09-06 03:45:50 -05:00
einstein95
aeceecea3d Port over 9d96147bbf 2018-07-29 20:11:04 +12:00
xenonnsmb
e649e3d248 adding tools from pokeruby 2017-12-03 19:55:01 -06:00