_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <spell_spawnmissile.h>
Public Member Functions | |
| SpellActionMissileLocation (LocBaseType base) | |
Public Attributes | |
| LocBaseType | Base |
| int | AddX |
| The base for the location (caster/target) More... | |
| int | AddY |
| Add to the X coordinate. More... | |
| int | AddRandX |
| Add to the X coordinate. More... | |
| int | AddRandY |
| Random add to the X coordinate. More... | |
This struct is used for defining a missile start/stop location.
It's evaluated like this, and should be more or less flexible.: base coordinates(caster or target) + (AddX,AddY) + (rand()AddRandX,rand()AddRandY)
|
inline |
| int SpellActionMissileLocation::AddRandX |
Add to the X coordinate.
| int SpellActionMissileLocation::AddRandY |
Random add to the X coordinate.
| int SpellActionMissileLocation::AddX |
The base for the location (caster/target)
| int SpellActionMissileLocation::AddY |
Add to the X coordinate.
| LocBaseType SpellActionMissileLocation::Base |
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.