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

script_missile.cpp File Reference
#include "stratagus.h"
#include "missile.h"
#include "luacallback.h"
#include "script.h"
#include "unittype.h"
#include "unit.h"
#include "unit_manager.h"
#include "video.h"

script_missile.cpp - The missile-type ccl functions.

static const char * MissileClassNames []
 
static int CclDefineMissileType (lua_State *l)
 
static int CclMissile (lua_State *l)
 
static int CclDefineBurningBuilding (lua_State *l)
 
static int CclCreateMissile (lua_State *l)
 
void MissileCclRegister ()
 Burning building frames. More...
 

Function Documentation

◆ CclCreateMissile()

static int CclCreateMissile ( lua_State *  l)
static

Create a missile on the map

Parameters
lLua state.

◆ CclDefineBurningBuilding()

static int CclDefineBurningBuilding ( lua_State *  l)
static

Define burning building missiles.

Parameters
lLua state.

◆ CclDefineMissileType()

static int CclDefineMissileType ( lua_State *  l)
static

Parse missile-type.

Parameters
lLua state.

◆ CclMissile()

static int CclMissile ( lua_State *  l)
static

Create a missile.

Parameters
lLua state.

◆ MissileCclRegister()

void MissileCclRegister ( )

Burning building frames.

Register CCL features for missile-type.

Variable Documentation

◆ MissileClassNames

const char* MissileClassNames[]
static
Initial value:
= {
"missile-class-none",
"missile-class-point-to-point",
"missile-class-point-to-point-with-hit",
"missile-class-point-to-point-cycle-once",
"missile-class-point-to-point-bounce",
"missile-class-stay",
"missile-class-cycle-once",
"missile-class-fire",
"missile-class-hit",
"missile-class-parabolic",
"missile-class-land-mine",
"missile-class-whirlwind",
"missile-class-flame-shield",
"missile-class-death-coil",
"missile-class-tracer",
"missile-class-clip-to-target",
"missile-class-continious",
"missile-class-straight-fly",
NULL
}

Missile class names, used to load/save the missiles.

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