____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <spells.h>

Public Member Functions | |
| SpawnMissile () | |
| virtual int | Cast (CUnit *caster, const SpellType *spell, CUnit *target, int x, int y) |
Public Attributes | |
| int | Damage |
| Missile damage. | |
| int | TTL |
| Missile TTL. | |
| int | Delay |
| Missile original delay. | |
| SpellActionMissileLocation | StartPoint |
| Start point description. | |
| SpellActionMissileLocation | EndPoint |
| Start point description. | |
| MissileType * | Missile |
| Missile fired on cast. | |
Definition at line 148 of file spells.h.
| int SpawnMissile::Cast | ( | CUnit * | caster, | |
| const SpellType * | spell, | |||
| CUnit * | target, | |||
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Cast spawn missile.
| caster | Unit that casts the spell | |
| spell | Spell-type pointer | |
| target | Target unit that spell is addressed to | |
| x | X coord of target spot when/if target does not exist | |
| y | Y coord of target spot when/if target does not exist |
Implements SpellActionType.
Definition at line 339 of file spells.cpp.
References Damage, Delay, EndPoint, EvaluateMissileLocation(), MakeMissile(), Missile, CUnit::RefsIncrease(), StartPoint, and TTL.
Missile damage.
Definition at line 155 of file spells.h.
Referenced by Cast(), and CclSpellAction().
Missile original delay.
Definition at line 157 of file spells.h.
Referenced by Cast(), and CclSpellAction().
Start point description.
Definition at line 158 of file spells.h.
Referenced by Cast(), and CclSpellAction().
Start point description.
Definition at line 159 of file spells.h.
Referenced by Cast(), and CclSpellAction().
Missile fired on cast.
Definition at line 160 of file spells.h.
Referenced by Cast(), and CclSpellAction().
1.5.6