mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-21 12:06:49 +02:00
Better formatting for enum
This commit is contained in:
parent
4d62bf22f2
commit
b1c67fbf47
@ -44,13 +44,27 @@ struct DLL_LINKAGE AttackableTiles
|
|||||||
|
|
||||||
enum class PossiblePlayerBattleAction // actions performed at l-click
|
enum class PossiblePlayerBattleAction // actions performed at l-click
|
||||||
{
|
{
|
||||||
INVALID = -1, CREATURE_INFO,
|
INVALID = -1,
|
||||||
MOVE_TACTICS, CHOOSE_TACTICS_STACK,
|
CREATURE_INFO,
|
||||||
MOVE_STACK, ATTACK, WALK_AND_ATTACK, ATTACK_AND_RETURN, SHOOT, //OPEN_GATE, //we can open castle gate during siege
|
MOVE_TACTICS,
|
||||||
NO_LOCATION, ANY_LOCATION, OBSTACLE, TELEPORT, SACRIFICE, RANDOM_GENIE_SPELL,
|
CHOOSE_TACTICS_STACK,
|
||||||
|
|
||||||
|
MOVE_STACK,
|
||||||
|
ATTACK,
|
||||||
|
WALK_AND_ATTACK,
|
||||||
|
ATTACK_AND_RETURN,
|
||||||
|
SHOOT,
|
||||||
|
CATAPULT,
|
||||||
|
HEAL,
|
||||||
|
|
||||||
|
NO_LOCATION, // massive spells that affect every possible target, automatic casts
|
||||||
|
ANY_LOCATION,
|
||||||
|
OBSTACLE,
|
||||||
|
TELEPORT,
|
||||||
|
SACRIFICE,
|
||||||
|
RANDOM_GENIE_SPELL, // random spell on a friendly creature
|
||||||
FREE_LOCATION, // used with Force Field and Fire Wall - all tiles affected by spell must be free
|
FREE_LOCATION, // used with Force Field and Fire Wall - all tiles affected by spell must be free
|
||||||
CATAPULT, HEAL,
|
AIMED_SPELL_CREATURE, // spell targeted at creature
|
||||||
AIMED_SPELL_CREATURE
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct DLL_LINKAGE BattleClientInterfaceData
|
struct DLL_LINKAGE BattleClientInterfaceData
|
||||||
|
Loading…
x
Reference in New Issue
Block a user