aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17SCI: Added sanity checks for SCI3 scripts bigger than 64KBFilippos Karapetis
- Extended the "verify_scripts" console command for SCI3 scripts - Added a check for such large scripts when scripts are loaded, with an error for now, till a mechanism to support such scripts with a 16-bit addressing scheme is in place (e.g. overlaying, or splitting scripts). Either way, such scripts should span over more than one segment svn-id: r54304
2010-11-17SCI3: Implement opcode to retrieve the info selector.Lars Skovlund
svn-id: r54303
2010-11-17SCI3: Handle script exports correctlyLars Skovlund
svn-id: r54302
2010-11-17SCI3: relocate operand of the lofsa opcodeLars Skovlund
svn-id: r54301
2010-11-17MOHAWK: Cache the Myst screen bufferMatthew Hoops
This is needed for use with sliders. The screen is now updated fewer times as well. svn-id: r54300
2010-11-17CRUISE: Corrected uninit read of _polyStruct in ctp.cpp:49 detected by Valgrind.David Turner
This occurred during intro playback and was due to _polyStruct not being initialised to NULL during engine construction/initialisation. svn-id: r54299
2010-11-17SCI: Fixed the speed in the intro of PQ2, version 1.002.011 (bug #3102071)Filippos Karapetis
In version 1.002.011, global 3, used for timing, is incorrectly initialized to 0, whereas it should be 6 (like in other versions). Initializing it to the correct value fixes the speed in the intro. This has been based on the patch for that version by NewRisingSun(NRS) / Belzorash svn-id: r54298
2010-11-17MOHAWK: Apply patch #2988976: "MYST: Fix drawing partial subimages"Matthew Hoops
svn-id: r54297
2010-11-17Adapt SCI property instructions (pToa etc.) to SCI3Lars Skovlund
svn-id: r54296
2010-11-17SCI1.1 and newer games always ignore move count. The "version" command works ↵Filippos Karapetis
now in SCI3 svn-id: r54295
2010-11-17SCI: Remove key modifier (e.g. num lock) status for keyboard function keys. ↵Filippos Karapetis
This fixes function key input (e.g. F3) when num lock is on svn-id: r54294
2010-11-17SCI: lofsa/lofss functionality for SCI3Filippos Karapetis
- Updated detectLofsType() for SCI3 - Cleaned up op_lofsa and op_lofss and updated them for SCI3 svn-id: r54293
2010-11-17SCI: Allow SCI3 game scripts to runFilippos Karapetis
SCI3 scripts do start up now, however they stop quite early, as there is still missing functionality which prevents them from running fully. This will be useful for debugging, though svn-id: r54292
2010-11-17SCI: Added some SCI3 selector related informationFilippos Karapetis
- Added a TODO for the usage of the -info- selector in kClone and kDisposeClone in SCI3 scripts, as it's no longer used in SCI3 - Added information about which of the selectors are missing in SCI3. There are some more which are missing, but aren't used in SCI2-SCI3 anyway - Some styling svn-id: r54291
2010-11-17SCI: Make class table size OB1 workaround slightly more readableMax Horn
svn-id: r54290
2010-11-17SCI: Fixed the return values of Object::relocateSci3()Filippos Karapetis
svn-id: r54289
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
2010-11-17GRAPHICS: colour -> colorMax Horn
svn-id: r54287
2010-11-17TINSEL: Get rid of some global variablesMax Horn
These were actually all "harmless" (i.e. where no obstructions to RTL support). Still good to get rid of 'em! svn-id: r54286
2010-11-17SCI: Change 'colour' to 'color'Max Horn
All other instances already were spelled 'color' in the SCI engine (and also most other parts of ScummVM) svn-id: r54285
2010-11-17SCI3: added a SCI3 implementation of findGameObject(), based on a patch by ↵Filippos Karapetis
lskovlun svn-id: r54284
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