Commit Graph

154 Commits

Author SHA1 Message Date
luckytyphlosion a55c75d350
Get rid of common syms (#2040) 2024-10-14 23:52:11 -04:00
GriffinR b6892f5b67 Let scaninc ignore empty C files 2024-10-11 15:03:38 -04:00
mid-kid 2c7964dbc2
Fix deleting files with dependency files (#2045) 2024-10-11 14:33:32 -04:00
Martin Griffin fcc067e515
[preproc] support C23 enum underlying type syntax (#2043) 2024-10-11 13:50:26 -04:00
GriffinR 8f41d9eb17
Merge branch 'master' into fix-toolchain 2024-09-19 12:20:51 -04:00
Kurausukun 52c2728ff6 remove gflib 2024-09-18 10:37:34 -04:00
GriffinR 302193a814 Have scaninc ignore non-existing files 2024-09-14 00:28:57 -04:00
GriffinR b8c71fa84d Fix .d files not updating if .o fails, fix clean rule, remove some unnecessary warnings 2024-09-13 23:38:50 -04:00
GriffinR d9b824db3f Sync missing alignment from pokefirered 2024-09-12 12:27:31 -04:00
GriffinR 2d5231149e Merge branch 'master' of https://github.com/pret/pokeemerald into build-scaninc-speed 2024-08-31 00:39:48 -04:00
Icedude907 625a006cab
[Build System Rewrite] `mapjson` now takes output directory parameters. (#1949) 2024-08-29 14:01:01 -04:00
Martin Griffin 5c55cc3748 [preproc] support arbitrary expressions in enums 2024-08-21 07:50:41 +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
Alex Nash c0d630ee63 Add support for LF line endings to gbagfx 2024-06-20 21:44:32 +02:00
GriffinR 232eab4bee
Merge pull request #1975 from Sierraffinity/jsonproc-fix
jsonproc: filter out every non-alphanumeric character
2024-01-28 13:54:11 -05:00
Sierraffinity b98e044ce9 jsonproc: filter out every non-alphanumeric character 2024-01-27 19:29:29 -08:00
Sierraffinity e85750bb55 gbagfx bit depth upconversion fix 2024-01-27 14:29:31 -08:00
Icedude907 4b2054c3ea Parallel SCANINC via `.d` generation.
Secondary expansion is redundant.
2023-11-12 16:38:32 +13:00
Icedude907 7fa9819d9a Makefile uses make_tools, mapjson takes out dir.
Removed generated files (layouts.h, map_groups.h) from git.
2023-11-12 00:53:34 +13:00
kittenchilly 333523e5f7 Remove all leading whitespace 2023-10-23 13:24:38 -05:00
grunt-lucas 9d170c7e35 gbagfx to respect user CC setting 2023-08-22 07:37:48 -07:00
GriffinR 6fdf75bd8c Support plain pixel conversion, convert spinda spots to .png 2023-05-11 13:41:38 -04:00
GriffinR 8e5347b450 Fix mapjson misreporting errors when processing map_groups.json 2023-04-30 23:29:31 -04:00
GriffinR be84793713 Let scaninc/preproc ignore empty asm files 2023-02-27 12:47:35 -05:00
GriffinR c29cf5a5e5 Remove unnecessary version check 2023-02-08 13:34:38 -05:00
GriffinR de56e400ff Sync clone object macro 2023-02-08 13:11:10 -05:00
GriffinR 118a9701c9 Add event type errors 2023-02-08 12:52:28 -05:00
GriffinR db5edc49d7 Sync mapjson 2023-02-08 12:52:06 -05:00
GriffinR 713e1825bd Report JSON field names in errors 2023-01-17 16:25:33 -05:00
GriffinR 1e3b0e8d76 Treat all mapjson fields as strings 2023-01-17 16:00:09 -05:00
GriffinR b836d9ebfb Stop some redundant JSON reads 2023-01-17 15:40:39 -05:00
GriffinR 15431bd397 Add initial mapsjon type conversions 2023-01-17 15:25:39 -05:00
GriffinR 3ee3d6e346 Support reducing png bit depth 2023-01-11 10:11:11 -05:00
tustin2121 116364334d Fix build of jsonproc
- Changing uint to unsigned int, as uint is not standard.
2022-11-02 19:51:43 -05:00
Marcus Huderle ae6ec3b1b8 Change cleanString() to convert invalid chars to underscores 2022-10-22 15:09:37 -05:00
GriffinR a418f8d976
Merge pull request #1755 from GriffinRichards/map-dynamic
Rename special map constants, treat warp ids as strings
2022-10-18 22:45:56 -04:00
GriffinR e473aaf783 Merge branch 'master' of https://github.com/pret/pokeemerald into entry_json 2022-09-25 18:10:04 -04:00
GriffinR 36551dff2f Treat warp ids as strings to allow constants 2022-09-03 15:43:43 -04:00
Martin Griffin 5e593a62fb
Ignore num_tiles if it would truncate non-transparent tiles (#1729) 2022-08-18 23:07:25 -04:00
Kurausukun 2e7f50064c use floats for tempo calculation 2022-06-28 00:11:59 -04:00
garakmon 3fe423a6f4 use json for region map sections
- update nlohmann/json and pantor/inja in tools/
  - create new inja template
2022-04-04 23:32:03 -04:00
Andrea Jemmett f8b3a1c658 Fix finding libpng in gbagfx and rsfont
On macOS 12, Homebrew installs libpng in a custom location.
2022-03-16 14:41:12 +01:00
GriffinR 2495d18132 Add missing :req, remove old macros 2022-01-23 18:52:04 -05:00
Kurausukun 39f493287f one more lel 2021-12-17 23:03:09 -05:00
Kurausukun f336acb3a9 fix indentation again 2021-12-17 23:00:03 -05:00
Kurausukun efee1288a0 fix indentation 2021-12-17 22:56:20 -05:00
Kurausukun 0f6311b470 accept 16-bit aiff files and convert to 8-bit 2021-12-17 22:49:45 -05:00
GriffinR 929aade0fd Fix braille slash 2021-11-02 18:34:05 -04:00
GriffinR 13cd2a41f0 Better braille support 2021-10-30 16:19:10 -04:00
LOuroboros 554210c5e3 Removed trailing spaces in the most relevant files
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include  *.s --include  *.inc --include  *.txt *  | xargs sed -i 's/\s\+$//g'

Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00