Tilemap stuff

This commit is contained in:
2026-06-19 13:17:20 -05:00
parent 57b2cdb9d1
commit 4e491d8332
52 changed files with 2372 additions and 362 deletions
+21
View File
@@ -227,6 +227,27 @@ errorret_t spriteBatchFlush(void);
---
## Unused parameters
Do **not** use `(void)param;` casts to suppress unused-parameter warnings. They are
redundant noise. If a callback signature is fixed by a function-pointer type and the
parameter is genuinely unused, just leave it — do not suppress:
```c
// correct — parameter unused, no cast
errorret_t sceneTestUpdate(scenedata_t *data) {
errorOk();
}
// wrong
errorret_t sceneTestUpdate(scenedata_t *data) {
(void)data;
errorOk();
}
```
---
## Global subsystem state
Each subsystem exposes a single global instance declared `extern` in the header and defined (once) in the `.c` file: