From d6412a6210d4fa25f8c97a98132d27db66ca4514 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan <tullivan99@gmail.com> Date: Sat, 12 Sep 2015 20:01:45 -0400 Subject: uh --- include/common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3