$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <string.h>
#include <stdio.h>
#include "stratagus.h"
#include <stdlib.h>
#include "script.h"
#include "sound.h"
#include "sound_server.h"
Functions | |
script_sound.cpp - The sound ccl functions. | |
static int | CclSoundForName (lua_State *l) |
static CSound * | CclGetSound (lua_State *l) |
static int | CclMakeSound (lua_State *l) |
static int | CclMakeSoundGroup (lua_State *l) |
static int | CclMapSound (lua_State *l) |
static int | CclPlaySound (lua_State *l) |
static int | CclDefineGameSounds (lua_State *l) |
static int | CclSetGlobalSoundRange (lua_State *l) |
static int | CclSetSoundRange (lua_State *l) |
void | SoundCclRegister () |
register ccl features |
static int CclDefineGameSounds | ( | lua_State * | l | ) | [static] |
Glue between c and scheme. Allows to specify some global game sounds in a ccl file.
l | Lua state. |
static CSound* CclGetSound | ( | lua_State * | l | ) | [static] |
Get a Game Sound Id from either a lua sound id or a sound name
l | Lua state. |
static int CclMakeSound | ( | lua_State * | l | ) | [static] |
Create a sound.
Glue between c and scheme. This function asks the sound system to register a sound under a given name, wiht an associated list of files (the list can be replaced by only one file).
l | Lua state. |
static int CclMakeSoundGroup | ( | lua_State * | l | ) | [static] |
Glue between c and scheme. This function asks the sound system to build a special sound group.
l | Lua state. |
static int CclMapSound | ( | lua_State * | l | ) | [static] |
Glue between c and scheme. Ask to the sound system to remap a sound id to a given name.
l | Lua state. |
static int CclPlaySound | ( | lua_State * | l | ) | [static] |
Ask the sound system to play the specified sound.
l | Lua state. |
static int CclSetGlobalSoundRange | ( | lua_State * | l | ) | [static] |
Set the cut off distance.
l | Lua state. |
static int CclSetSoundRange | ( | lua_State * | l | ) | [static] |
Set the range of a given sound.
l | Lua state. |
static int CclSoundForName | ( | lua_State * | l | ) | [static] |
Glue between c and scheme. Ask the sound system to associate a sound id to a sound name.
l | Lua state. |
void SoundCclRegister | ( | ) |
register ccl features
Register CCL features for sound.