1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/client/UIFramework
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
..
CCursorHandler.cpp * Updated class - file - handling 2011-12-22 13:05:19 +00:00
CCursorHandler.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
CGuiHandler.cpp * VCAI: can't request actions from action handling thread 2012-03-11 16:29:01 +00:00
CGuiHandler.h * Updated class - file - handling 2011-12-22 13:05:19 +00:00
CIntObject.cpp * VCAI: can't request actions from action handling thread 2012-03-11 16:29:01 +00:00
CIntObject.h * VCAI: can't request actions from action handling thread 2012-03-11 16:29:01 +00:00
CIntObjectClasses.cpp * VCAI: can't request actions from action handling thread 2012-03-11 16:29:01 +00:00
CIntObjectClasses.h * VCAI: can't request actions from action handling thread 2012-03-11 16:29:01 +00:00
Geometries.cpp * Updated class - file - handling 2011-12-22 13:05:19 +00:00
Geometries.h * Updated class - file - handling 2011-12-22 13:05:19 +00:00
SDL_Extensions.cpp - (linux) replaced Genius with VCAI 2012-02-16 17:10:58 +00:00
SDL_Extensions.h - (linux) replaced Genius with VCAI 2012-02-16 17:10:58 +00:00