home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Rollenspiele
/
SwordOfFargoal
/
fargoal20030731b.exe
/
fargoal
/
src
/
spell.h
< prev
Wrap
C/C++ Source or Header
|
2003-07-31
|
337b
|
26 lines
typedef enum SPELLTYPE SPELLTYPE;
typedef struct SPELL SPELL;
enum SPELLTYPE
{
SPELL_INVISIBILITY,
SPELL_REGENERATION,
SPELL_TELEPORT,
SPELL_SHIELD,
SPELL_LIGHT,
SPELL_DRIFT
};
/* A magical spell. */
struct SPELL
{
int amount;
int active;
int max;
};
extern char const *spell_names[];
int spell_cast (int id, SPELLTYPE s);