mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
- Renamed the `new` and `realloc` functions to `create` and `resize` - Added `delete_all` - Made Mod Data a class: - Allocation is now limited to prevent out-of-memory crashes: 1024 display lists of max size 2048 and 1024 vertex buffers of max size 4096 per mod - Added error codes to identify the cause of a failure (name not found, pointer not found, max size exceeded, item pool is full, ...)
8 lines
216 B
C
8 lines
216 B
C
const GeoLayout shape_geo[] = {
|
|
GEO_SCALE(0, 0x8000),
|
|
GEO_OPEN_NODE(),
|
|
GEO_ASM(0, geo_update_shape),
|
|
GEO_DISPLAY_LIST(LAYER_OPAQUE, shape_template_dl),
|
|
GEO_CLOSE_NODE(),
|
|
GEO_END(),
|
|
};
|