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

better support for two-hex stacks

This commit is contained in:
mateuszb
2008-04-19 17:10:57 +00:00
parent 06f278717c
commit f9a4c2a5fd
4 changed files with 60 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
#include "hch\CDefHandler.h"
#include "CCallback.h"
#include "CGameState.h"
#include "hch\CGeneralTextHandler.h"
#include <queue>
#include <sstream>
@@ -463,6 +464,11 @@ void CBattleInterface::stackAttacking(int ID, int dest)
{
}
void CBattleInterface::newRound(int number)
{
console->addText(CGI->generaltexth->allTexts[412]);
}
void CBattleInterface::hexLclicked(int whichOne)
{
if((whichOne%17)!=0 && (whichOne%17)!=16) //if player is trying to attack enemey unit or move creature stack