1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* no more divison by 0 in slider

* little more code for upgrades 
* version set to 0.6
* "plural" reference names for Conflux creatures (starting armies of Conflux heroes should now be working)
* minor changes
This commit is contained in:
Michał W. Urbańczyk
2008-05-31 20:37:54 +00:00
parent 88a29416da
commit 7d7abbb68d
14 changed files with 205 additions and 35 deletions

View File

@@ -559,7 +559,7 @@ void CBattleInterface::stackAttacking(int ID, int dest)
switch(CBattleHex::mutualPosition(aStack.position, dest)) //attack direction
{
case 0:
/*reverseCreature(ID, aStack.position, true);
//reverseCreature(ID, aStack.position, true);
creAnims[ID]->setType(10);
for(int i=0; i<creAnims[ID]->framesInGroup(10); ++i)
{
@@ -567,7 +567,7 @@ void CBattleInterface::stackAttacking(int ID, int dest)
CSDL_Ext::update();
SDL_framerateDelay(LOCPLINT->mainFPSmng);
}
reverseCreature(ID, aStack.position, true);*/
//reverseCreature(ID, aStack.position, true);
break;
case 1:
creAnims[ID]->setType(10);
@@ -597,7 +597,7 @@ void CBattleInterface::stackAttacking(int ID, int dest)
}
break;
case 4:
/*reverseCreature(ID, aStack.position, true);
//reverseCreature(ID, aStack.position, true);
creAnims[ID]->setType(12);
for(int i=0; i<creAnims[ID]->framesInGroup(12); ++i)
{
@@ -605,10 +605,10 @@ void CBattleInterface::stackAttacking(int ID, int dest)
CSDL_Ext::update();
SDL_framerateDelay(LOCPLINT->mainFPSmng);
}
reverseCreature(ID, aStack.position, true);*/
//reverseCreature(ID, aStack.position, true);
break;
case 5:
/*reverseCreature(ID, aStack.position, true);
reverseCreature(ID, aStack.position, true);
creAnims[ID]->setType(11);
for(int i=0; i<creAnims[ID]->framesInGroup(11); ++i)
{
@@ -616,7 +616,7 @@ void CBattleInterface::stackAttacking(int ID, int dest)
CSDL_Ext::update();
SDL_framerateDelay(LOCPLINT->mainFPSmng);
}
reverseCreature(ID, aStack.position, true);*/
reverseCreature(ID, aStack.position, true);
break;
}
creAnims[ID]->setType(2);