gActorList should be understood to be populated by generic Actor structs. However, for human readability, many functions interacting with actor list elements expect one of the many specialized types found in this file.
Note that specialized types must be the same size as a plain Actor. Don't be mislead into thinking that because its a separate type that it can modified separately from plain Actor. If you modify/add an actor type and its size is different from plain Actor's, you WILL run into buggy (potentially crash inducing) behaviour.
Specialized structs are customizable so long as the following member specifications are met:
In general: 0x00 -> s16 type 0x02 -> s16 flags 0x30 -> Collision unk30
If player can collide with the actor: 0x0C -> f32 boundingBoxSize
If the actor makes sound (necessary for doppler/volume stuff): 0x18 -> Vec3f pos 0x24 -> Vec3f velocity
Other members are more flexible, and even the non-general specifications can be ignored IF AND ONLY IF you know exactly what you're doing.
Enumerator |
---|
ACTOR_UNKNOWN_0x01 | |
ACTOR_TREE_MARIO_RACEWAY | |
ACTOR_TREE_YOSHI_VALLEY | |
ACTOR_TREE_ROYAL_RACEWAY | |
ACTOR_FALLING_ROCK | |
ACTOR_BANANA | |
ACTOR_GREEN_SHELL | |
ACTOR_RED_SHELL | |
ACTOR_YOSHI_EGG | |
ACTOR_PIRANHA_PLANT | |
ACTOR_UNKNOWN_0x0B | |
ACTOR_ITEM_BOX | |
ACTOR_FAKE_ITEM_BOX | |
ACTOR_BANANA_BUNCH | |
ACTOR_TRAIN_ENGINE | |
ACTOR_TRAIN_TENDER | |
ACTOR_TRAIN_PASSENGER_CAR | |
ACTOR_COW | |
ACTOR_TREE_MOO_MOO_FARM | |
ACTOR_UNKNOWN_0x14 | |
ACTOR_TRIPLE_GREEN_SHELL | |
ACTOR_TRIPLE_RED_SHELL | |
ACTOR_MARIO_SIGN | |
ACTOR_UNKNOWN_0x18 | |
ACTOR_PALM_TREE | |
ACTOR_UNKNOWN_0x1A | |
ACTOR_UNKNOWN_0x1B | |
ACTOR_TREE_BOWSERS_CASTLE | |
ACTOR_TREE_FRAPPE_SNOWLAND | |
ACTOR_CACTUS1_KALAMARI_DESERT | |
ACTOR_CACTUS2_KALAMARI_DESERT | |
ACTOR_CACTUS3_KALAMARI_DESERT | |
ACTOR_BUSH_BOWSERS_CASTLE | |
ACTOR_UNKNOWN_0x21 | |
ACTOR_WARIO_SIGN | |
ACTOR_UNKNOWN_0x23 | |
ACTOR_BOX_TRUCK | |
ACTOR_PADDLE_BOAT | |
ACTOR_RAILROAD_CROSSING | |
ACTOR_SCHOOL_BUS | |
ACTOR_TANKER_TRUCK | |
ACTOR_BLUE_SPINY_SHELL | |
ACTOR_HOT_AIR_BALLOON_ITEM_BOX | |
ACTOR_CAR | |
ACTOR_KIWANO_FRUIT | |