1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* blocked map scrolling where dialog window is opened

* it's possible in battles to check remeaining HP of neutral stacks
* function in CGameInterface called when spell is casted. Support for the Magic Arrow from engine side.
* heroes can regain mana
* support for mistycisim and intelligence skills
* fixed leak with creating frameratekeeper every turn
* minor improvements
This commit is contained in:
Michał W. Urbańczyk
2008-10-18 11:41:24 +00:00
parent 20a6e05718
commit 9d099e8c54
17 changed files with 257 additions and 108 deletions

View File

@ -26,6 +26,7 @@
#include <boost/thread.hpp>
#include "map.h"
#include "client/CSpellWindow.h"
#include "lib/CondSh.h"
#pragma warning (disable : 4355)
extern TTF_Font * TNRB16, *TNR, *GEOR13, *GEORXX; //fonts
@ -1201,7 +1202,7 @@ void CAdvMapInt::update()
}
++heroAnim;
if(animValHitCount % 4)
if((animValHitCount % 4) && !LOCPLINT->showingDialog->get())
{
if(scrollingLeft)
{