mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-05 23:44:53 +00:00
Skip compiling C-included files during the build (#1386)
* Update the makefile to skip .inc.c files when building * Rename all C-included source files to .inc.c
This commit is contained in:
parent
2f4c25da53
commit
1cb00350d9
41 changed files with 22 additions and 21 deletions
23
src/code/z_cheap_proc.inc.c
Normal file
23
src/code/z_cheap_proc.inc.c
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include "global.h"
|
||||
|
||||
void Gfx_DrawDListOpa(PlayState* play, Gfx* dlist) {
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_cheap_proc.c", 214);
|
||||
|
||||
Gfx_SetupDL_25Opa(play->state.gfxCtx);
|
||||
gSPMatrix(POLY_OPA_DISP++, Matrix_NewMtx(play->state.gfxCtx, "../z_cheap_proc.c", 216),
|
||||
G_MTX_MODELVIEW | G_MTX_LOAD);
|
||||
gSPDisplayList(POLY_OPA_DISP++, dlist);
|
||||
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_cheap_proc.c", 219);
|
||||
}
|
||||
|
||||
void Gfx_DrawDListXlu(PlayState* play, Gfx* dlist) {
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_cheap_proc.c", 228);
|
||||
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(play->state.gfxCtx, "../z_cheap_proc.c", 230),
|
||||
G_MTX_MODELVIEW | G_MTX_LOAD);
|
||||
gSPDisplayList(POLY_XLU_DISP++, dlist);
|
||||
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_cheap_proc.c", 233);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue