1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

A variety of suggested style tweaks

This commit is contained in:
Tomasz Zieliński
2022-09-25 09:33:56 +02:00
parent fd63cb6109
commit 4ea57ea7fc
66 changed files with 155 additions and 156 deletions

View File

@@ -29,7 +29,7 @@ public:
ui32 ID; //unique ID of stack
const CCreature * type;
TTerrain nativeTerrain; //tmp variable to save native terrain value on battle init
TTerrainId nativeTerrain; //tmp variable to save native terrain value on battle init
ui32 baseAmount;
PlayerColor owner; //owner - player color (255 for neutrals)
@@ -51,7 +51,7 @@ public:
bool canBeHealed() const; //for first aid tent - only harmed stacks that are not war machines
bool isOnNativeTerrain() const;
bool isOnTerrain(TTerrain terrain) const;
bool isOnTerrain(TTerrainId terrain) const;
ui32 level() const;
si32 magicResistance() const override; //include aura of resistance