mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-04 08:48:45 -04:00
Clean up conditional compilation a bit (#2943)
This commit is contained in:
@@ -369,10 +369,8 @@ public:
|
||||
|
||||
#if DEBUG
|
||||
/* 0x00 */ const TFunctionValue_list_parameter* pOwn_;
|
||||
/* 0x04 */ const f32* pf_;
|
||||
#else
|
||||
/* 0x00 */ const f32* pf_;
|
||||
#endif
|
||||
/* 0x00 */ const f32* pf_;
|
||||
};
|
||||
typedef f64 (*update_INTERPOLATE)(const TFunctionValue_list_parameter&, f64);
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, TEXT); \
|
||||
OSPanic(__FILE__, LINE, "Halt");
|
||||
|
||||
#define JUT_PANIC_F(LINE, MSG, ...) \
|
||||
JUTAssertion::showAssert_f(JUTAssertion::getSDevice(), __FILE__, LINE, MSG, __VA_ARGS__); \
|
||||
OSPanic(__FILE__, LINE, MSG, __VA_ARGS__);
|
||||
|
||||
#define JUT_WARN_DEVICE(LINE, DEVICE, ...) \
|
||||
JUTAssertion::setWarningMessage_f(DEVICE, __FILE__, LINE, __VA_ARGS__); \
|
||||
|
||||
@@ -42,8 +46,9 @@
|
||||
#define JUT_ASSERT_MSG_F(...) (void)0;
|
||||
#define J3D_PANIC(...) (void)0;
|
||||
#define JUT_PANIC(...)
|
||||
#define JUT_WARN(...)
|
||||
#define JUT_PANIC_F(...)
|
||||
#define JUT_WARN_DEVICE(...)
|
||||
#define JUT_WARN(...)
|
||||
#define JUT_LOG(...)
|
||||
#define JUT_CONFIRM(...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user