mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +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
|
||||
{
|
||||
INVALID = -1, CREATURE_INFO,
|
||||
MOVE_TACTICS, CHOOSE_TACTICS_STACK,
|
||||
MOVE_STACK, ATTACK, WALK_AND_ATTACK, ATTACK_AND_RETURN, SHOOT, //OPEN_GATE, //we can open castle gate during siege
|
||||
NO_LOCATION, ANY_LOCATION, OBSTACLE, TELEPORT, SACRIFICE, RANDOM_GENIE_SPELL,
|
||||
FREE_LOCATION, //used with Force Field and Fire Wall - all tiles affected by spell must be free
|
||||
CATAPULT, HEAL,
|
||||
AIMED_SPELL_CREATURE
|
||||
INVALID = -1,
|
||||
CREATURE_INFO,
|
||||
MOVE_TACTICS,
|
||||
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
|
||||
AIMED_SPELL_CREATURE, // spell targeted at creature
|
||||
};
|
||||
|
||||
struct DLL_LINKAGE BattleClientInterfaceData
|
||||
|
Loading…
Reference in New Issue
Block a user