summaryrefslogtreecommitdiff
path: root/inc/constants.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-19 10:41:00 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commitfcf6abaccec7c7ed2fd306a9cf1ec378f303297c (patch)
tree75d4df2b09346014e4784c2b597f0110a6b82e5b /inc/constants.hpp
parent5c46e0f0a924989201c6784b0f956bc442f14a7e (diff)
-refractoring of includes
Diffstat (limited to 'inc/constants.hpp')
-rw-r--r--inc/constants.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/inc/constants.hpp b/inc/constants.hpp
index 7d53134..8cf4edd 100644
--- a/inc/constants.hpp
+++ b/inc/constants.hpp
@@ -1,15 +1,18 @@
#ifndef constants_h
#define constants_h
+// General
const int CREATURES = 10;
const int RESOURCES = 100;
-const int MINIMUM_RESOURCES = 800;
+const int MINIMUM_RESOURCES = 80;
const int WINDOW_X = 1000;
const int WINDOW_Y = 1000;
+// Types
const int CREATURE_TYPE = 1;
const int RESOURCE_TYPE = 2;
+// Creatures
const int CREATURE_MAX_HEALTH = 1000;
const int CREATURE_REACH = 1;
const int CREATURE_BEST_SENSE = 10;
@@ -20,13 +23,22 @@ const int CREATURE_EXP_AGE = 1000000;
const int CREATURE_SIZE_MAX = 10;
const float CREATURE_SPEED = .1;
+// Resource
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;
+// Opengl
const int NUM_SHADERS = 3;
const int NUM_UNIFORMS = 3;
+// Quadtree
+const int MAX_OBJECTS = 5;
+const int MAX_LEVELS = 6;
+
+// Camera
+const float MOVE_AMOUNT = .2;
+
#endif