$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/missile/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.

Function Documentation

static int CclCreateMissile ( lua_State *  l  )  [static]

Create a missile on the map

Parameters:
l Lua state.

static int CclDefineBurningBuilding ( lua_State *  l  )  [static]

Define burning building missiles.

Parameters:
l Lua state.

static int CclDefineMissileType ( lua_State *  l  )  [static]

Parse missile-type.

Parameters:
l Lua state.

static int CclMissile ( lua_State *  l  )  [static]

Create a missile.

Parameters:
l Lua state.

void MissileCclRegister (  ) 

Burning building frames.

Register CCL features for missile-type.


Variable Documentation

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",
        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.