mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-15 12:47:04 +00:00
move forward declarations of draw handlers to draw handlers array
This commit is contained in:
parent
6ee11e021b
commit
752a83866c
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,6 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "vt.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 };
|
Vec3f D_801270A0 = { 0.0f, 0.0f, 0.0f };
|
||||||
|
|
||||||
// unused
|
// unused
|
||||||
|
@ -22,6 +18,10 @@ Gfx D_801270B0[] = {
|
||||||
gsSPEndDisplayList(),
|
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) = {
|
void (*sRoomDrawHandlers[MESH_HEADER_TYPE_MAX])(PlayState* play, Room* room, u32 flags) = {
|
||||||
Room_DrawAllMeshes, // MESH_HEADER_TYPE_ALL
|
Room_DrawAllMeshes, // MESH_HEADER_TYPE_ALL
|
||||||
Room_DrawPrerender, // MESH_HEADER_TYPE_PRERENDER
|
Room_DrawPrerender, // MESH_HEADER_TYPE_PRERENDER
|
||||||
|
|
Loading…
Reference in a new issue