$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

src/animation/animation_spawnmissile.cpp File Reference

#include "stratagus.h"
#include "animation/animation_spawnmissile.h"
#include "actions.h"
#include "map.h"
#include "missile.h"
#include "unit.h"

animation_spawnmissile.cpp - The animation SpawnMissile.

#define ANIM_SM_DAMAGE   1
#define ANIM_SM_TOTARGET   2
#define ANIM_SM_PIXEL   4
#define ANIM_SM_RELTARGET   8
#define ANIM_SM_RANGED   16
static int ParseAnimFlags (CUnit &unit, const char *parseflag)

Define Documentation

#define ANIM_SM_DAMAGE   1

#define ANIM_SM_PIXEL   4

#define ANIM_SM_RANGED   16

#define ANIM_SM_RELTARGET   8

#define ANIM_SM_TOTARGET   2


Function Documentation

static int ParseAnimFlags ( CUnit unit,
const char *  parseflag 
) [static]

Parse flags list in animation frame.

Parameters:
unit Unit of the animation.
parseflag Flag list to parse.
Returns:
The parsed value.

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