mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-15 04:36:59 +00:00
1549f34e8e
* [iQue] Update permuter/decompme import * Fix GCC build
36 lines
983 B
TOML
36 lines
983 B
TOML
build_system = "make"
|
|
compiler_type = "ido" # adjusts default weights for permuting
|
|
|
|
[preserve_macros]
|
|
"g[DS]P.*" = "void"
|
|
"gDma.*" = "void"
|
|
"a[A-Z].*" = "void"
|
|
"G_IM_SIZ_.*" = "int"
|
|
"G_[AC]C.*" = "int"
|
|
LOG = "void"
|
|
SET_FULLSCREEN_VIEWPORT = "void"
|
|
OPEN_DISPS = "void"
|
|
CLOSE_DISPS = "void"
|
|
GRAPH_ALLOC = "void*"
|
|
LOG_UTILS_CHECK_NULL_POINTER = "void"
|
|
WORK_DISP = "void*"
|
|
POLY_OPA_DISP = "void*"
|
|
POLY_XLU_DISP = "void*"
|
|
OVERLAY_DISP = "void*"
|
|
"G_MTX_.*" = "int"
|
|
ABS = "int"
|
|
SQ = "int"
|
|
CLAMP = "int"
|
|
|
|
# If changing to not preserve these, add a check for the permuter to IDO_PRINTF_WORKAROUND,
|
|
# so that modern CPP (used by the permuter import) does not error on the IDO-specific hack.
|
|
# For example:
|
|
# #define IDO_PRINTF_WORKAROUND (__sgi && !__GNUC__ && !PERMUTER && !M2CTX)
|
|
PRINTF = "void"
|
|
SCHED_DEBUG_PRINTF = "void"
|
|
ACTOR_DEBUG_PRINTF = "void"
|
|
|
|
[decompme.compilers]
|
|
"tools/ido_recomp/*/7.1/cc" = "ido7.1"
|
|
"tools/ido_recomp/*/5.3/cc" = "ido5.3"
|
|
"tools/egcs/*/gcc" = "egcs_1.1.2-4c"
|