global.h 952 B

12345678910111213141516171819202122232425
  1. #ifndef GLOBAL_H
  2. #define GLOBAL_H
  3. #define CHECKTIME 1
  4. #if CHECKTIME
  5. #include "timeHandler.h"
  6. #include <iostream>
  7. #define THC
  8. #else
  9. #define THC //
  10. #endif
  11. enum Ecolor {RED, BLUE, TAN, GREEN, ORANGE, PURPLE, TEAL, PINK};
  12. enum EterrainType {dirt, sand, grass, snow, swamp, rough, subterranean, lava, water, rock};
  13. enum Eriver {clearRiver=1, icyRiver, muddyRiver, lavaRiver};
  14. enum Eroad {dirtRoad=1, grazvelRoad, cobblestoneRoad};
  15. enum Eformat { WoG=0x33, AB=0x15, RoE=0x0e, SoD=0x1c};
  16. enum EvictoryConditions {artifact, gatherTroop, gatherResource, buildCity, buildGrail, beatHero,
  17. captureCity, beatMonster, takeDwellings, takeMines, transportItem, winStandard=255};
  18. enum ElossCon {lossCastle, lossHero, timeExpires, lossStandard=255};
  19. const int F_NUMBER = 9; //factions quantity
  20. const int PLAYER_LIMIT = 8; //player limit per map
  21. const int HEROES_PER_TYPE=8; //amount of heroes of each type
  22. #define DEFBYPASS
  23. #endif //GLOBAL_H