mirror of
https://github.com/zeldaret/mm.git
synced 2024-10-07 10:13:32 +00:00
f26e77ba40
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8
.
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
23 lines
487 B
C
23 lines
487 B
C
#ifndef Z64OBJECT_H
|
|
#define Z64OBJECT_H
|
|
|
|
#include "stdint.h"
|
|
|
|
#define DEFINE_OBJECT(_name, enumValue) enumValue,
|
|
#define DEFINE_OBJECT_UNSET(enumValue) enumValue,
|
|
#define DEFINE_OBJECT_EMPTY(_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_EMPTY
|
|
|
|
extern ObjectId gObjectTableSize;
|
|
extern RomFile gObjectTable[OBJECT_ID_MAX];
|
|
|
|
#endif
|