aboutsummaryrefslogtreecommitdiff
path: root/assets/oldmodels
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-06-29 16:16:55 +0200
committerorwell96 <orwell@bleipb.de>2018-06-29 16:16:55 +0200
commit820503ba81b709cecd86d621dd68e7701fe10222 (patch)
treeae73d7a852b5606e78533eddc907862c1bf50783 /assets/oldmodels
parent86fa42050057af4e4129b8347c10d330842e4489 (diff)
downloadadvtrains-820503ba81b709cecd86d621dd68e7701fe10222.tar.gz
advtrains-820503ba81b709cecd86d621dd68e7701fe10222.tar.bz2
advtrains-820503ba81b709cecd86d621dd68e7701fe10222.zip
Implement trains blocking sections
Diffstat (limited to 'assets/oldmodels')
0 files changed, 0 insertions, 0 deletions
s="hl opt">*L) { SimpleSoundSpec spec; read_soundspec(L, 1, spec); bool looped = readParam<bool>(L, 2); s32 handle = getGuiEngine(L)->playSound(spec, looped); lua_pushinteger(L, handle); return 1; } int ModApiSound::l_sound_stop(lua_State *L) { u32 handle = luaL_checkinteger(L, 1); getGuiEngine(L)->stopSound(handle); return 1; } void ModApiSound::Initialize(lua_State *L, int top) { API_FCT(sound_play); API_FCT(sound_stop); }