From c7f4dd960d2530b246dd0b5d04f77d5b11c65551 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 28 Feb 2016 21:02:08 -0500 Subject: complete world rewrite -- edgy --- include/common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 6ba6f03..08f0392 100644 --- a/include/common.h +++ b/include/common.h @@ -148,6 +148,9 @@ extern float VOLUME_SFX; #define getRand() rand() +#define randGet rand +#define randInit srand + /** * Included in common.h is a prototype for DEBUG_prints, which writes a formatted * string to the console containing the callee's file and line number. This macro simplifies @@ -227,4 +230,6 @@ int strCreateFunc(const char *equ); template size_t arrAmt(N (&)[s]){return s;} +void UserError(std::string reason); + #endif // COMMON_H -- cgit v1.2.3