diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-04-04 07:32:55 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-04-04 07:32:55 -0400 |
commit | c74d256646cf0c438feee2ac703cc1f34b47b8ec (patch) | |
tree | af9ec2469bce263c53ce6adc8d9385750eab3ead /include/common.hpp | |
parent | 260c617673ab332bf2a3531db45bd264668d1b98 (diff) | |
parent | a45daeda3633bdf25267a0186b39618269dca970 (diff) |
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'include/common.hpp')
-rw-r--r-- | include/common.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/common.hpp b/include/common.hpp index 5159c88..2abd9db 100644 --- a/include/common.hpp +++ b/include/common.hpp @@ -35,6 +35,8 @@ typedef unsigned int uint; #undef near #endif +//#define SEGFAULT + /** * This flag lets the compiler know that we want to use shaders. */ @@ -157,6 +159,8 @@ extern float VOLUME_SFX; #define initRand(s) srand(s) + + /** * A 'wrapper' for libc's rand(), as we hope to eventually have our own random number * generator. @@ -176,8 +180,7 @@ extern float VOLUME_SFX; */ #define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__ ) -#define C(x) std::cout << x << std::endl; - +void C(std::string m); /** * Defines pi for calculations that need it. */ |