mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 10:54:44 +00:00
Decouple Debug Features From gc-eu-mq-dbg (#2296)
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
This commit is contained in:
parent
cf4dc98cc9
commit
17edb82c0d
168 changed files with 652 additions and 606 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "global.h"
|
||||
#if OOT_DEBUG
|
||||
#if DEBUG_FEATURES
|
||||
#include "fault.h"
|
||||
#endif
|
||||
|
||||
|
@ -609,7 +609,7 @@ Mtx* Matrix_MtxFToMtx(MtxF* src, Mtx* dest) {
|
|||
return dest;
|
||||
}
|
||||
|
||||
#if OOT_DEBUG
|
||||
#if DEBUG_FEATURES
|
||||
|
||||
Mtx* Matrix_ToMtx(Mtx* dest, const char* file, int line) {
|
||||
return Matrix_MtxFToMtx(MATRIX_CHECK_FLOATS(sCurrentMatrix, file, line), dest);
|
||||
|
@ -629,7 +629,7 @@ Mtx* Matrix_Finalize(GraphicsContext* gfxCtx) {
|
|||
return Matrix_ToMtx(GRAPH_ALLOC(gfxCtx, sizeof(Mtx)));
|
||||
}
|
||||
|
||||
#endif /* OOT_DEBUG */
|
||||
#endif /* DEBUG_FEATURES */
|
||||
|
||||
Mtx* Matrix_MtxFToNewMtx(MtxF* src, GraphicsContext* gfxCtx) {
|
||||
return Matrix_MtxFToMtx(src, GRAPH_ALLOC(gfxCtx, sizeof(Mtx)));
|
||||
|
@ -975,7 +975,7 @@ void Matrix_RotateAxis(f32 angle, Vec3f* axis, u8 mode) {
|
|||
}
|
||||
}
|
||||
|
||||
#if OOT_DEBUG
|
||||
#if DEBUG_FEATURES
|
||||
MtxF* Matrix_CheckFloats(MtxF* mf, const char* file, int line) {
|
||||
s32 i, j;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue