48 #ifndef AE_FINAL //User should define AE_FINAL to remove asserts
52 #define AE_ASSERT(x) \
56 PRINT("AE_ASSERT: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
57 #x, __LINE__, __FUNCTION__, __FILE__); \
64 #define AE_ASSERT_MESG(x, ...) \
68 PRINT("AE_ASSERT_MESG: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
69 #x, __LINE__, __FUNCTION__, __FILE__); \
70 PRINT("Mesg: "__VA_ARGS__); \
78 #define AE_ASSERT_PARM(x) \
82 PRINT("AE_ASSERT_PARM: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
83 #x, __LINE__, __FUNCTION__, __FILE__); \
90 #define AE_ASSERT_ALLOC(x) \
94 PRINT("AE_ASSERT_ALLOC: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
95 #x, __LINE__, __FUNCTION__, __FILE__); \
103 #define AE_WARNING(x) \
107 PRINT("AE_WARNING: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
108 #x, __LINE__, __FUNCTION__, __FILE__); \
114 #define AE_WARNING_MESG(x, ...) \
118 PRINT("AE_WARNING_MESG: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
119 #x, __LINE__, __FUNCTION__, __FILE__); \
120 PRINT("Mesg: "__VA_ARGS__); \
127 #define AE_WARNING_PARM(x) \
131 PRINT("AE_WARNING_PARM: %s\nLine: %d\nFunc: %s\nFile: %s\n", \
132 #x, __LINE__, __FUNCTION__, __FILE__); \
143 #define AE_ASSERT_MESG(x, ...)
144 #define AE_ASSERT_PARM(x)
145 #define AE_ASSERT_ALLOC(x)
147 #define AE_WARNING(x)
148 #define AE_WARNING_MESG(x, ...)
149 #define AE_WARNING_PARM(x)
150 #define AE_WARNING_ALLOC(x)
158 #define AE_FATAL_ERROR(...) \
160 PRINT("AE_FATAL_ERROR: "__VA_ARGS__); \
178 #endif // AE_ENGINE_H
Header file for the system library.
Header file for the math library.
Header file for the graphics library.
Header file for the library settings.
Header file for the game state manager.
Header file for the frame rate controller.
Header file for the typedefs.
Header file for the utility library.