_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

List of all members
MissileWhirlwind Class Reference

#include <missile.h>

Inheritance diagram for MissileWhirlwind:
Missile

Public Member Functions

missile_whirlwind.cpp - The missile Whirlwind.
virtual void Action ()
 
- Public Member Functions inherited from Missile
virtual ~Missile ()
 
void DrawMissile (const CViewport &vp) const
 
void SaveMissile (CFile &file) const
 
void MissileHit (CUnit *unit=NULL)
 
bool NextMissileFrame (char sign, char longAnimation)
 
void NextMissileFrameCycle ()
 
void MissileNewHeadingFromXY (const PixelPos &delta)
 

Additional Inherited Members

- Static Public Member Functions inherited from Missile
static MissileInit (const MissileType &mtype, const PixelPos &startPos, const PixelPos &destPos)
 
- Public Attributes inherited from Missile
PixelPos source
 
PixelPos position
 Missile source position. More...
 
PixelPos destination
 missile pixel position More...
 
const MissileTypeType
 missile pixel destination More...
 
int SpriteFrame
 missile-type pointer More...
 
int State
 sprite frame counter More...
 
int AnimWait
 state More...
 
int Wait
 Animation wait. More...
 
int Delay
 delay between frames More...
 
CUnitPtr SourceUnit
 delay to show up More...
 
CUnitPtr TargetUnit
 unit that fires (could be killed) More...
 
std::vector< CUnit * > PiercedUnits
 target unit, used for spells More...
 
int Damage
 Units which are already pierced by this missile. More...
 
int TTL
 direct damage that missile applies More...
 
int Hidden
 time to live (ticks) used for spells More...
 
int DestroyMissile
 If this is 1 then the missile is invisible. More...
 
int CurrentStep
 this tells missile-class-straight-fly, that it's time to die More...
 
int TotalStep
 Current step (0 <= x < TotalStep). More...
 
unsigned Local: 1
 Total step. More...
 
unsigned int Slot
 missile is a local missile More...
 
- Static Public Attributes inherited from Missile
static unsigned int Count = 0
 unique number for draw level. More...
 
- Protected Member Functions inherited from Missile
 Missile ()
 

Member Function Documentation

◆ Action()

void MissileWhirlwind::Action ( )
virtual

Whirlwind controller

Todo:
do it more configurable.

Implements Missile.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.