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

* Updated class - file - handling

* Renamed color constants
* Renamed class AdventureMapButton to CAdventureMapButton
* Moved basic controls like CTextBox from GuiClasses to CIntObjectClasses
* Moved new creature window from GuiClasses to CCreatureWindow
This commit is contained in:
beegee1
2011-12-22 13:05:19 +00:00
parent 2f5d6f2684
commit 156aa6e4d9
128 changed files with 6224 additions and 6958 deletions

View File

@@ -1150,7 +1150,7 @@ DLL_LINKAGE void StacksHealedOrResurrected::applyGs( CGameState *gs )
CStack * changedStack = gs->curB->getStack(healedStacks[g].stackID, false);
//checking if we resurrect a stack that is under a living stack
std::vector<SBattleHex> access = gs->curB->getAccessibility(changedStack, true);
std::vector<BattleHex> access = gs->curB->getAccessibility(changedStack, true);
bool acc[GameConstants::BFIELD_SIZE];
for(int h=0; h<GameConstants::BFIELD_SIZE; ++h)
acc[h] = false;
@@ -1260,7 +1260,7 @@ DLL_LINKAGE void BattleStacksRemoved::applyGs( CGameState *gs )
DLL_LINKAGE void BattleStackAdded::applyGs(CGameState *gs)
{
if (!SBattleHex(pos).isValid())
if (!BattleHex(pos).isValid())
{
tlog2 << "No place found for new stack!\n";
return;