mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-06 12:40:56 -04:00
Improve mismatch of bgLoadRoom
This commit is contained in:
@@ -13,7 +13,7 @@ Gfx *func0f158400(Gfx *gdl, struct xraydata *xraydata, s16 vertices1[3], s16 ver
|
||||
void bgChooseXrayVtxColour(bool *inrange, s16 vertex[3], u32 *colour, struct xraydata *xraydata);
|
||||
Gfx *func0f158d9c(Gfx *gdl, struct xraydata *xraydata, s16 arg2[3], s16 arg3[3], s16 arg4[3], s32 arg5, s32 arg6, s32 arg7, s32 arg8, s32 arg9, s32 arg10);
|
||||
Gfx *bg0f1598b4(Gfx *gdl, Gfx *gdl2, struct gfxvtx *vertices, s16 arg3[3]);
|
||||
Gfx *bgRenderRoomXrayPass(Gfx *gdl, s32 roomnum, struct roomgfxdata18 *arg2, bool recurse, s16 arg4[3]);
|
||||
Gfx *bgRenderRoomXrayPass(Gfx *gdl, s32 roomnum, struct roomblock *blocks, bool recurse, s16 arg4[3]);
|
||||
Gfx *bgRenderRoomInXray(Gfx *gdl, s32 roomnum);
|
||||
Gfx *bgRenderSceneInXray(Gfx *gdl);
|
||||
Gfx *bgRenderScene(Gfx *gdl);
|
||||
@@ -51,15 +51,15 @@ bool roomIsOnPlayerScreen(s32 room, u32 playernum);
|
||||
bool roomIsOnPlayerStandby(s32 room, u32 aibotindex);
|
||||
s32 portalFindNumByVertices(struct portalvertices *pvertices);
|
||||
u32 bgInflate(u8 *src, u8 *dst, u32 len);
|
||||
Gfx *func0f15da00(struct roomgfxdata18 *arg0, Gfx *arg1, Gfx *arg2);
|
||||
Gfx *room0f15dab4(s32 roomnum, Gfx *gdl, u32 types);
|
||||
struct gfxvtx *room0f15dbb4(s32 roomnum, Gfx *gdl);
|
||||
Gfx *roomGetNextGdlInBlock(struct roomblock *block, Gfx *start, Gfx *end);
|
||||
Gfx *roomGetNextGdlInLayer(s32 roomnum, Gfx *start, u32 types);
|
||||
struct gfxvtx *roomFindVerticesForGdl(s32 roomnum, Gfx *gdl);
|
||||
void bgLoadRoom(s32 roomnum);
|
||||
void bgUnloadRoom(s32 room);
|
||||
void bgUnloadAllRooms(void);
|
||||
void bgGarbageCollectRooms(s32 bytesneeded, bool desparate);
|
||||
void bgTickRooms(void);
|
||||
Gfx *bgRenderRoomPass(Gfx *gdl, s32 roomnum, struct roomgfxdata18 *arg2, bool arg3);
|
||||
Gfx *bgRenderRoomPass(Gfx *gdl, s32 roomnum, struct roomblock *blocks, bool arg3);
|
||||
Gfx *bgRenderRoomOpaque(Gfx *gdl, s32 roomnum);
|
||||
Gfx *bgRenderRoomXlu(Gfx *gdl, s32 roomnum);
|
||||
s32 bgPopulateVtxBatchType(s32 roomnum, struct vtxbatch *batches, Gfx *gdl, s32 batchindex, struct gfxvtx *vertices, s32 arg5);
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
#include "types.h"
|
||||
|
||||
void gfxReplaceGbiCommands(Gfx *gdl, Gfx *endgdl, s32 type);
|
||||
void gfxReplaceGbiCommandsRecursively(struct roomgfxdata18 *arg0, s32 type);
|
||||
void gfxReplaceGbiCommandsRecursively(struct roomblock *arg0, s32 type);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,7 @@ Gfx *tex0f175308(Gfx *gdl, struct tex *tex, s32 arg2, s32 arg3, s32 arg4, struct
|
||||
Gfx *tex0f175490(Gfx *gdl, struct tex *tex, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, s32 arg7, bool arg8);
|
||||
Gfx *tex0f1755dc(Gfx *gdl, struct tex *tex, s32 arg2, s32 arg3, s32 arg4);
|
||||
Gfx *tex0f17563c(Gfx *gdl, struct tex *tex, s32 arg2, s32 arg3, s32 arg4);
|
||||
s32 tex0f1756c0(Gfx *arg0, s32 arg1, Gfx *arg2, struct texpool *pool, u8 *arg4);
|
||||
void tex0f175ef4(Gfx *arg0, Gfx *arg1, s32 arg2);
|
||||
s32 texLoadFromGdl(Gfx *arg0, s32 gdlsizeinbytes, Gfx *arg2, struct texpool *pool, u8 *arg4);
|
||||
void texCopyGdls(Gfx *src, Gfx *dst, s32 numbytes);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user