mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 13:53:49 -07:00
Cuts down on excess rando lookups in z_en_item00
(#1805)
* Cuts down on excess GetCheckFromActor lookups in z_en_item00 * Fixes non-windows build errors.
This commit is contained in:
parent
57ba36b063
commit
4a029cc6cf
2 changed files with 21 additions and 23 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "z64animation.h"
|
||||
#include "z64math.h"
|
||||
#include "z64collision_check.h"
|
||||
#include "soh/Enhancements/item-tables/ItemTableTypes.h"
|
||||
|
||||
#define ACTOR_NUMBER_MAX 2000
|
||||
#define INVISIBLE_ACTOR_MAX 20
|
||||
|
@ -291,6 +292,7 @@ typedef struct EnItem00 {
|
|||
/* 0x15C */ f32 scale;
|
||||
/* 0x160 */ ColliderCylinder collider;
|
||||
s16 ogParams;
|
||||
GetItemEntry randoGiEntry;
|
||||
} EnItem00; // size = 0x1AC
|
||||
|
||||
// Only A_OBJ_SIGNPOST_OBLONG and A_OBJ_SIGNPOST_ARROW are used in room files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue