From: <wol...@us...> - 2003-02-22 02:32:10
|
Update of /cvsroot/csp/APPLICATIONS/CSPSim/Include In directory sc8-pr-cvs1:/tmp/cvs-serv20437 Modified Files: CSPSim.h Log Message: Initial sound implementaion has been added. Index: CSPSim.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/CSPSim.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CSPSim.h 19 Feb 2003 22:58:00 -0000 1.5 --- CSPSim.h 22 Feb 2003 02:32:04 -0000 1.6 *************** *** 43,46 **** --- 43,55 ---- class EventMapIndex; + struct SDLWave { + SDL_AudioSpec spec; + Uint8 *sound; /* Pointer to wave data */ + Uint32 soundlen; /* Length of wave data */ + int soundpos; /* Current play position */ + }; + + void fillerup(void *unused, Uint8 *stream, int len); + /** *************** *** 89,92 **** --- 98,103 ---- void DoStartupScript(); + + private: *************** *** 100,103 **** --- 111,116 ---- GameScreen *m_GameScreen; BaseScreen *m_MainMenuScreen; + + int m_ScreenWidth; |