diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-03 08:45:55 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-03 08:45:55 -0500 |
commit | 523ef5835f16ece38600b91f84936b7b0d2845a1 (patch) | |
tree | c89d50276c494f5885b3d0e913f1dd4809958402 /include/common.h | |
parent | 7ab072caaaec09720ad79cfed5738e89bc60c44f (diff) |
bug fixess
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h index 9f19134..ea3b593 100644 --- a/include/common.h +++ b/include/common.h @@ -38,7 +38,7 @@ typedef unsigned int uint; template<typename N> N abso(N v){ - if(v < 0.0){ + if(v < 0){ return v * -1; }else return v; @@ -92,8 +92,6 @@ struct col{ typedef col Color; -#include <Texture.h> - /** * Define the game's name (displayed in the window title). */ @@ -104,17 +102,14 @@ typedef col Color; * The desired width of the game window. */ -//#define SCREEN_WIDTH 1280 extern unsigned int SCREEN_WIDTH; /** * The desired height of the game window. */ -//#define SCREEN_HEIGHT 720 extern unsigned int SCREEN_HEIGHT; -//#define FULLSCREEN extern bool FULLSCREEN; /** @@ -127,7 +122,6 @@ extern bool FULLSCREEN; * */ -//#define HLINE 3 extern unsigned int HLINE; extern float VOLUME_MASTER; |