mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-18 21:18:03 -04:00
Split game_166e40.c into gfxmemory.c and rename related symbols
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user