mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
* stack queue in battle (shows when 'c' key is pressed)
* minor fix of cursor image
This commit is contained in:
@ -1676,6 +1676,14 @@ void CPlayerInterface::handleKeyUp(SDL_Event *sEvent)
|
||||
adventureInt->endTurn.clickLeft(false);
|
||||
break;
|
||||
}
|
||||
case (SDLK_c):
|
||||
{
|
||||
if( dynamic_cast<CBattleInterface*> (curint) )
|
||||
{
|
||||
dynamic_cast<CBattleInterface*> (curint)->showStackQueue = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
void CPlayerInterface::handleKeyDown(SDL_Event *sEvent)
|
||||
@ -1723,6 +1731,14 @@ void CPlayerInterface::handleKeyDown(SDL_Event *sEvent)
|
||||
adventureInt->endTurn.clickLeft(true);
|
||||
break;
|
||||
}
|
||||
case (SDLK_c):
|
||||
{
|
||||
if( dynamic_cast<CBattleInterface*> (curint) )
|
||||
{
|
||||
dynamic_cast<CBattleInterface*> (curint)->showStackQueue = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
void CPlayerInterface::handleEvent(SDL_Event *sEvent)
|
||||
|
Reference in New Issue
Block a user