Steam Fort 0.5
|
#include <string>
Go to the source code of this file.
Classes | |
struct | Spell |
Contains all informations about spell. More... | |
Typedefs | |
typedef enum SpellTypes | SPELLTYPE |
Contains spells types. | |
typedef enum SpellTargets | SPELLTARGET |
Contains types of targets for spells. | |
Enumerations | |
enum | SpellTypes { DAMAGE, HEALING } |
Contains spells types. More... | |
enum | SpellTargets { SELF, ENEMY } |
Contains types of targets for spells. More... | |
Functions | |
void | buildSpellsUI () |
Create spells menu. | |
void | setVisibleSpells (bool visible) |
Show/hide spells menu. | |
int | find_spell (std::string name) |
Find selected spell. | |
void | magic_target (int sdindex) |
Set target for spell. | |
void | cast_spells () |
Cast all waiting spells. |
typedef enum SpellTargets SPELLTARGET |
Contains types of targets for spells.
typedef enum SpellTypes SPELLTYPE |
Contains spells types.
enum SpellTargets |
enum SpellTypes |
void buildSpellsUI | ( | ) |
Create spells menu.
void cast_spells | ( | ) |
Cast all waiting spells.
int find_spell | ( | std::string | name | ) |
Find selected spell.
name | Name of spell to find. |
void magic_target | ( | int | sindex | ) |
Set target for spell.
sindex | Index of spell. |
void setVisibleSpells | ( | bool | visible | ) |
Show/hide spells menu.
visible | Did menu will be visible or not. |