Commit graph

15 commits

Author SHA1 Message Date
Littleboy
cd5e750a7f LASTEXPRESS: Fix analysis warnings 2012-08-27 21:49:33 -04:00
Littleboy
7f05e1413c LASTEXPRESS: Remove use of skip from savegame functions when loading
We cannot accurately skip over compressed data as it is not know before decoding how much data will be used
2012-08-01 02:58:55 -04:00
Littleboy
6aeda2638b LASTEXPRESS: More include re-organization 2012-07-27 00:54:24 -04:00
Littleboy
9e64e62c08 LASTEXPRESS: Comment unused variable 2012-07-16 23:51:24 -04:00
Littleboy
0635d99ec7 LASTEXPRESS: Cleanup
- Add missing initializer/destructors
 - Add some const modifiers
 - Remove some unneeded casts
 - Use enumeration values in switch constructs
2012-07-14 14:26:00 -04:00
Littleboy
732a2c80dd LASTEXPRESS: Remove duplicated include statements 2012-07-14 13:23:54 -04:00
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
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
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
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