aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-11-15LASTEXPRESS: Protect sound queue accesses with mutexJulien Templier
Sound entries were being streamed before the data was fully loaded and queue addition/removal could happen while the sound timer was going through the queue (reported by digitall). svn-id: r54241
2010-11-15SCI: Workaround for bug #3109299 "QFG1VGA: Crash when leaving area east of ↵David Turner
Antwerp" Extended current workarounds to cover QFG1VGA. svn-id: r54239
2010-11-14GUI: Fix GMM labels translation for SCUMM engineThierry Crozat
In the SCUMM engine (and maybe other engines), the GMM Dialog is created in the engine constructor and before the window resolution is updated (so it is still using the resolution from the Launcher). Therefore if the global scaler is x2 but a SCUMM game overwrite it to use x1, it was not using the correct labels when they had a different translation for the lowres context. svn-id: r54237
2010-11-14LURE: Fix for Valgrind identified memory leaksPaul Gilbert
svn-id: r54236
2010-11-13SCI: Fixup pathfinding start point when on polygon edge.Walter van Niftrik
We now also fixup the start point when it's on the edge of an obstacle. If the start point is also on the edge of the screen, the actor is now allowed to walk through that obstacle to find his way to clear territory. This is based on observation of SSCI behavior. svn-id: r54230
2010-11-13HUGO: Fixed crash on exit when hugo.dat is not availableFilippos Karapetis
svn-id: r54228
2010-11-13SCI: Fixed script bug #3108012 - "Hoyle1: Crash when changing Deal Speed in ↵Filippos Karapetis
Hearts" svn-id: r54226
2010-11-13HUGO: Close two minor memory leaks.David Turner
Destructor added to SoundHandler and added delete for _intro in engine destructor. svn-id: r54225
2010-11-13TOON: Fix free/malloc mismatchSylvain Dupont
svn-id: r54224
2010-11-13TOON: Fix more memory leaksSylvain Dupont
Mainly leaks in audio and animations svn-id: r54223
2010-11-13TOON: Fixed menu music leakSylvain Dupont
svn-id: r54222
2010-11-13TOON: Walk animation improvedSylvain Dupont
Smoothing direction changes. Still needs to be polished though. svn-id: r54221
2010-11-13SCI: Update resource types for SCI2.1/3Matthew Hoops
svn-id: r54220
2010-11-12TOON: Fix audio crashs and more memory leaksSylvain Dupont
svn-id: r54219
2010-11-12TOOL+HUGO: Misc modificationsArnaud Boutonné
- Fix H1 Dos bug (animations not showing in Hall and after) - Get rid of _textSchedule and everything related H1 Dos shoud now be completable (not tested yet) svn-id: r54218
2010-11-12Fixed signed/unsigned warningFilippos Karapetis
svn-id: r54217
2010-11-12SCI: Don't check for SCI2/SCI2.1 kernel types in SCI3 games. Filippos Karapetis
Patch by lskovlun svn-id: r54216
2010-11-11SCI: kSave case 0 is actually kSaveGame. Based on a patch by lskovlunFilippos Karapetis
svn-id: r54215
2010-11-11SCI2: Make robots return immediately for now, till they're implementedFilippos Karapetis
Based on a patch by lskovlun svn-id: r54214
2010-11-11SCI: Properly adding SCI3 script patches (a regression of r54211)Filippos Karapetis
svn-id: r54213
2010-11-11HUGO: Cleanup, move several functions and variables to the object classArnaud Boutonné
svn-id: r54212
2010-11-11SCI: Use the new CSC extension for SCI3 scriptsFilippos Karapetis
svn-id: r54211
2010-11-11SCI: Some video related changesFilippos Karapetis
- Now playVideo() is used when playing videos from the console (reducing code duplication) - Added support for 16bpp scaling in scale2x, so that the 16-bit color Duck videos are scaled correctly svn-id: r54210
2010-11-11SCI: Added the "DUK" video folder to the Search managerFilippos Karapetis
The DUK folder contains all of the recently supported Duck videos in Phantasmagoria 2. play_video works now with the videos of Phantasmagoria 2 :) svn-id: r54208
2010-11-11LASTEXPRESS: Silence potential warnings about extra semicolonsMax Horn
svn-id: r54207
2010-11-11LASTEXPRESS: Remove superflous if check in SAFE_DELETE.Johannes Schickel
svn-id: r54203
2010-11-11TOOL: Suppress useless strings in textUtil Arnaud Boutonné
Also add DOS version for this text array svn-id: r54202
2010-11-11LASTEXPRESS: Use SAFE_DELETE for class variablesJulien Templier
svn-id: r54201
2010-11-11SCI: Allow paths along the edge of the screen in kAvoidPath.Walter van Niftrik
Paths along the edge of the screen are now taken as a last resort. Fixes bugs #3047418 and #3059595. svn-id: r54199
2010-11-11HUGO: Suppress the use of Utils::Error, cleanupArnaud Boutonné
svn-id: r54198
2010-11-11SCI: Fixed bug #3104624 - "PQ3: Crash when loading saved game on the highway"Filippos Karapetis
svn-id: r54197
2010-11-11LASTEXPRESS: Fix more memory leaksJulien Templier
- Missing deallocation of queued frames in SceneManager - Leaking functor on each call to entity setup functions - Add SoundEntry destructor & better Entity cleanup as reported by digitall svn-id: r54196
2010-11-11SCI: Allow duck videos to be played from the consoleMatthew Hoops
svn-id: r54195
2010-11-11LASTEXPRESS: Fix some memory leaksJulien Templier
- Reading past the end of file in SaveLoad::init - Missing deallocation of cache in SoundManager - Missing deallocation of coords in SceneHotspot - Missing deallocation of event handlers in LastExpressEngine::setEventHandlers - Missing deallocation of InSaveFile in SaveLoad::isSavegameValid - Missing deallocation of frames in Menu as reported by digitall svn-id: r54193
2010-11-10SCI: Add missing new lineMatthew Hoops
svn-id: r54189
2010-11-10SCI3: Some changesFilippos Karapetis
- Placed the SCI3 version detection in the proper place - Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are ignored, for now svn-id: r54188
2010-11-10TOON: Even more corrections to close memory leaks.David Turner
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a few still remain. svn-id: r54185
2010-11-10SWORD25: Added basic debugging console to engine (Command Key Disabled)David Turner
Since SWORD25 uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. However, this is not currently usable as the command key code is commented out. This is due to the event loop which reads keyboard input being buried 2 object layers below the Engine VM object and I am unsure how the engine development team would want this exposed / interfaced. svn-id: r54184
2010-11-10SCI: Fix SCI2.1+ fallback detectionMatthew Hoops
Each map has to be mapped with its own specific volume (as opposed to earlier versions that had one map for all volumes); this code was passing the same map pointer for all volumes. svn-id: r54179
2010-11-10SCI: Some SCI3 changesFilippos Karapetis
- Extended the SCI2.1 kernel function signatures for SCI3, as they share the same kernel table - All the engine parts are now initialized in SCI3 games, apart from the VM svn-id: r54178
2010-11-10SCI: Updated the SCI2.1 kernel function table with the SCI3 changes/additionsFilippos Karapetis
svn-id: r54177
2010-11-09TOON: More corrections to close memory leaks.David Turner
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain. svn-id: r54176
2010-11-09HUGO: Fix the last leaks in H1 DosArnaud Boutonné
Thanks Hkz for the help! svn-id: r54175
2010-11-09SCI: Removed the Shivers 2 hack from the segment manager (it isn't SCI)Filippos Karapetis
svn-id: r54174
2010-11-09SCI3: Removed detection and any possible support of Shivers 2Filippos Karapetis
Shivers 2 doesn't contain SCI scripts. The whole game logic has been reimplemented from SCI in native code placed in DLL files. Each room has its own DLL file, and some SCI functions have been reimplemented/rewritten for this purpose in native code. The game and demo have all the resources of a SCI game, apart from the SCI scripts themselves. Thus, they cannot be directly supported, unless their whole room logic is rewritten from scratch, which classifies Shivers 2 as "not SCI" svn-id: r54173
2010-11-09HUGO: Fix several memory leaksArnaud Boutonné
svn-id: r54168
2010-11-09SCI: Some slight work on SCI3Filippos Karapetis
- Enabled the SCI3 game entries for testing purposes - The resource manager is initialized fully now (with a slight hack) - Added a hack for the demo of Shivers 2 (which seemingly has no scripts or vocabularies) - The engine will stop before parsing any game scripts in SCI3 games, and opens the console for resource manager-related functionality svn-id: r54167
2010-11-09MOHAWK: Fix one more memory leak (hopefully the last :))Matthew Hoops
svn-id: r54166
2010-11-09MOHAWK: Fix cache memory leak and some formattingMatthew Hoops
svn-id: r54165
2010-11-09MOHAWK: Fix memory leaks (thanks to digitall for finding)Matthew Hoops
svn-id: r54164