mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
db65d9ee15
* CLodHandler init cleared up (a bit) * giveDef optimized * horizontal slider * printAtMiddle updates corrrect rect * adjusted shadows * parts of advanced options menu * minor fixes/improvements
24 lines
890 B
C++
24 lines
890 B
C++
#ifndef GLOBAL_H
|
|
#define GLOBAL_H
|
|
#define CHECKTIME 1
|
|
#if CHECKTIME
|
|
#include "timeHandler.h"
|
|
#include <iostream>
|
|
#define THC
|
|
#else
|
|
#define THC //
|
|
#endif
|
|
enum Ecolor {RED, BLUE, TAN, GREEN, ORANGE, PURPLE, TEAL, PINK};
|
|
enum EterrainType {dirt, sand, grass, snow, swamp, rough, subterranean, lava, water, rock};
|
|
enum Eriver {clearRiver=1, icyRiver, muddyRiver, lavaRiver};
|
|
enum Eroad {dirtRoad=1, grazvelRoad, cobblestoneRoad};
|
|
enum Eformat { WoG=0x33, AB=0x15, RoE=0x0e, SoD=0x1c};
|
|
enum EvictoryConditions {artifact, gatherTroop, gatherResource, buildCity, buildGrail, beatHero,
|
|
captureCity, beatMonster, takeDwellings, takeMines, transportItem, winStandard=255};
|
|
enum ElossCon {lossCastle, lossHero, timeExpires, lossStandard=255};
|
|
|
|
const int F_NUMBER = 9; //factions quantity
|
|
const int PLAYER_LIMIT = 8; //player limit per map
|
|
|
|
#define DEFBYPASS
|
|
#endif //GLOBAL_H
|