aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-18SCI: Added a stub for a new subop in kString, and disabled ↵Filippos Karapetis
trackOriginAndFindWorkaround() for SCI3 games for now svn-id: r54352
2010-11-18SCI: Added species selector functionality for SCI3Filippos Karapetis
svn-id: r54351
2010-11-18SCI: Removed SCI3 hacks in kClone/kDisposeCloneFilippos Karapetis
svn-id: r54350
2010-11-18SCI: Slight formatting fix and use \t instead of a tab character in debugN.Johannes Schickel
svn-id: r54349
2010-11-18SCI: Fix debugger disassembly of property accesses in SCI3Lars Skovlund
svn-id: r54348
2010-11-18SCI3: Fix new opcode 0x4eLars Skovlund
svn-id: r54347
2010-11-18GUI: Make activeDialog in runLoop const, since it should not be changed.Johannes Schickel
svn-id: r54346
2010-11-18MOHAWK: Add support for Riven 24bpp images (not yet used)Matthew Hoops
svn-id: r54345
2010-11-18COMMON: Change wrapBufferedWriteStream() to always disposes wrapped streamMax Horn
This is the only we need right now, and it saves a few bytes per instance. The template approach I used before has the drawback that it increases the binary size, which negates the benefit. Thanks to LordHoto for pointing this out. svn-id: r54344
2010-11-18PS2: Fix use of Ps2File::_sema w/o __PS2_FILE_SEMA__ guardMax Horn
svn-id: r54343
2010-11-18M4: Do not use Common::SubReadStream where ReadStream sufficesMax Horn
svn-id: r54342
2010-11-18SCI3: Added another previously unused opcode (0x27 / 0x4e)Filippos Karapetis
svn-id: r54341
2010-11-18SCI2: Treat SCI2 raw arrays (type 3) as strings in kArrayFilippos Karapetis
SCI2 strings inherit from arrays, plus kArray and kString are almost the same, so this is all possible. This is needed, as SCI scripts copy strings on arrays and then process them as such (e.g. in RAMA and LSL7) However, we really need to merge SCI2 array types with the SCI2 string types, and ultimately merge the code with the SCI1 array and string types. svn-id: r54340
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-11-18MOHAWK: Cleanup bitmap surface and pack/draw function handlingMatthew Hoops
svn-id: r54338
2010-11-18GUI: Simplify Tooltip implementation.Johannes Schickel
Formerly there was much special handling for the Tooltip dialog in GuiManager::runLoop. This was replaced by overloading the event handling functions in Tooltip. Also the Tooltip was adapted to be run like every other normal dialog. svn-id: r54337
2010-11-18COMMON: Turn BufferedWriteStream into a template class, with ↵Max Horn
disposeParentStream as param svn-id: r54336
2010-11-18DS: Add note that ARM_ADPCM is unused (and fix a typo)Max Horn
svn-id: r54335
2010-11-18DS: cleanupMax Horn
svn-id: r54334
2010-11-18Get rid of a const_cast.Lars Skovlund
svn-id: r54333
2010-11-18DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStreamMax Horn
svn-id: r54332
2010-11-18DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream insteadMax Horn
svn-id: r54331
2010-11-18SCI: Slight formatting fix.Johannes Schickel
svn-id: r54330
2010-11-18DS: Avoid needlessly allocating temporary Common::String instancesMax Horn
svn-id: r54329
2010-11-18SCI3: implement setInfoSelector() for SCI3, fixes infinite recursionLars Skovlund
svn-id: r54328
2010-11-18SCI3: Add proper support for the calle instructionLars Skovlund
svn-id: r54327
2010-11-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
2010-11-18DS: Port changes from 1.2.0 branch to trunkMax Horn
svn-id: r54325
2010-11-18Fix operator precedence problemLars Skovlund
svn-id: r54324
2010-11-18ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵Max Horn
avoid using 'using' svn-id: r54323
2010-11-18COMMON: Fix incorrect use of assert() macroMax Horn
The assert() macro may be compiled to be empty. In that case, its arguments are *NOT* evaluated. Hence, things like assert(doSomething()) must not be used whenever doSomething() has important side effects. Also document BufferedWriteStream::flushBuffer() and explain why it exists parallel to BufferedWriteStream::flush(). svn-id: r54322
2010-11-18DS: Two more 'FILE' related fixes/workaroundsMax Horn
svn-id: r54321
2010-11-18MOHAWK: Remove unused drawRLE() functionMatthew Hoops
svn-id: r54320
2010-11-18MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)Matthew Hoops
svn-id: r54319
2010-11-18DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵Max Horn
DS backend svn-id: r54318
2010-11-18DS: Fix compilation despite use of 'forbidden' symbolsMax Horn
svn-id: r54317
2010-11-18PSP: reduced fragmentation by allocating overlay just onceYotam Barnoy
svn-id: r54316
2010-11-18MAIN: initialized more singletons early to prevent fragmentation.Yotam Barnoy
svn-id: r54315
2010-11-18TOOLS: Do not copy SCUMM MD5 data to web SVN module anymoreMax Horn
svn-id: r54314
2010-11-18PSP: added backtracing function for debuggingYotam Barnoy
Currently not used by anything. svn-id: r54312
2010-11-18GUI: changed tooltip to be deleted when inactiveYotam Barnoy
Before, it could be instantiated after an engine loaded and then was never deleted, causing memory fragmentation. Also removed inner tooltip call to the GuiManager runloop, which makes the logic simpler since the tooltip is a bit of a hack. I had to remove it because deleting _tooltip in the inner loop (called from tooltip itself) is trouble. svn-id: r54311
2010-11-18MAIN: added early call to getAudioCdManager to prevent late allocationYotam Barnoy
This reduces fragmentation. svn-id: r54310
2010-11-18MOHAWK: Cleanup Myst script handlingMatthew Hoops
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152. svn-id: r54309
2010-11-18TOOLS: Update create_msvc batch filesJulien Templier
- Add support for /clean switch to remove all created files - Add switches for generating stable & all engines - Add command line help - Properly initialize answer variables to default choice svn-id: r54308
2010-11-17SCI: Added hacks in kClone/kDisposeClone for SCI3Filippos Karapetis
svn-id: r54307
2010-11-17SCI: Call lookupArray() after allocateArray() when duplicating arraysFilippos Karapetis
This ensures that the pointer to the element that lookupArray() returned won't be invalidated in case the array is reallocated because of allocateArray() - same issue as in kClone() svn-id: r54306
2010-11-17SCI: Code formattingFilippos Karapetis
svn-id: r54305
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