unhardcode some things

This commit is contained in:
Rainchus 2025-05-13 20:17:15 -05:00
parent 5167059ee8
commit 6449af2939
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
};