summaryrefslogtreecommitdiff
path: root/include/gfxalloc.h
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-09-27 20:51:00 +0200
committerGitHub <noreply@github.com>2024-09-27 14:51:00 -0400
commitfbf797f1e26a163c75ff0785b5cf74598b43d516 (patch)
tree62ebfb9501115edcb46a2c999af778c72f8828ce /include/gfxalloc.h
parentd80e5383709ce77ac94eb7dbb40f906ad44af8a2 (diff)
[headers] Create `gfxalloc.h`, `map.h`, move protos to `gfx.h`, `z64{player,view}.h` (#2233)
* [headers] Create gfxalloc.h, map.h, move protos to z64{actor,player,view}.h * oops * bss * comment on player_lib protos & format * format map.h * Move SCREEN_{WIDTH,HEIGHT} and SET_FULLSCREEN_VIEWPORT to z64view.h * bss * revert move screen_width/height * bss
Diffstat (limited to 'include/gfxalloc.h')
-rw-r--r--include/gfxalloc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/gfxalloc.h b/include/gfxalloc.h
new file mode 100644
index 000000000..158a2a9f5
--- /dev/null
+++ b/include/gfxalloc.h
@@ -0,0 +1,10 @@
+#ifndef GFXALLOC_H
+#define GFXALLOC_H
+
+#include "ultra64.h"
+
+Gfx* Gfx_Open(Gfx* gfx);
+Gfx* Gfx_Close(Gfx* gfx, Gfx* dst);
+void* Gfx_Alloc(Gfx** gfxP, u32 size);
+
+#endif