aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17SCI: More work on SCI3, based on a patch by lskovlunFilippos Karapetis
- Added SCI3 equivalents for access to object selectors - Added SCI3 implementation of object relocation - Added SCI3 implementation of Script::initialiseClasses() svn-id: r54283
2010-11-17SCI: Some more work on SCI3, based on a patch by lskovlunFilippos Karapetis
- Added a SCI3 implementation of Script::load() - Added a SCI3 implementation of Script::initialiseClasses() - Removed some duplicate code svn-id: r54282
2010-11-17SCI: Added the SCI3 equivalent of initialiseObjects(), from a patch by lskovlunFilippos Karapetis
svn-id: r54281
2010-11-17SCI: Some restructuring. Added some SCI3 placeholders/stubsFilippos Karapetis
svn-id: r54280
2010-11-17SCI: The heap was a separate resource in SCI1.1 - SCI2.1 games only. It was ↵Filippos Karapetis
later merged into the script files again in SCI3 svn-id: r54279
2010-11-17SCI: Specify that -1 means "all maps" when listing base36-encoded resourcesFilippos Karapetis
svn-id: r54278
2010-11-17SCI: Updated dissectScript() to handle synonym blocksFilippos Karapetis
svn-id: r54277
2010-11-17SCI: Unified the functionality and parameters of the disasm and disasm_addr ↵Filippos Karapetis
commands svn-id: r54276
2010-11-17SCI: Added the ability to display original script bytecode in the "disasm" ↵Filippos Karapetis
console command svn-id: r54275
2010-11-16SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"Filippos Karapetis
svn-id: r54272
2010-11-16TINSEL: Fixed compilation with MSVCFilippos Karapetis
svn-id: r54271
2010-11-16LASTEXPRESS: Fix SequenceFrame leak in Entities codeJulien Templier
- Add EntityCallData destructor to dispose of frames & Sequences - Properly dispose of frames in Entities::resetSequences() svn-id: r54270
2010-11-16GUI: Fixed build failure in console due to missing header.David Turner
svn-id: r54268
2010-11-16GUI: Push down some header (inter)dependenciesMax Horn
svn-id: r54267
2010-11-16GUI: Commit some changes missing in my previous commit (oops)Max Horn
svn-id: r54266
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-16TINSEL: Remove unnecessary 'static'Max Horn
svn-id: r54263
2010-11-16TINSEL: Mark all (?) global vars with a FIXME commentMax Horn
Use of global vars is what prevents RTL from working in Tinsel (and probably in other engines). More specifically, the fact that many global vars are not explicitly inited when the engine is (re)launched. svn-id: r54262
2010-11-16TINSEL: Removed unnecessary 'static'Max Horn
svn-id: r54261
2010-11-16GUI: Fixed Memory Leak in RadiobuttonGroup usage in Options Dialog.David Turner
RadiobuttonGroup has a destructor which must be called to avoid leaking memory. Have also added missing NULL init() declarations on object member pointers to avoid any future issues. svn-id: r54260
2010-11-16COMMON: Reverting r54257 as _singleton already was protected (and I am blind :)Max Horn
svn-id: r54259
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-16COMMON: Make Common::Singleton::_singleton protected instead of publicMax Horn
svn-id: r54257
2010-11-15GUI: Fix bug in ThemeEngine::addFont related to localized fontsMax Horn
Basically, it was remembering the font under its non-localized name. This resulted in a leak, and potentially could have caused the wrong font to be used in a localization. svn-id: r54256
2010-11-15GUI: Tweak ThemeEngine methods to use Common::String params & const qualifierMax Horn
svn-id: r54255
2010-11-15NEWS: Add Hungarian translation item for version 1.2.1Thierry Crozat
svn-id: r54254
2010-11-15CREDITS: Add Hungarian translator.Thierry Crozat
svn-id: r54252
2010-11-15I18N: Update Hungarian translation and add iso-8859-2 fonts to themes.Thierry Crozat
The new Hungarian translation is from patch #3109396 svn-id: r54251
2010-11-15I18N: Update translation template and po files from source codeThierry Crozat
svn-id: r54250
2010-11-15LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound classJulien Templier
svn-id: r54247
2010-11-15LASTEXPRESS: Fix frame leak in Entities::processFrame()Julien Templier
When not keeping the previous frame, the current frame was overwritten. We now delete it before assigning a new value. svn-id: r54246
2010-11-15LASTEXPRESS: Update Animation::process()Julien Templier
- Use Common::Rational to compute the current frame - Added check for _currentChunk != NULL - Add constructor to Chunk structure svn-id: r54245
2010-11-15LASTEXPRESS: Don't use NULL in arithmetic (silences a warning)Matthew Hoops
svn-id: r54244
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