16 Commits

Author SHA1 Message Date
Littleboy
bc298a58f5 LASTEXPRESS: Simplify SoundQueue::updateQueue()
- Remove useless cache code
 - Use helper function to get the proper sound entry
 - Fix crash on using an invalid entry
2011-07-08 22:03:34 -04:00
Eugene Sandulenko
c4b2800145 LASTEXPRESS: implement Sound::updateQueue() and all dependent functions 2011-07-06 14:40:22 +03:00
Littleboy
47e9a6ccdc LASTEXPRESS: Move sound filtering to base Sound class
- Rename kSoundStatusRemoved to kSoundStatusClosed
 - Rename kSoundStatusClear2 to kSoundStatusCached
 - Remove sound cache handling
2011-07-04 14:26:31 -04:00
Littleboy
a5398bd663 LASTEXPRESS: Fix loading of subtitles from sound name 2011-07-01 01:17:08 -04:00
Littleboy
3385fd37b9 LASTEXPRESS: Hook up preliminary sound filtering
- Add debug checks in soundFilter()
 - Rename kSoundStatusClear1 to kSoundStatusFilterVariant
2011-06-29 12:06:33 -04:00
Littleboy
2788cb8bf7 LASTEXPRESS: Update sound timer and sound entry playing
- Move filtering to SoundEntry class
 - Make some methods of SoundEntry class private
 - Add methods to check if a StreamedSound/AppendableSound is done playing
2011-06-29 11:07:28 -04:00
Littleboy
4526bbb5b6 LASTEXPRESS: Move SoundStatus to shared header 2011-06-29 11:07:26 -04:00
Littleboy
9cc5d404c7 LASTEXPRESS: Replace shared sound buffer by per-entry buffer 2011-06-29 11:07:24 -04:00
Littleboy
04933a1937 LASTEXPRESS: Make SoundEntry members private 2011-06-28 23:17:13 -04:00
Littleboy
b4ac4988cc LASTEXPRESS: Cleanup comments 2011-06-28 22:54:51 -04:00
Littleboy
90dc4f9a8c LASTEXPRESS: Move Sound class to the sound folder 2011-06-28 22:30:24 -04:00
Littleboy
6eace0ca75 LASTEXPRESS: Move sound queue related functions to a separate class
- Implement missing queue reset function
 - Cleanup SoundManager::playLoopingSound()
2011-06-28 22:13:40 -04:00
Littleboy
d1341387e3 LASTEXPRESS: Move more entry-related functions to Entry class 2011-06-28 20:09:56 -04:00
Eugene Sandulenko
73d2d34e01 LASTEXPRESS: Give proper name to another sound struct member 2011-06-25 14:50:07 +03:00
Littleboy
3f4d2c8130 LASTEXPRESS: Move subtitle-related methods to the SubtitleEntry class 2011-06-24 11:43:10 -04:00
Littleboy
5d020fffad LASTEXPRESS: Refactor Sound class
- Move entry-related functions to separate class
 - Move enumeration to shared header and rename FlagType to SoundFlag
2011-06-24 10:56:49 -04:00