____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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 | |
| SpellActionMissileLocation (LocBaseType base) | |
Public Attributes | |
| LocBaseType | Base |
| The base for the location (caster/target). | |
| int | AddX |
| Add to the X coordinate. | |
| int | AddY |
| Add to the X coordinate. | |
| int | AddRandX |
| Random 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)
Definition at line 80 of file spells.h.
| SpellActionMissileLocation::SpellActionMissileLocation | ( | LocBaseType | base | ) | [inline] |
The base for the location (caster/target).
Definition at line 83 of file spells.h.
Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().
Add to the X coordinate.
Definition at line 86 of file spells.h.
Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().
Add to the X coordinate.
Definition at line 87 of file spells.h.
Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().
Random add to the X coordinate.
Definition at line 88 of file spells.h.
Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().
Random add to the X coordinate.
Definition at line 89 of file spells.h.
Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().
1.5.6