aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-02-10SCI: Fix (rare) leak in kSaveGame, tweak kFileIOFindNext, cleanupMax Horn
svn-id: r55867
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-09SCI: Do not try to dereference object name when it's not a pointer.Walter van Niftrik
Stops flood of warnings in some Mac titles. svn-id: r55849
2011-02-08SCI: Changed the warning when applying script patches into a debug output callFilippos Karapetis
svn-id: r55837
2011-02-08SCI: Some work on robot videosFilippos Karapetis
- The size of the videos is now calculated when they are loaded (this helps remove some nasty hacks and constant memory reallocations and simplifies the code) - Some work on frame placement (e.g. in robot 1305, Phantasmagoria) svn-id: r55830
2011-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-06SCI: Improve Mac SCI1.1+ cursor supportMatthew Hoops
The scripts can pass a list of view id's from the DOS version that get remapped to CURS/crsr id's. GK1 cursors now work and Phantasmagoria uses the correct ones. svn-id: r55791
2011-02-05SCI: Add support for BE selector name tablesMatthew Hoops
svn-id: r55780
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-02-03SCI: Add a stub for kFont which calls kSetFontRes as a subopMatthew Hoops
svn-id: r55755
2011-02-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
2011-02-03SCI21: Some robot related changesFilippos Karapetis
- Don't reallocate the frame buffer on each update if its dimensions haven't changed - Don't attempt to display the currently unsupported v4 robot files (used in PQ:SWAT) - Signed/unsigned fixes - Disabled the unused getFrameRect() function - Some cleanup and reordering svn-id: r55752
2011-02-03SCI: Fix GK1 Mac messagesMatthew Hoops
svn-id: r55750
2011-02-03SCI: Properly reset the array/string segment idsMatthew Hoops
svn-id: r55749
2011-02-03SCI: Disable the special QFG1 Mac icon barMatthew Hoops
The original interpreter completely ignores it in favor of the regular one. svn-id: r55748
2011-02-02SCI: Add comment about GK1 Mac using kSetFontResMatthew Hoops
svn-id: r55719
2011-02-01SCI: Make Hoyle4 workarounds without names so they work in the Mac version ↵Matthew Hoops
(that has no class names) svn-id: r55711
2011-01-26SCI: Make SCI3 propertyId endianness hack a bit cleanerWillem Jan Palenstijn
svn-id: r55542
2011-01-25SCI: cleanupMax Horn
svn-id: r55539
2011-01-25SCI3: Fix script abort during startup on Big Endian platformsLars Skovlund
svn-id: r55525
2011-01-23SCI: Fixed possible use of uninitialized variable in SCI Script Debugger.David Turner
svn-id: r55487
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2011-01-22SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, ↵Filippos Karapetis
references of the SciEngine class to itself via g_sci have been removed svn-id: r55422
2011-01-21SCI: Add comment for GK1 workaround.Lars Skovlund
svn-id: r55391
2011-01-21SCI: Fix GK1 breaking into the debugger when watching the introLars Skovlund
svn-id: r55386
2011-01-21SCI: Partial robot support, currently disabled since it does not runLars Skovlund
asynchronously as it should. svn-id: r55382
2011-01-15SCI: Added a hack to fix bug #3122075 - "LB1: Game play freezes when taking ↵Filippos Karapetis
shower" This is a regression from the new kInitBresen/kDoBresen functions, enabled in r52467. Many thanks to waltervn for his work in bisecting this. The actual bug should be found, but since only this death scene has an issue, it's not really worth the effort. The old functions are based on observations, so there are many differences in the way that they behave. If another test case is found, then this shall be examined further. Until then, this simple and unobtrusive hack will do. svn-id: r55251
2011-01-15SCI: cleaned up checkSelectorBreakpoint()Filippos Karapetis
svn-id: r55250
2011-01-12SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"Filippos Karapetis
svn-id: r55218
2011-01-12SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom ↵Filippos Karapetis
version crash on escape" svn-id: r55217
2011-01-12SCI: Simplified the kMoveCursor codeFilippos Karapetis
svn-id: r55216
2011-01-09SCI2: Some documentation/stubsFilippos Karapetis
- Fully documented the parameters of kSetShowStyle - Added another subop stub for kCreateTextBitmap svn-id: r55183
2011-01-08SCI2: Updated commentsFilippos Karapetis
svn-id: r55177
2011-01-08SCI2.1: Added a comment with the SCI2.1 games using a SCI2 kernelFilippos Karapetis
svn-id: r55176
2011-01-08SCI2.1: Added some information about kSetPalStyleRange, kNewRoom and kMorphOnFilippos Karapetis
svn-id: r55165
2011-01-08SCI2.1: Some stubs used by SQ6Filippos Karapetis
- Added a stub and some info about the (large) kScrollWindow kernel call - Added info about kMovePlaneItems svn-id: r55163
2011-01-08SCI2.1: Some functionality for Phantasmagoria 1 and MUMG DeluxeFilippos Karapetis
- Added a stub for kSetLanguage, used in MUMG Deluxe - this needs support at the resource manager level - Made kGetSierraProfileInt a stub function (it's used in the Windows version of Phantasmagoria 1 to override the video speed setting obtained from kGetConfig) svn-id: r55161
2011-01-08SCI: Fixed typoFilippos Karapetis
svn-id: r55160
2011-01-08SCI: Fixed a typoFilippos Karapetis
svn-id: r55159
2011-01-08SCI2.1: Added/documented some functionality used by Shivers 1Filippos Karapetis
- Added kFileIO subop 17 (create save slot) - Added information about a (probably debug) kernel function used in a puzzle, kCelInfo - Added some information on two kSave subops - Added 2 workarounds for uninitialized variables svn-id: r55158
2011-01-07SCI: Moved the handling of the op_line debug opcode inside ↵Filippos Karapetis
readPMachineInstruction() The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a lot of parts of the code depend on this function handling all opcodes correctly (e.g. the script dissassembler, the features class, find_callk etc) svn-id: r55154
2011-01-07SCI: Removed leftover end markers from the opcode formats arrayFilippos Karapetis
svn-id: r55153
2011-01-07SCI2/2.1: Improvements to the find_callk debug function, and some kernel ↵Filippos Karapetis
function updates - Improved the find_callk function to properly find the end of script objects, by monitoring jump calls - Added three extra special calls to find_callk: find kernel function calls to dummy, unused and unmapped kernel functions - Updated several kernel function calls because of the above functionality - The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added a FIXME for it svn-id: r55151
2011-01-07SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)Filippos Karapetis
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug functions with empty function calls - Marked several unused or debug kernel functions as stub - Added some games where the rest of the unimplemented SCI2.1 kernel functions are used svn-id: r55138
2011-01-07SCI2.1: Added a sanity check for VMD video positioning, for the demo of ↵Filippos Karapetis
Lighthouse svn-id: r55137
2011-01-04SCI: CleanupFilippos Karapetis
svn-id: r55123
2011-01-04SCI: Fixed part of bug #3150767 - "KQ5 French crash on startup, only partial ↵Filippos Karapetis
English text" This is a regression from r54510 svn-id: r55122
2011-01-04SCI: Slight cleanup to the garbage collectorFilippos Karapetis
svn-id: r55116