Commit Graph
36 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
SupSuper b84814cd34 TRECISION: Clean up warnings 2021-06-30 09:36:17 +01:00
Filippos Karapetis 097a948423 TRECISION: Continue if a sound can't be found - bug #12633
Fixes crash when entering code in the security panel in the terrorists'
hideout
2021-06-14 04:12:46 +03:00
SupSuper 62f62b6b62 TRECISION: Add endianness to FastFile 2021-05-31 06:40:06 +01:00
SupSuper c8be95585c TRECISION: Amiga uses raw audio format 2021-05-31 06:40:05 +01:00
SupSuper 229d9415a0 TRECISION: Amiga files are big-endian 2021-05-31 06:40:04 +01:00
Filippos Karapetis 8476747ede TRECISION: Remove references to sound IDs in the audio code
These were only used by stop(), which is actually unused
2021-05-29 21:24:54 +01:00
Filippos Karapetis 1c322c5dde TRECISION: Fix memory leak with _stepLeftStream and _stepRightStream 2021-05-29 21:24:52 +01:00
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 e5eca4a84f TRECISION: Remove unintentional switch fallthrough
It was a bug which sometimes resulted in both the left and the right
step sound to be played
2021-05-29 21:24:50 +01:00
Filippos Karapetis 9e67c95a69 TRECISION: Add some missing DisposeAfterUse flags 2021-05-29 21:24:50 +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 d71d2a9e51 TRECISION: Free memory allocated to sound files 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
D G Turner fad3639d6d TRECISION: Further GCC Warning Fixes 2021-05-29 21:24:46 +01:00
D G Turner 5cd8050e14 TRECISION: Fix Codacy issue
This was authored by bluegr, but accidently removed by force-push so
am restoring this change.
2021-05-29 21:24:46 +01:00
Filippos Karapetis b55a9c12e4 TRECISION: Fix Codacy issues 2021-05-29 21:24:45 +01:00
Strangerke 9aa2cfa03b TRECISION: Remove a useless include in SoundManager, fix the formatting of a if/else statement 2021-05-29 21:24:36 +01:00
Strangerke dd0884f9b6 TRECISION: Some renamings 2021-05-29 21:24:33 +01:00
Strangerke 362a8aa2d6 TRECISION: Kill llinc and llscreen, some renaming 2021-05-29 21:24:32 +01:00
SupSuper 4d2d97a450 TRECISION: Reduce string copying 2021-05-29 21:24:32 +01:00
Strangerke e1917b5524 TRECISION: Kill 3Dinc and 3Dvar 2021-05-29 21:24:31 +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 f4a7bf910d TRECISION: rename some comments in Sound, rework a bit soundtimer 2021-05-29 21:24:24 +01:00
Strangerke 4c54b6ea46 TRECISION: Move 3 variables out of globvar, remove globvar.cpp, process.cpp and extern.h 2021-05-29 21:24:22 +01:00
Strangerke c061fe823d TRECISION: Move define.h 2021-05-29 21:24:12 +01:00
Strangerke d84937818c TRECISION: rename some members of TrecisionEngine, remove a useless member 2021-05-29 21:24:10 +01:00
Strangerke 9c357d1031 TRECISION: Remove comments before functions which only duplicate the function name 2021-05-29 21:24:04 +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