mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 03:39:59 +00:00
f3c930917b
* Implement a single Object Table for the enum and the segments * Implement a single Actor Table for the enum and the overlays * Implement a single Effect SS Table for the enum and the overlays * Remove initvars.h and move its content to relevant files * Update object 0 to use OBJECT_NONE and document it in the table * Rename OBJECT_NONE to OBJECT_INVALID to avoid confusion
19 lines
382 B
C
19 lines
382 B
C
#ifndef _Z64OBJECT_H_
|
|
#define _Z64OBJECT_H_
|
|
|
|
#define OBJECT_EXCHANGE_BANK_MAX 19
|
|
|
|
#define DEFINE_OBJECT(_0, enum) enum,
|
|
#define DEFINE_OBJECT_NULL(_0, enum) enum,
|
|
#define DEFINE_OBJECT_UNSET(enum) enum,
|
|
|
|
typedef enum {
|
|
#include "tables/object_table.h"
|
|
/* 0x0192 */ OBJECT_ID_MAX
|
|
} ObjectID;
|
|
|
|
#undef DEFINE_OBJECT
|
|
#undef DEFINE_OBJECT_NULL
|
|
#undef DEFINE_OBJECT_UNSET
|
|
|
|
#endif
|