aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-15CONFIGMAN: added defragmentation methods for one-plugin-at-a-timeYotam Barnoy
One-plugin-at-a-time can have fragmentation caused by the ConfigManager if a game changes any configuration value. By reallocating and copying over the ConfigManager, we avoid this problem. svn-id: r54243
2010-11-15PLUGINS: moved plugin-at-a-time unload to be after deleting the engine.Yotam Barnoy
Calling the Engine's destructor after unloading the plugin caused crashes. svn-id: r54242
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-13COMMON: Fix TranslationManagerThierry Crozat
Revision 54206 broke translations support because it uncovered a bug in the TranslationManager when reading the translations.dat file. In that file all the stored string lengths include the terminating 0 but Common::String expect a length without the terminating 0. Therefore all String objects created from reading the translations.dat file had an incorrect size. This caused the font file names to be wrong after adding the charset. svn-id: r54235
2010-11-13VIDEO: Switch Truemotion 1 to RGB565 for potential use with SCI CLUT tablesMatthew Hoops
svn-id: r54231
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-13TOOLS: Added MSVC10 project files for the create_hugo toolFilippos Karapetis
svn-id: r54229
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-11COMMON: Fix compilation when translation support is disabled (regression ↵Johannes Schickel
from r54207). svn-id: r54209
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-11COMMON: Cleanup translation manager code; add FIXMEMax Horn
svn-id: r54206
2010-11-11VIDEO: Add support for DK3 in videos; fix sample rate locationMatthew Hoops
svn-id: r54205
2010-11-11SOUND: Add DK3 IMA ADPCM decoder for duck videosMatthew Hoops
svn-id: r54204
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-11VIDEO: Cleanup AVI audio in preparation for DK3Matthew Hoops
svn-id: r54200
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-11VIDEO: Add the TrueMotion 1 codec for Phantasmagoria 2Matthew Hoops
Based on the FFmpeg decoder. Only the 16bpp version has been implemented (and all that should be needed). The videos I have tried work fine with the codec. The audio does not yet play in these videos, but I hope to work on DK3 IMA ADPCM soon. svn-id: r54194
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-10GRAPHICS: Enforce alphabetical order on the codec objectsMatthew Hoops
svn-id: r54191
2010-11-10PSP: changed renderer to render huge images properlyYotam Barnoy
The PSP HW wasn't able to calculate the proper stretching when given the whole image size on a huge image. This is also a better way to do it because we're not overwriting tiles of the texture. svn-id: r54190
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-10TOOLS: Remove CXXFLAGS rule from create_project module.mkJulien Templier
svn-id: r54187