mirror of
https://github.com/zeldaret/af.git
synced 2026-09-26 13:33:16 -04:00
c7a746e71e
* find object_table and make tool to extract it * migrate object table * update the assets yaml a bit * comment * name gameplay_keep * change gameplay_keep to segment 4 * rename exclusive_ram_id to fit the segment used * review
27 lines
616 B
C
27 lines
616 B
C
#ifndef M_OBJECT_H
|
|
#define M_OBJECT_H
|
|
|
|
#include "ultra64.h"
|
|
#include "other_types.h"
|
|
|
|
|
|
#define DEFINE_OBJECT(_name, enumValue) enumValue,
|
|
#define DEFINE_OBJECT_UNSET(enumValue) enumValue,
|
|
|
|
typedef enum ObjectId {
|
|
#include "tables/object_table.h"
|
|
/* 0x19A */ OBJECT_ID_MAX // TODO: Figure out this value properly. This value was guessed, it may be smaller
|
|
} ObjectId;
|
|
|
|
#undef DEFINE_OBJECT
|
|
#undef DEFINE_OBJECT_UNSET
|
|
|
|
typedef struct ObjectOverlay {
|
|
/* 0x00 */ RomOffset vromStart;
|
|
/* 0x04 */ RomOffset vromEnd;
|
|
} ObjectOverlay; // size = 0x8
|
|
|
|
extern ObjectOverlay gObjectTable[OBJECT_ID_MAX];
|
|
|
|
#endif
|