aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-02-28 21:02:08 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-02-28 21:02:08 -0500
commitc7f4dd960d2530b246dd0b5d04f77d5b11c65551 (patch)
tree6c820baf0b2a8c074276bceb5f7956cafa6fd48c /include/common.h
parentcd0236b94d5ecd2378518876820be201b9c635be (diff)
complete world rewrite -- edgy
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h5
1 files changed, 5 insertions, 0 deletions
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<typename N, size_t s>
size_t arrAmt(N (&)[s]){return s;}
+void UserError(std::string reason);
+
#endif // COMMON_H