mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 15:55:59 +00:00
30 lines
746 B
C
30 lines
746 B
C
|
#include "global.h"
|
||
|
|
||
|
s16 gLinkObjectIds[] = { OBJECT_LINK_BOY, OBJECT_LINK_CHILD };
|
||
|
|
||
|
u32 gObjectTableSize = ARRAY_COUNT(gObjectTable);
|
||
|
|
||
|
// Object linker symbol declarations (used in the table below)
|
||
|
#define DEFINE_OBJECT(name, _1) DECLARE_ROM_SEGMENT(name)
|
||
|
#define DEFINE_OBJECT_NULL(_0, _1)
|
||
|
#define DEFINE_OBJECT_UNSET(_0)
|
||
|
|
||
|
#include "tables/object_table.h"
|
||
|
|
||
|
#undef DEFINE_OBJECT
|
||
|
#undef DEFINE_OBJECT_NULL
|
||
|
#undef DEFINE_OBJECT_UNSET
|
||
|
|
||
|
// Object Table definition
|
||
|
#define DEFINE_OBJECT(name, _1) ROM_FILE(name),
|
||
|
#define DEFINE_OBJECT_NULL(name, _1) ROM_FILE_EMPTY(name),
|
||
|
#define DEFINE_OBJECT_UNSET(_0) { 0 },
|
||
|
|
||
|
RomFile gObjectTable[] = {
|
||
|
#include "tables/object_table.h"
|
||
|
};
|
||
|
|
||
|
#undef DEFINE_OBJECT
|
||
|
#undef DEFINE_OBJECT_NULL
|
||
|
#undef DEFINE_OBJECT_UNSET
|