18 Commits

Author SHA1 Message Date
Filippos Karapetis
6b34141e77 TRECISION: Whitespace fixes 2021-05-29 21:24:51 +01:00
Filippos Karapetis
e1ad7c1318 TRECISION: Remove waitEndFading() 2021-05-29 21:24:51 +01:00
Filippos Karapetis
8a04137fb0 TRECISION: Refactor the sound playing code
The following changes have been made:
- Fade in/out functionality has been removed (it was never really used
  properly)
- Removed references to audio streams - they are disposed after use now
- Removed the room sound list - only 4 different sounds are actually
  played simultaneously
2021-05-29 21:24:50 +01:00
Filippos Karapetis
8fd5ffbbdf TRECISION: Remove unused saved game fields
The fields synced in SoundManager::syncGameStream() were never changed
2021-05-29 21:24:49 +01:00
SupSuper
7f18f17185 TRECISION: Free sounds on room load 2021-05-29 21:24:49 +01:00
Filippos Karapetis
4dd9b52613 TRECISION: Fix memory leaks reported by Valgrind
Thanks to eriktorbjorn for reporting these
2021-05-29 21:24:49 +01:00
Filippos Karapetis
b55a9c12e4 TRECISION: Fix Codacy issues 2021-05-29 21:24:45 +01:00
Strangerke
7ca1b06cc5 TRECISION: remove the dependency on trecision.h in sound.h and text.h 2021-05-29 21:24:39 +01:00
Strangerke
1a0cb0ac04 TRECISION: Move doSys and _closeUpObj to LogicManager, make various class members private 2021-05-29 21:24:34 +01:00
Strangerke
dd0884f9b6 TRECISION: Some renamings 2021-05-29 21:24:33 +01:00
SupSuper
4d2d97a450 TRECISION: Reduce string copying 2021-05-29 21:24:32 +01:00
Filippos Karapetis
d0041dfcc5 TRECISION: Move more text functionality into TextManager
Also, change some strings to Common::String
2021-05-29 21:24:27 +01:00
Filippos Karapetis
26392eb7cf TRECISION: Clean up includes 2021-05-29 21:24:27 +01:00
Filippos Karapetis
c9b458dc0f TRECISION: Move _speechFile into SoundManager 2021-05-29 21:24:26 +01:00
Strangerke
9e7dd6ab75 TRECISION: Add loadAnimTab and syncGameStream in AnimManager, move/add/suppress some defines 2021-05-29 21:24:03 +01:00
Strangerke
0298e0c08b TRECISION: Some renaming in SoundManager 2021-05-29 21:24:03 +01:00
Strangerke
9954c87b66 TRECISION: Make some members of SoundManager private 2021-05-29 21:24:02 +01:00
Strangerke
7436888ae5 TRECISION: Introduce SoundManager 2021-05-29 21:24:02 +01:00