aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-12 20:01:45 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-12 20:01:45 -0400
commitd6412a6210d4fa25f8c97a98132d27db66ca4514 (patch)
tree610582245c9ed1608b06e42712f787f655636d9f /include
parentce7a96683ee94f8764e7811a5d6167b248accb7c (diff)
uh
Diffstat (limited to 'include')
-rw-r--r--include/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 559bfd2..e1b536f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -20,6 +20,9 @@ typedef struct{float x; float y;}vec2;
#define HLINE (2.0f / (SCREEN_WIDTH / 4))
+#define irand srand
+#define grand rand
+
//SDL VARIABLES
extern SDL_Window *window;
extern SDL_Surface *renderSurface;
@@ -28,6 +31,4 @@ extern SDL_GLContext mainGLContext;
//WINDOW VARIABLES
extern bool gameRunning;
-extern int grand(void);
-
#endif // COMMON_H