$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "spells.h"
#include "spell/spell_adjustvariable.h"
#include "spell/spell_adjustvital.h"
#include "spell/spell_areaadjustvital.h"
#include "spell/spell_areabombardment.h"
#include "spell/spell_capture.h"
#include "spell/spell_demolish.h"
#include "spell/spell_polymorph.h"
#include "spell/spell_spawnmissile.h"
#include "spell/spell_spawnportal.h"
#include "spell/spell_summon.h"
#include "script_sound.h"
#include "script.h"
#include "unittype.h"
#include "upgrade.h"
Functions | |
script_spell.cpp - The spell script functions.. | |
static SpellActionType * | CclSpellAction (lua_State *l) |
char | Ccl2Condition (lua_State *l, const char *value) |
return 0, 1, 2 for true, only, false. | |
static void | CclSpellCondition (lua_State *l, ConditionInfo *condition) |
static void | CclSpellAutocast (lua_State *l, AutoCastInfo *autocast) |
static int | CclDefineSpell (lua_State *l) |
void | SpellCclRegister () |
register fonction. |
char Ccl2Condition | ( | lua_State * | l, | |
const char * | value | |||
) |
return 0, 1, 2 for true, only, false.
Get a condition value from a scm object.
l | Lua state. | |
value | scm value to convert. |
static int CclDefineSpell | ( | lua_State * | l | ) | [static] |
Parse Spell.
l | Lua state. |
static SpellActionType* CclSpellAction | ( | lua_State * | l | ) | [static] |
Parse the action for spell.
l | Lua state. |
static void CclSpellAutocast | ( | lua_State * | l, | |
AutoCastInfo * | autocast | |||
) | [static] |
Parse the Condition for spell.
l | Lua state. | |
autocast | pointer to autocast to fill with data. |
static void CclSpellCondition | ( | lua_State * | l, | |
ConditionInfo * | condition | |||
) | [static] |
Parse the Condition for spell.
l | Lua state. | |
condition | pointer to condition to fill with data. |
void SpellCclRegister | ( | ) |
register fonction.
Register CCL features for Spell.