Fix rooms and doors (#601)
* Fix rooms and doors * Update object_helpers.c * Update object_list_processor.h * Update object_list_processor.c * Fix formatting * Revert a formatting * Clean up geo_switch_area * Clean up geo_switch_area (more) * Move TransitionRoomData struct * Revert star door collision check optimization * Move load_object_collision_model and bhv_door_rendering_loop back out of star_door.inc.c * Combine metal door model IDs * Revert metal door sound fixes
This commit is contained in:
1 parent
f7bdca7533
commit
171f377412
9 files changed
+97
-84
No files matched your search
@@ -147,7 +147,7 @@ struct MemoryPool *gObjectMemoryPool;
|
||||
s16 gCollisionFlags = COLLISION_FLAGS_NONE;
|
||||
TerrainData *gEnvironmentRegions;
|
||||
s32 gEnvironmentLevels[20];
|
||||
RoomData gDoorAdjacentRooms[60][2];
|
||||
struct TransitionRoomData gDoorAdjacentRooms[MAX_NUM_TRANSITION_ROOMS];
|
||||
s16 gMarioCurrentRoom;
|
||||
s16 gTHIWaterDrained;
|
||||
s16 gTTCSpeedSetting;
|
||||
@@ -522,10 +522,7 @@ void clear_objects(void) {
|
||||
gMarioObject = NULL;
|
||||
gMarioCurrentRoom = 0;
|
||||
|
||||
for (i = 0; i < 60; i++) {
|
||||
gDoorAdjacentRooms[i][0] = 0;
|
||||
gDoorAdjacentRooms[i][1] = 0;
|
||||
}
|
||||
bzero(gDoorAdjacentRooms, sizeof(gDoorAdjacentRooms));
|
||||
|
||||
debug_unknown_level_select_check();
|
||||
|
||||
|
||||
Reference in new issue
Block a user