mm
mm copied to clipboard
Introduce a bunch of small new headers
- New headers:
gfxalloc.hgraph.hz64elf_message.h- I'm not totally convinced by this header. I'm open to better suggestions.
z64inventory.hz64olib.h
- Move
Gfx_DrawDListOpaandGfx_DrawDListXlutogfx.h - Move
Regs_InitDatatoregs.h
z_olib.c needs to include z64actor.h because of PosRot, which feels kinda dumb, we may want to move that struct somewhere else, since it isn't actor specific.
z_olib.c needs to include z64actor.h because of PosRot, which feels kinda dumb, we may want to move that struct somewhere else, since it isn't actor specific.
Perhaps just in z64math.h since it just combines two of the structs from there already?
As a small fyi I ended up removing graph.h since only actually two symbols were being used outside of graph.c
I moved those two declarations to gfx.h
As a small fyi I ended up removing
graph.hsince only actually two symbols were being used outside ofgraph.cI moved those two declarations togfx.h
Looking at this again, would we also want to just move the 3 gfxalloc functions there as well?