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

Classes
animation_spawnmissile.h File Reference
#include <string>
#include "animation.h"

Go to the source code of this file.

Classes

class  CAnimation_SpawnMissile
 

Enumerations

animation_spawnmissile.h - The animation SpawnMissile headerfile.
enum  SpawnMissile_Flags {
  SM_None = 0, SM_Damage = 1, SM_ToTarget = 2, SM_Pixel = 4,
  SM_RelTarget = 8, SM_Ranged = 16, SM_SetDirection = 32
}
 

Enumeration Type Documentation

◆ SpawnMissile_Flags

Enumerator
SM_None 
SM_Damage 

Clears all flags.

SM_ToTarget 

Missile deals damage to units.

SM_Pixel 

Missile is directed to unit's target.

SM_RelTarget 

Missile's offsets are calculated in pixels rather than tiles.

SM_Ranged 

All calculations are relative to unit's target.

SM_SetDirection 

Missile can't be shot if current range between unit and it's target is bigger than unit's attack range

(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.