diff options
author | majortom6 <tombarrett@siu.edu> | 2017-02-19 08:06:37 -0600 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-07 13:23:41 -0600 |
commit | 2cc21176467d4501adb7bfb9ee03eb9a2a7d14f2 (patch) | |
tree | e12ceac7024bdc697f1ed4adc1a1ece4a82489fc /inc/constants.hpp | |
parent | 74c6854fd8dcbaee736ac0421805ff1e03c4a1e2 (diff) |
-removed all references to sdl_rect and location and now everything now uses our own class rectangle
-standardization of tab spaces to 8 is now in effect
-refractoring of graphicsobjects.hpp
Diffstat (limited to 'inc/constants.hpp')
-rw-r--r-- | inc/constants.hpp | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/inc/constants.hpp b/inc/constants.hpp index 646d987..7d53134 100644 --- a/inc/constants.hpp +++ b/inc/constants.hpp @@ -1,14 +1,14 @@ #ifndef constants_h #define constants_h -const int CREATURES = 10; -const int RESOURCES = 100; -const int MINIMUM_RESOURCES = 800; -const int WINDOW_X = 1000; -const int WINDOW_Y = 1000; +const int CREATURES = 10; +const int RESOURCES = 100; +const int MINIMUM_RESOURCES = 800; +const int WINDOW_X = 1000; +const int WINDOW_Y = 1000; -const int CREATURE_TYPE = 1; -const int RESOURCE_TYPE = 2; +const int CREATURE_TYPE = 1; +const int RESOURCE_TYPE = 2; const int CREATURE_MAX_HEALTH = 1000; const int CREATURE_REACH = 1; @@ -20,10 +20,13 @@ const int CREATURE_EXP_AGE = 1000000; const int CREATURE_SIZE_MAX = 10; const float CREATURE_SPEED = .1; -const int RESOURCE_SIZE_START = 1; -const int RESOURCE_SIZE_MAX = 4; -const int RESOURCE_AMOUNT_START = 100; -const int RESOURCE_AMOUNT_MAX = 200; -const int RESOURCE_GROW = 1; +const int RESOURCE_SIZE_STAR = 1; +const int RESOURCE_SIZE_MAX = 4; +const int RESOURCE_AMOUNT_START = 100; +const int RESOURCE_AMOUNT_MAX = 200; +const int RESOURCE_GROW = 1; + +const int NUM_SHADERS = 3; +const int NUM_UNIFORMS = 3; #endif |