55 static int Load( lua_State *pLuaState );
56 static int Unload( lua_State *pLuaState );
57 static int Play( lua_State *pLuaState );
58 static int Stop( lua_State *pLuaState );
59 static int Pause( lua_State *pLuaState );
60 static int Resume( lua_State *pLuaState );
61 static int IsPlaying( lua_State *pLuaState );
62 static int SetVolume( lua_State *pLuaState );
65 static void CallPlayCommandDirect( lua_State *pLuaState, SunLight :: Scripting :: Commands cmd );
66 static int PlaySong( lua_State *pLuaState );
67 static int PlaySongLooping( lua_State *pLuaState );
68 static int PauseSong( lua_State *pLuaState );
69 static int StopSong( lua_State *pLuaState );
70 static int ResumeSong( lua_State *pLuaState );
73 static int QueuePlaySong( lua_State *pLuaState );
74 static int QueuePauseSong( lua_State *pLuaState );
75 static int QueueStopSong( lua_State *pLuaState );
76 static int QueueResumeSong( lua_State *pLuaState );
80 static void Register( lua_State *pLuaState );