mirror of
https://github.com/zeldaret/af.git
synced 2026-10-02 15:50:23 -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
23 lines
599 B
C
23 lines
599 B
C
#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
|