#ifndef constants_h #define constants_h // General const int HERBAVORES = 100; const int CARNIVORES = 50;; const int PLANTS = 5000; const int MINIMUM_PLANTS = 4000; const int WINDOW_X = 1000; const int WINDOW_Y = 1000; // Types const int PLANT_TYPE = 1; const int HERBAVORE_TYPE = 2; const int CARNIVORE_TYPE = 3; // Creatures const int CREATURE_MAX_HEALTH = 1000; const int CREATURE_BEST_SENSE = 1.5; const int CREATURE_BITE = 10; const int CREATURE_EXP_PREG_TIME = 100; const int CREATURE_EXP_AGE = 10000; const float CREATURE_SPEED = .1; const float CREATURE_REACH = .1; const float CREATURE_MUTATION_PERCENT = .25; const float CREATURE_MUTATION_CHANCE = .05; // Resource const int RESOURCE_MAX_HEALTH = 200; const int RESOURCE_GROW_AMOUNT = 1; // Opengl const int NUM_SHADERS = 3; const int NUM_UNIFORMS = 3; const float CREATURE_SIDES = 4; const float RESOURCE_SIDES = 10; // Quadtree const int MAX_OBJECTS = 5; const int MAX_LEVELS = 20; // Camera const float MOVE_AMOUNT = .2; #endif