From 752a83866c7a3114948beb2e23b068e25c7301a7 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Thu, 16 Jun 2022 18:37:25 +0200 Subject: [PATCH] move forward declarations of draw handlers to draw handlers array --- src/code/z_room.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/code/z_room.c b/src/code/z_room.c index c5c6d7b712..c7f667e8ab 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -1,10 +1,6 @@ #include "global.h" #include "vt.h" -void Room_DrawAllMeshes(PlayState* play, Room* room, u32 flags); -void Room_DrawCullMeshes(PlayState* play, Room* room, u32 flags); -void Room_DrawPrerender(PlayState* play, Room* room, u32 flags); - Vec3f D_801270A0 = { 0.0f, 0.0f, 0.0f }; // unused @@ -22,6 +18,10 @@ Gfx D_801270B0[] = { gsSPEndDisplayList(), }; +void Room_DrawAllMeshes(PlayState* play, Room* room, u32 flags); +void Room_DrawPrerender(PlayState* play, Room* room, u32 flags); +void Room_DrawCullMeshes(PlayState* play, Room* room, u32 flags); + void (*sRoomDrawHandlers[MESH_HEADER_TYPE_MAX])(PlayState* play, Room* room, u32 flags) = { Room_DrawAllMeshes, // MESH_HEADER_TYPE_ALL Room_DrawPrerender, // MESH_HEADER_TYPE_PRERENDER