diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
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 |