#ifndef BANJO_KAZOOIE_CORE1_CORE1_H #define BANJO_KAZOOIE_CORE1_CORE1_H #include #include "bool.h" #include "enums.h" #include "core1/eeprom.h" #include "core1/main.h" #include "core1/mem.h" #include "core1/pfsmanager.h" #include "core1/rarezip.h" #include "core1/sns.h" #include "core1/ucode.h" #include "core1/viewport.h" #include "core1/vimgr.h" void mlMtx_apply_vec3f(f32[3], f32[3]); void func_80252C08(f32 arg0[3], f32 arg1[3], f32 scale, f32 arg3[3]); /* src/core1/code_15770.c */ extern u8 D_8000E800; void func_80253190(Gfx **gfx); void func_80253208(Gfx **gfx, s32 x, s32 y, s32 w, s32 h, void *color_buffer); bool func_80253400(void); bool depthBuffer_isPointerSet(void); void depthBuffer_stub(void); void func_80253428(int arg0); void func_802534A8(int arg0); void zBuffer_set(Gfx **gfx); void *zBuffer_get(void); /* src/core1/code_15B30.c */ typedef struct { s32 unk0; s32 unk4; Gfx *unk8; Gfx *unkC; s32 unk10; s32 unk14; }Struct_Core1_15B30; #define DEFAULT_FRAMEBUFFER_WIDTH 292 #define DEFAULT_FRAMEBUFFER_HEIGHT 216 extern s32 gFramebufferWidth; extern s32 gFramebufferHeight; extern u16 gFramebuffers[2][DEFAULT_FRAMEBUFFER_WIDTH * DEFAULT_FRAMEBUFFER_HEIGHT]; void func_80253550(void); void func_8025357C(void); void func_802535A8(Gfx **arg0, Gfx **arg1, UNK_TYPE(s32) arg2, UNK_TYPE(s32) arg3); void func_80253640(Gfx ** gdl, void *arg1); void scissorBox_SetForGameMode(Gfx **gdl, s32 framebuffer_idx); void setupScissorBoxAndFramebuffer(Gfx **gfx, s32 framebuffer_address); void setupDefaultScissorBoxAndFramebuffer(Gfx **gfx, s32 framebuffer_idx); void func_80253DC0(Gfx **gfx); void finishFrame(Gfx **gdl); void func_80253E14(Gfx *arg0, Gfx *arg1, s32 arg2); void func_80253EA4(Gfx *arg0, Gfx *arg1); void func_80253EC4(Gfx *arg0, Gfx *arg1); void func_80253EE4(Gfx **arg0, Gfx **arg1, s32 arg2); void func_80253F74(Gfx **arg0, Gfx **arg1); void func_80253F94(Gfx **arg0, Gfx **arg1); void scissorBox_get(u32 *left, u32 *top, u32 *right, u32 *bottom); void func_80253FE8(void); void func_80254008(void); void func_80254028(void); void drawRectangle2D(Gfx **gfx, s32 x, s32 y, s32 w, s32 h, s32 r, s32 g, s32 b); void graphicsCache_release(void); void graphicsCache_init(void); void scissorBox_set(s32 left, s32 top, s32 right, s32 bottom); void scissorBox_setDefault(void); void func_80254374(s32 arg0); void toggleTextureFilterPoint(void); void getGraphicsStacks(Gfx **gfx, Mtx **mtx, Vtx **vtx); void dummy_func_80254464(void); #endif