Split game_166e40.c into gfxmemory.c and rename related symbols

This commit is contained in:
Ryan Dwyer
2020-12-24 12:09:08 +10:00
parent 1a35e2c3b9
commit 5b0b5e0ae7
16 changed files with 224 additions and 173 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ extern s32 var80082050;
extern void *filetable[];
extern u32 g_GfxSizesByPlayerCount[];
extern u32 g_VtxSizesByPlayerCount[];
extern u32 var80084008;
extern u32 g_GfxNumSwaps;
extern u32 var80084010;
extern bool var80084014;
extern f32 var80084018;
-8
View File
@@ -18,13 +18,5 @@ u32 fileGetUnk04(s32 filenum);
u32 func0f1672a8(void);
void func0f1672f0(u8 arg0);
void func0f167330(void);
void func0f167350(void);
Gfx *gfxGetMasterDisplayList(void);
struct gfxvtx *gfxAllocateVertices(s32 count);
void *gfxAllocateMatrix(void);
void *gfxAllocate4Words(s32 count);
u32 *gfxAllocateColours(s32 count);
void *gfxAllocate(u32 size);
void func0f167a18(void);
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef _IN_GAME_GFXMEMORY_H
#define _IN_GAME_GFXMEMORY_H
#include <ultra64.h>
#include "types.h"
void gfxInitMemory(void);
Gfx *gfxGetMasterDisplayList(void);
struct gfxvtx *gfxAllocateVertices(s32 count);
void *gfxAllocateMatrix(void);
void *gfxAllocate4Words(s32 count);
u32 *gfxAllocateColours(s32 count);
void *gfxAllocate(u32 size);
void gfxSwapBuffers(void);
#endif