Unhardcode some things (#589)

* fix malloc sizes of HuMemDirectMalloc calls

* unhardcode some things
This commit is contained in:
Rainchus 2025-05-13 20:19:59 -05:00 committed by GitHub
parent 086800b79a
commit ce57301435
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 47 deletions

View file

@ -3,8 +3,6 @@
#include "game/object.h"
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
typedef void (*VoidFuncs)(void);
typedef void (*ObjFuncs)(omObjData *);

View file

@ -8,8 +8,6 @@
#include "game/window.h"
#include "game/object.h"
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
enum {
MAPOBJ_MAX = 12
};