simplify Particle struct

This commit is contained in:
Unnunu
2025-04-17 09:16:41 +03:00
parent 30cfc0e604
commit b5022dc9fa
9 changed files with 565 additions and 576 deletions
-11
View File
@@ -1732,16 +1732,6 @@ typedef struct SegmentPropertiesObject {
/* 0x003B */ s8 animationID;
} SegmentPropertiesObject;
typedef struct SegmentPropertiesParticle {
/* 0x002C */ s16 kind;
/* 0x002E */ s16 segmentID;
/* 0x0030 */ f32 unk30;
/* 0x0034 */ f32 unk34;
/* 0x0038 */ u8 unk38;
/* 0x0039 */ u8 movementType;
/* 0x003A */ s16 destroyTimer;
} SegmentPropertiesParticle;
typedef struct SegmentPropertiesCamera {
/* 0x002C */ f32 unk2C;
/* 0x0030 */ f32 distanceToCamera;
@@ -1761,7 +1751,6 @@ typedef struct ObjectSegment {
/* 0x0028 */ f32 unk28;
union {
SegmentPropertiesObject object;
SegmentPropertiesParticle particle;
SegmentPropertiesCamera camera;
};
/* 0x003C */ LevelObjectEntry* level_entry;