mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
5bc388b9a9
* object_table * segmentsymbols * format * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * bss * add more descriptions to the object_table * DEFINE_OBJECT_SIZE_ZERO * Update include/tables/object_table.h Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * Rename `z_scene_dlftbls.c` to `object_table.c` * bss * bss * bss * bss --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
25 lines
611 B
C
25 lines
611 B
C
#ifndef Z64OBJECT_H
|
|
#define Z64OBJECT_H
|
|
|
|
#define OBJECT_SPACE_SIZE_DEFAULT 1413120
|
|
#define OBJECT_SPACE_SIZE_CLOCK_TOWN 1566720
|
|
#define OBJECT_SPACE_SIZE_MILK_BAR 1617920
|
|
#define OBJECT_SPACE_SIZE_TERMINA_FIELD 1505280
|
|
|
|
#define OBJECT_EXCHANGE_BANK_MAX 35
|
|
|
|
#define DEFINE_OBJECT(_name, enumValue) enumValue,
|
|
#define DEFINE_OBJECT_UNSET(enumValue) enumValue,
|
|
#define DEFINE_OBJECT_SIZE_ZERO(_name, enumValue) enumValue,
|
|
|
|
typedef enum ObjectId {
|
|
#include "tables/object_table.h"
|
|
/* 0x283 */ OBJECT_ID_MAX
|
|
} ObjectId;
|
|
|
|
#undef DEFINE_OBJECT
|
|
#undef DEFINE_OBJECT_UNSET
|
|
#undef DEFINE_OBJECT_SIZE_ZERO
|
|
|
|
#endif
|