Amulets & Armor
v1.02
Open Source Game
|
Spells System. More...
Macros | |
#define | MANA_BACKCOLOR 225 |
Functions | |
T_void | SpellsAddRune (T_buttonID buttonID) |
T_void | SpellsBackspace (T_buttonID buttonID) |
T_void | SpellsCastSpell (T_buttonID buttonID) |
T_void | SpellsClearRune (E_spellsRuneType type) |
T_void | SpellsClearRunes (T_buttonID buttonID) |
T_void | SpellsDrawInEffectRunes (T_word16 left, T_word16 right, T_word16 top, T_word16 bottom) |
T_void | SpellsDrawRuneBox (T_void) |
T_void | SpellsFinish (T_void) |
T_void | SpellsInitSpells (T_void) |
T_void | SpellsSetRune (E_spellsRuneType type) |
T_void | SpellsStopAll (T_void) |
Spells System.
All spell casting goes through here.
#define MANA_BACKCOLOR 225 |
T_void SpellsAddRune | ( | T_buttonID | buttonID) |
Callback routine assigned to a rune button, adds rune to spell box
T_void SpellsBackspace | ( | T_buttonID | buttonID) |
Callback routine assigned to the rune backspace button, removes last tune entered.
NOTE: Currently same as SpellsClear
T_void SpellsCastSpell | ( | T_buttonID | buttonID) |
This routine attempts to cast the currently selected spell
T_void SpellsClearRune | ( | E_spellsRuneType | type) |
T_void SpellsClearRunes | ( | T_buttonID | buttonID) |
Callback routine assigned to the rune clearbox button, clears runes in spell box
This routine draws the selected icons for the current spell in the spell box
SpellsFinish gets rid of any memory or resources associated with all the spells, either in effect, or able to be used.
Initializes variables associated with spell casting. Must be called prior to client login.
T_void SpellsSetRune | ( | E_spellsRuneType | type) |