blob: 4e0b120e6c047c9f6d893951fba3fa89e070a3f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "m_object.h"
#include "segment_symbols.h"
// Segment declarations (also used in the table below)
#define DEFINE_OBJECT(name, _enumValue) DECLARE_ROM_SEGMENT(name);
#define DEFINE_OBJECT_UNSET(_enumValue)
#include "tables/object_table.h"
#undef DEFINE_OBJECT
#undef DEFINE_OBJECT_UNSET
// Object Table definition
#define DEFINE_OBJECT(name, _enumValue) { SEGMENT_ROM_START(name), SEGMENT_ROM_END(name) },
#define DEFINE_OBJECT_UNSET(_enumValue) { 0, 0 },
ObjectOverlay gObjectTable[OBJECT_ID_MAX] = {
#include "tables/object_table.h"
};
#undef DEFINE_OBJECT
#undef DEFINE_OBJECT_UNSET
|