9 | | || '''Class''' || '''Soundattribute(s)''' || |
10 | | || Level || ambientsound || |
11 | | || Engine || sound || |
| 11 | Current possible sounds: |
| 12 | || '''Class''' || '''Soundattribute(s)''' || '''Looped?''' || |
| 13 | || Level || ambientsound || Yes || |
| 14 | || Engine || sound || Yes|| |
| 15 | |
| 16 | === Make more soundattributes available === |
| 17 | Here are some instructions: |
| 18 | * Look at the implementaion of the above classes. You should be able to copy a most of the things. |
| 19 | * Add a new XMLPort macro to the XMLPort function of the class the sound belongs to(most likely XMLPortLoadOnly), name the function loadFooSound or something similar |
| 20 | * Implement the load function, for some examples look at the above classes |
| 21 | * Add the needed members to the class (at least one SoundBase pointer) |
| 22 | * Add the calls to SondBase::play(bool loop) where you want to have the sound being played |
| 23 | * Add the class/sound to the above list and that's it |
29 | | == PPS-Timetable == |
30 | | |
31 | | || '''Date''' || '''What?''' || |
32 | | || 2009-03-30 || Initial code commit, defitiv decision of API (done)|| |
33 | | || 2009-04-06 || Implementing SoundManager and integration into the build system (done) || |
34 | | || 2009-04-27 || Implementing SoundBase (done) || |
35 | | || 2009-05-04 || Adding default sounds, configuration loaders (done for levels) || |
36 | | || 2009-05-11 || Testing || |
37 | | || 2009-05-18 || Testing and getting things ready for presentation || |
38 | | || 2009-05-2? || Presentation || |
39 | | |
40 | | === Future === |
| 41 | === Future projects === |