Commit Graph
61292 Commits
Author SHA1 Message Date
Johannes Schickel 233512fe10 MADE: Create MusicPlayer in run() instead of MadeEngine's constructor.
This fixes MT-32 emulator initialization. When the constructor is run the
paths like extrapath etc. are not yet set up. Thus, the MT-32 emulator would
not be able to find the necessary roms in case they are in the extrapath.
2013-11-03 19:17:13 +01:00
Johannes Schickel 919e577ba6 SDL: Fix invalid memory access in getSystemLanguage.
A call to setlocale can invalidate the string a previous setlocale call
returned. Instead of saving a pointer we copy the returned string now. This,
for example, fixes invalid memory access on my system.

See de8da01b0e for the commit introducing the
invalid memory access.
2013-11-03 18:47:03 +01:00
Paul Gilbert 1a440b5ef2 TSAGE: Renaming for R2R Outer Forest 2013-11-03 12:44:35 -05:00
D G Turner de8da01b0e SDL: Remove side effect of setlocale() call to get Language.
This is to fix bug #3615148 -  "ALL: sscanf("%f"), atof() etc. not
portable due to Locale"

The side effect of setlocale("") is to change the active locale
from the default of "C" to the detected system locale, but this
changes the behaviour of sscanf() and several other functions
in a system dependent and non-portable way. This has caused
bugs in the ZVISION engine when running Zork Nemesis.

The solution is to restore the default "C" locale after the call
to get the language.

