Commit Graph

12 Commits

Author SHA1 Message Date
Rangi
f9ba82248e
Specify a max item length for list_start (#1210) 2025-12-15 15:16:41 -05:00
Rangi
a55bc33d67
Use features of RGBDS 1.0.0 (#1204)
Some checks are pending
CI / build (push) Waiting to run
- Use single-quoted character literals or `CHARVAL` when you need
  a character's numeric value; using strings as numbers is deprecated
- Use `?` to silence a node in warning/error location backtraces
- Use `===` and `!==` instead of `STRCMP`, and `++` instead of `STRCAT`
- Use `__SCOPE__` instead of checking for `..` and `.` separately
- Use `#string` instead of `"{string}"`
- All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings
- `rgbgfx --colors dmg` is short for `rgbgfx --colors dmg=e4`
2025-11-12 15:43:54 -05:00
Rangi42
9e7a4f91dd Say how many bytes the assertion macros expected vs got
Some checks failed
CI / build (push) Has been cancelled
2025-08-13 12:47:30 -04:00
Rangi42
b39cdd6c97 Simplify li macro
Some checks failed
CI / build (push) Has been cancelled
2025-06-11 15:44:49 -04:00
Rangi
a15a2970a1
Use features new to RGBDS 0.9.2 (#1180)
Some checks failed
CI / build (push) Has been cancelled
2025-05-10 12:47:43 -04:00
Rangi
85ddf0e90a
Don't pass redundant label names to table_width and list_start (#1160) 2024-12-27 12:35:35 -05:00
vulcandth
3648afda16
RGBDS syntax updates (#905)
New MACRO and DEF syntax
2022-06-06 17:25:42 -04:00
Rangi
ab0f9c287a Use compound assignment operators 2021-11-23 20:18:08 -05:00
Rangi
316fa4b695 Use rgbds 0.5.0 2021-04-19 16:31:37 -04:00
Rangi
94057c7726 Verify uneven list sizes with list_start, li, and assert_list_length macros
This was discussed in #815
2021-03-22 17:17:08 -04:00
Rangi
ef20126fe5 Verify wild data sizes with def_grass/water_wildmons and end_grass/water_wildmons macros 2021-03-04 17:58:30 -05:00
Rangi
40902ffe24 Verify data table sizes with table_width and assert_table_length macros
This was discussed in #706

It also uncovered some off-by-one issues with defining some constants.

A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-03-04 00:15:03 -05:00