macro_special_objects.c improvements

This commit is contained in:
Arceveti
2021-09-30 15:07:18 -07:00
parent 362a46479e
commit 3a3637723d
6 changed files with 71 additions and 135 deletions

View File

@@ -8,7 +8,7 @@
struct MacroPreset
{
/*0x00*/ const BehaviorScript *behavior;
/*0x04*/ s16 model;
/*0x04*/ ModelID16 model;
/*0x06*/ s16 param;
};

View File

@@ -167,7 +167,7 @@
#define /*0x19C*/ oDrawingDistance OBJECT_FIELD_F32(0x45)
#define /*0x1A0*/ oRoom OBJECT_FIELD_S32(0x46)
// 0x1A4 is unused, possibly related to 0x1A8 in removed macro purposes.
#define /*0x1A8*/ oUnk1A8 OBJECT_FIELD_U32(0x48)
#define /*0x1A8*/ oUnusedCoinParams OBJECT_FIELD_U32(0x48)
// 0x1AC-0x1B2 (0x48-0x4A) are object specific and defined below the common fields.
#define /*0x1B4*/ oWallAngle OBJECT_FIELD_S32(0x4B)
#define /*0x1B8*/ oFloorType OBJECT_FIELD_S16(0x4C, 0)