Thanks to criezy for working out this fix.
2013-11-03 17:10:18 +00:00
Paul Gilbert c3df6c9c0c TSAGE: Renaming for R2R Spill Mountains crank room 2013-11-03 11:16:48 -05:00
Paul Gilbert ad91ca877a TSAGE: Renamings for R2R Spill Mountains furnace room 2013-11-03 11:07:25 -05:00
Paul Gilbert 6a7c95b616 TSAGE: Renamings for Spill Mountains Large Ledge 2013-11-03 10:59:26 -05:00
Paul Gilbert d7e65a33a2 TSAGE: Renamings for R2R Spill Mountains bedroom 2 2013-11-03 10:46:53 -05:00
Paul Gilbert fb08979f8d TSAGE: Renamings for R2R Spill Mountains bedroom 2013-11-03 10:38:38 -05:00
Paul Gilbert 8b539799d5 TSAGE: Renamings for R2R Pictographs room 2013-11-03 10:11:58 -05:00
Paul Gilbert 6a80b9c2f8 TSAGE: Renamings for R2R Spill Mountains large empty room 2013-11-03 10:08:42 -05:00
Paul Gilbert 0be96cb60d TSAGE: Renamings for R2R Balloon Launch 2013-11-03 10:00:20 -05:00
Paul Gilbert 20fb12ea80 TSAGE: Renamings for R2R Spill Mountains 2013-11-03 09:27:15 -05:00
Paul Gilbert 0c649197f8 TSAGE: Replace all -999 constants with the LIST_END define 2013-11-03 08:56:36 -05:00
Paul Gilbert d36b704502 TSAGE: Renamings and bugfixes for R2R desert and forest entrance 2013-11-03 08:54:26 -05:00
Paul Gilbert e385999700 TSAGE: Renamings for R2R desert scene 2013-11-03 08:28:28 -05:00
Paul Gilbert 5c9d752e1d TSAGE: Fix to set _endAction when playing voice samples 2013-11-03 08:28:13 -05:00
Paul Gilbert 067ffbcb46 TSAGE: Renamings for R2R Teleporting Outside scene 2013-11-03 08:05:49 -05:00
Strangerke 807197161b TSAGE: Fix CID 1003720, missing break in switch 2013-11-03 11:40:51 +01:00
Strangerke f129bc7b3b TSAGE: Fix sound glitch (CID 1004053) 2013-11-03 11:31:36 +01:00
Eugene Sandulenko 8484b4b148 PARALLACTION: Make sure overridden methods are not used. Fixes compiler warning 2013-11-03 12:20:40 +02:00
Eugene Sandulenko 18b7c5fd9c PARALLACTION: Pass big value by reference rather than copying. CID 1003923 2013-11-03 12:20:39 +02:00
Strangerke c24ba381cb AVALANCHE: Fix CID 1109674 2013-11-03 10:51:15 +01:00
Paul Gilbert fbd365bb9a TSAGE: Renaming and unused variable removal from R2R gunpoint cutscene 2013-11-03 00:03:46 -04:00
Paul Gilbert b7f4da4de6 TSAGE: In progress renaming for R2R Flub Maze 2013-11-02 22:49:47 -04:00
Filippos Karapetis 4b1f426103 NEVERHOOD: Fix Klaymen's idle blinking animation in the teleporter
The wrong animation hash was used in stSitIdleTeleporterBlinkSecond()
2013-11-03 04:19:17 +02:00
Filippos Karapetis bee9e1bfd7 NEVERHOOD: Remove unused method drawShadowSurface() 2013-11-03 04:18:20 +02:00
Paul Gilbert 21a2fc6894 TSAGE: Renamings for R2R Teal confrontation scene 2013-11-02 20:51:35 -04:00
Paul Gilbert 5b696a003e TSAGE: Renaming for R2R corridors 2013-11-02 20:47:02 -04:00
Paul Gilbert 7f5aab983c TSAGE: Renamings and removoal of unused variable for R2R circular walkways 2013-11-02 20:41:11 -04:00
Paul Gilbert 6adee124b8 TSAGE: Renamings for R2R escape ship landing cutscene 2013-11-02 20:23:16 -04:00
Strangerke 15bf769003 TSAGE: R2R - Remove a useless variable in scene 800. This breaks savegame compatibility. 2013-11-03 01:16:51 +01:00
Eugene Sandulenko 1b408217bd FULLPIPE: Fix warnings 2013-11-03 01:55:58 +02:00
Eugene Sandulenko 2362498d54 SCUMM: Fix potential memory leak. CID 1003586 2013-11-03 01:28:03 +02:00
Eugene Sandulenko 69ac3bb944 FULLPIPE: Initialize variable. CID 1109665 2013-11-03 01:28:03 +02:00
Eugene Sandulenko aa2a6d7445 GUI: Skip useless assignment. CID 1002117 2013-11-03 01:28:03 +02:00
Eugene Sandulenko a71e59fd2d CINE: Remove unnecessary check. CID 1004117 2013-11-03 01:28:03 +02:00
Eugene Sandulenko 5d6c7fbcd1 RECORDER: Initialize variable. CID 1047258 2013-11-03 01:28:03 +02:00
Eugene Sandulenko 35236884d7 FULLPIPE: Implement MctlCompound::freeItems() 2013-11-03 01:28:03 +02:00
Paul Gilbert d7d88a25a4 TSAGE: Renamings for R2R base hall 2013-11-02 19:05:25 -04:00
Paul Gilbert e2d893f556 TSAGE: Renamings for R2R guard post 2013-11-02 18:56:21 -04:00
Paul Gilbert b4a0dfc903 TSAGE: Okay, now fixing pops at the end of sound effects. 2013-11-02 18:38:22 -04:00
Paul Gilbert 9cb4deda18 TSAGE: Bugfix to get rid of pops at the start of sound effects 2013-11-02 18:28:58 -04:00
Paul Gilbert 7bdd047f6a TSAGE: Renamings for R2R statis negator room 2013-11-02 18:24:40 -04:00
Paul Gilbert 51d766208c TSAGE: Renamings for Ralf/Tomko cutscene 2013-11-02 18:18:38 -04:00
Paul Gilbert 53e75d2217 TSAGE: Renamings for Teal monologue cutscene 2013-11-02 18:15:44 -04:00
Paul Gilbert 4dfd751210 TSAGE: Renamings for R2R guard cutscene 3230 2013-11-02 18:05:57 -04:00
Paul Gilbert 49a4564bb2 TSAGE: Renaming for R2R Rocko/Jocko cutscene 2013-11-02 17:59:11 -04:00
Paul Gilbert dd8271b32f TSAGE: Renamings for R2R captain/private cutscene 2013-11-02 17:56:08 -04:00
Paul Gilbert 88485f2b1f TSAGE: Renamings for R2R guard cutscene 2013-11-02 17:50:50 -04:00