00001 /* 00002 * const.h 00003 * 00004 * Created on: Nov 21, 2011 00005 * Author: sushil 00006 */ 00007 00008 #ifndef CONST_H_ 00009 #define CONST_H_ 00010 00011 #include<OgreVector3.h> 00012 00013 namespace FastEcslent { 00014 //control parameters 00015 const unsigned int angleVotingFrequency = 15; 00016 const unsigned int numAngleVotes = 360; 00017 00018 //constants 00019 const unsigned int kInvalidHandle = ~0u; 00020 const unsigned int kMaxAABBs = 1024; 00021 const float kInvalidFloat = (float)(~0u); 00022 00023 const Ogre::Vector3 InvalidLocation(0, -1, 0); 00024 00025 typedef unsigned int CEntHandle; 00026 const int kMaxDebugLines = 1024; 00027 00028 00029 //Entity properties 00030 00031 const int MaxEnts = 1024; 00032 const int MaxGroups = 1024; 00033 const int MaxAspects = 10; 00034 const int MaxCommands = 256; 00035 00036 const int NCircleSegments = 16; 00037 const int GuiSpeedScaler = 1.0; 00038 00039 const int healthLineLength = 100; 00040 00041 const float EPSILON = 0.0001; 00042 00043 const int MaxNeededTypes = 5; 00044 const int MaxEntitiesInQueue = 5; 00045 const int MaxEntityTypesPerBuilding = 5; 00046 00047 00048 //Game Specific properties 00049 const int PerPlayerMaxEnts = 200; 00050 const float MaxMineralFindingDistance = 500; 00051 00052 00053 00054 00055 00056 } 00057 00058 00059 #endif /* CONST_H_ */