Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-18 | COMMON: Turn BufferedWriteStream into a template class, with ↵ | Max Horn | |
disposeParentStream as param svn-id: r54336 | |||
2010-11-18 | DS: Add note that ARM_ADPCM is unused (and fix a typo) | Max Horn | |
svn-id: r54335 | |||
2010-11-18 | DS: cleanup | Max Horn | |
svn-id: r54334 | |||
2010-11-18 | Get rid of a const_cast. | Lars Skovlund | |
svn-id: r54333 | |||
2010-11-18 | DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStream | Max Horn | |
svn-id: r54332 | |||
2010-11-18 | DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream instead | Max Horn | |
svn-id: r54331 | |||
2010-11-18 | SCI: Slight formatting fix. | Johannes Schickel | |
svn-id: r54330 | |||
2010-11-18 | DS: Avoid needlessly allocating temporary Common::String instances | Max Horn | |
svn-id: r54329 | |||
2010-11-18 | SCI3: implement setInfoSelector() for SCI3, fixes infinite recursion | Lars Skovlund | |
svn-id: r54328 | |||
2010-11-18 | SCI3: Add proper support for the calle instruction | Lars Skovlund | |
svn-id: r54327 | |||
2010-11-18 | COMMON: Make implementation of Buffered*Stream classes internal | Max Horn | |
svn-id: r54326 | |||
2010-11-18 | DS: Port changes from 1.2.0 branch to trunk | Max Horn | |
svn-id: r54325 | |||
2010-11-18 | Fix operator precedence problem | Lars Skovlund | |
svn-id: r54324 | |||
2010-11-18 | ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵ | Max Horn | |
avoid using 'using' svn-id: r54323 | |||
2010-11-18 | COMMON: Fix incorrect use of assert() macro | Max 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-18 | DS: Two more 'FILE' related fixes/workarounds | Max Horn | |
svn-id: r54321 | |||
2010-11-18 | MOHAWK: Remove unused drawRLE() function | Matthew Hoops | |
svn-id: r54320 | |||
2010-11-18 | MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie) | Matthew Hoops | |
svn-id: r54319 | |||
2010-11-18 | DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵ | Max Horn | |
DS backend svn-id: r54318 | |||
2010-11-18 | DS: Fix compilation despite use of 'forbidden' symbols | Max Horn | |
svn-id: r54317 | |||
2010-11-18 | PSP: reduced fragmentation by allocating overlay just once | Yotam Barnoy | |
svn-id: r54316 | |||
2010-11-18 | MAIN: initialized more singletons early to prevent fragmentation. | Yotam Barnoy | |
svn-id: r54315 | |||
2010-11-18 | TOOLS: Do not copy SCUMM MD5 data to web SVN module anymore | Max Horn | |
svn-id: r54314 | |||
2010-11-18 | PSP: added backtracing function for debugging | Yotam Barnoy | |
Currently not used by anything. svn-id: r54312 | |||
2010-11-18 | GUI: changed tooltip to be deleted when inactive | Yotam 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-18 | MAIN: added early call to getAudioCdManager to prevent late allocation | Yotam Barnoy | |
This reduces fragmentation. svn-id: r54310 | |||
2010-11-18 | MOHAWK: Cleanup Myst script handling | Matthew 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-18 | TOOLS: Update create_msvc batch files | Julien 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-17 | SCI: Added hacks in kClone/kDisposeClone for SCI3 | Filippos Karapetis | |
svn-id: r54307 | |||
2010-11-17 | SCI: Call lookupArray() after allocateArray() when duplicating arrays | Filippos 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-17 | SCI: Code formatting | Filippos Karapetis | |
svn-id: r54305 | |||
2010-11-17 | SCI: Added sanity checks for SCI3 scripts bigger than 64KB | Filippos 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-17 | SCI3: Implement opcode to retrieve the info selector. | Lars Skovlund | |
svn-id: r54303 | |||
2010-11-17 | SCI3: Handle script exports correctly | Lars Skovlund | |
svn-id: r54302 | |||
2010-11-17 | SCI3: relocate operand of the lofsa opcode | Lars Skovlund | |
svn-id: r54301 | |||
2010-11-17 | MOHAWK: Cache the Myst screen buffer | Matthew Hoops | |
This is needed for use with sliders. The screen is now updated fewer times as well. svn-id: r54300 | |||
2010-11-17 | CRUISE: 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-17 | SCI: 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-17 | MOHAWK: Apply patch #2988976: "MYST: Fix drawing partial subimages" | Matthew Hoops | |
svn-id: r54297 | |||
2010-11-17 | Adapt SCI property instructions (pToa etc.) to SCI3 | Lars Skovlund | |
svn-id: r54296 | |||
2010-11-17 | SCI1.1 and newer games always ignore move count. The "version" command works ↵ | Filippos Karapetis | |
now in SCI3 svn-id: r54295 | |||
2010-11-17 | SCI: 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-17 | SCI: lofsa/lofss functionality for SCI3 | Filippos Karapetis | |
- Updated detectLofsType() for SCI3 - Cleaned up op_lofsa and op_lofss and updated them for SCI3 svn-id: r54293 | |||
2010-11-17 | SCI: Allow SCI3 game scripts to run | Filippos 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-17 | SCI: Added some SCI3 selector related information | Filippos 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-17 | SCI: Make class table size OB1 workaround slightly more readable | Max Horn | |
svn-id: r54290 | |||
2010-11-17 | SCI: Fixed the return values of Object::relocateSci3() | Filippos Karapetis | |
svn-id: r54289 | |||
2010-11-17 | ENGINES: Change 'colour' to 'color' | Max Horn | |
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288 | |||
2010-11-17 | GRAPHICS: colour -> color | Max Horn | |
svn-id: r54287 | |||
2010-11-17 | TINSEL: Get rid of some global variables | Max Horn | |
These were actually all "harmless" (i.e. where no obstructions to RTL support). Still good to get rid of 'em! svn-id: r54286 |