$treeview $search $mathjax
Stratagus
2.2.6
$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 <stdio.h>
#include <stdlib.h>
#include "stratagus.h"
#include "video.h"
#include "unittype.h"
#include "animation.h"
#include "player.h"
#include "unit.h"
#include "missile.h"
#include "actions.h"
#include "pathfinder.h"
#include "sound.h"
#include "tileset.h"
#include "map.h"
#include "spells.h"
#include "interface.h"
Functions | |
action_spellcast.cpp - The spell cast action. | |
static void | SpellMoveToTarget (CUnit &unit) |
void | HandleActionSpellCast (CUnit &unit) |
Handle command spellcast. |
void HandleActionSpellCast | ( | CUnit & | unit | ) |
Handle command spellcast.
Unit casts a spell!
unit | Unit, for that the spell cast is handled. |
static void SpellMoveToTarget | ( | CUnit & | unit | ) | [static] |
Handle moving to the target.
unit | Unit, for that the spell cast is handled. |