$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 <spell_spawnmissile.h>
Public Member Functions | |
SpellActionMissileLocation (LocBaseType base) | |
Public Attributes | |
LocBaseType | Base |
int | AddX |
The base for the location (caster/target). | |
int | AddY |
Add to the X coordinate. | |
int | AddRandX |
Add to the X coordinate. | |
int | AddRandY |
Random add to the X coordinate. |
It's evaluated like this, and should be more or less flexible.: base coordinates(caster or target) + (AddX,AddY) + (rand()AddRandX,rand()AddRandY)
SpellActionMissileLocation::SpellActionMissileLocation | ( | LocBaseType | base | ) | [inline] |
The base for the location (caster/target).
Add to the X coordinate.
Add to the X coordinate.
Random add to the X coordinate.