1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

* refactoring

This commit is contained in:
mateuszb
2013-02-12 22:24:48 +00:00
parent 7e46d462b6
commit 9c1a117c1c
23 changed files with 165 additions and 149 deletions

View File

@ -267,8 +267,8 @@ struct DLL_LINKAGE CPathsInfo
struct DLL_EXPORT DuelParameters
{
ETerrainType::ETerrainType terType;
BFieldType::BFieldType bfieldType;
ETerrainType terType;
BFieldType bfieldType;
struct DLL_EXPORT SideSettings
{
struct DLL_EXPORT StackSettings
@ -397,7 +397,7 @@ public:
void giveHeroArtifact(CGHeroInstance *h, int aid);
void apply(CPack *pack);
BFieldType::BFieldType battleGetBattlefieldType(int3 tile) const;
BFieldType battleGetBattlefieldType(int3 tile) const;
UpgradeInfo getUpgradeInfo(const CStackInstance &stack);
PlayerRelations::PlayerRelations getPlayerRelations(TPlayerColor color1, TPlayerColor color2);
bool checkForVisitableDir(const int3 & src, const int3 & dst) const; //check if src tile is visitable from dst tile