1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/client/BattleInterface
Michał W. Urbańczyk a9af0da0ab Rewritten handling mouse movement over hex and l-clicking hex into one procedure. That way the tooltip and cursor are always accurate, because they're set by the same routing that selects action. Having that logic duplicated in two methods was unmaintainable. [though the new one is still monstrous...] By the way fixed numerous issues, including:
* #785 and parts of #760
* first aid tent can heal only creatures that suffered damage
* war machines can't be healed by tent
* creatures casting spells won't try to cast them during tactic phase
* console tooltips for first aid tent
* console tooltips for teleport spell
* cursor is reset to pointer when action is requested
* fixed a few other missing or wrong tooltips/cursors

Implemented opening creature window by l-clicking on stack. Master Genie's spell is picked by server, not client.
Minor changes.
2012-03-30 21:36:07 +00:00
..
CBattleAnimations.cpp - setting system: replaced settings.txt + sysopt.bin with json-based system (defaultSetting.json + settings.json) 2012-01-12 15:23:00 +00:00
CBattleAnimations.h * Updated class - file - handling 2011-12-22 13:05:19 +00:00
CBattleInterface.cpp Rewritten handling mouse movement over hex and l-clicking hex into one procedure. That way the tooltip and cursor are always accurate, because they're set by the same routing that selects action. Having that logic duplicated in two methods was unmaintainable. [though the new one is still monstrous...] By the way fixed numerous issues, including: 2012-03-30 21:36:07 +00:00
CBattleInterface.h Rewritten handling mouse movement over hex and l-clicking hex into one procedure. That way the tooltip and cursor are always accurate, because they're set by the same routing that selects action. Having that logic duplicated in two methods was unmaintainable. [though the new one is still monstrous...] By the way fixed numerous issues, including: 2012-03-30 21:36:07 +00:00
CBattleInterfaceClasses.cpp - fixed #793 and #865 2012-02-21 14:08:42 +00:00
CBattleInterfaceClasses.h 1. Fixed #843 2012-02-20 08:19:03 +00:00
CCreatureAnimation.cpp * Updated class - file - handling 2011-12-22 13:05:19 +00:00
CCreatureAnimation.h * CHexField renamed to CBattleHex 2011-12-17 18:59:59 +00:00