aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-07-28SCI: Avoid using perror (it's not portable)Max Horn
svn-id: r42866
2009-07-25Use new Common::String::printfWillem Jan Palenstijn
svn-id: r42744
2009-07-19SCI: check shouldQuit() in main loopWillem Jan Palenstijn
svn-id: r42609
2009-07-18SCI: Fix breakpointsWillem Jan Palenstijn
svn-id: r42599
2009-07-18SCI: Fix disasm_addr option parsingWillem Jan Palenstijn
svn-id: r42598
2009-07-18SCI: don't leave debugger after btWillem Jan Palenstijn
svn-id: r42589
2009-07-18SCI: Fix stepping in debuggerWillem Jan Palenstijn
svn-id: r42587
2009-07-16Added a proper fix for Pepper (the previous one caused regressions in KQ6)Filippos Karapetis
svn-id: r42533
2009-07-16Added missing information for the newly-added version of PepperFilippos Karapetis
svn-id: r42525
2009-07-16Added the French version of KQ5 floppy (bug report #2812611)Filippos Karapetis
svn-id: r42524
2009-07-16Added a detection entry for Pepper's Adventures in Time, and fixed an issue ↵Filippos Karapetis
with _gfxop_set_pic(), which was causing crashes in that game svn-id: r42523
2009-07-11Moved the kernel and the vocabulary outside of the engine state (they're ↵Filippos Karapetis
static data, which never changes during a game) svn-id: r42398
2009-07-11Changed an incorrect warning back to scidprintf - the relevant message is ↵Filippos Karapetis
for testing only svn-id: r42394
2009-07-11Some work on QFG1VGA (looks like a mix of SCI1 and SCI1.1)Filippos Karapetis
svn-id: r42393
2009-07-11Removed the version parameter from GfxResManagerFilippos Karapetis
svn-id: r42387
2009-07-11If we fail to auto-detect either the volume or the map version, set the one ↵Filippos Karapetis
to be equal to the other svn-id: r42386
2009-07-11SCI: don't let TimerSongIterator loop forever, and don't immediatelyWillem Jan Palenstijn
signal completion when starting it. This fixes a sync issue with the departing spaceship at the start of SQ4CD (after the intro). svn-id: r42385
2009-07-11Only error out, if checkStaticSelectorNames() fails.Travis Howell
svn-id: r42376
2009-07-11Applied patch 2818733 - "SCI: Timer iterator for audio resources played via ↵Filippos Karapetis
doSound" svn-id: r42375
2009-07-11Applied slightly modified patch 2819002 - "SCI: resource-view-patch on ↵Filippos Karapetis
SQ5/German fix" svn-id: r42374
2009-07-11Removed an invalid detection entryFilippos Karapetis
svn-id: r42373
2009-07-11Applied a slightly modified patch from clone2727 which adds static selector ↵Filippos Karapetis
names to some demos which are missing them (KQ4, LSL1, LSL3, Iceman and Christmas1992) svn-id: r42372
2009-07-11Fixed regression in the script parser from commit 42260Filippos Karapetis
svn-id: r42371
2009-07-10Applied patch #2819665 - "SCI: cell palette fix for QfG3/SQ5/etc."Filippos Karapetis
svn-id: r42345
2009-07-09Oops specify the correct revsision number in the fixme.Johannes Schickel
svn-id: r42306
2009-07-09Add fixme about SCI32 specific code.Johannes Schickel
svn-id: r42305
2009-07-09By comparing the commit log of r42300, it seems that "off" was renamed to ↵Johannes Schickel
"lastDirectoryOffset". I changed the SCI32 specific code to use that now. I can't assure this is anyhow correct, so anyone with knowledge of this code please check it. svn-id: r42303
2009-07-09Fix wrong format arugment.Johannes Schickel
svn-id: r42301
2009-07-09Applied patch #2818845 - "SCI: resource.map detection for SCI1/1.1 fixed", ↵Filippos Karapetis
with some slight formatting changes svn-id: r42300
2009-07-09restAdjust should be a signed integer. Fixes crashes with SCI1 games that ↵Filippos Karapetis
take absolute lofs parameters (a regression of commit #42260) svn-id: r42297
2009-07-08- Moved printObject inside the Console classFilippos Karapetis
- Enabled the parts where disassemble() is called svn-id: r42263
2009-07-08Only the kernel needs to be initialized before anything else, when ↵Filippos Karapetis
saving/loading svn-id: r42262
2009-07-08Fixed saving/loading again (broken with the latest changes for game feature ↵Filippos Karapetis
auto-detection) svn-id: r42261
2009-07-08Some cleanup for the script debugger code:Filippos Karapetis
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260
2009-07-07Silenced the very chatty song iterator console messages by converting them ↵Filippos Karapetis
to appropriate debug messages svn-id: r42240
2009-07-07Improved the LSL1VGA workaround after talking with waltervnFilippos Karapetis
svn-id: r42239
2009-07-07Added a workaround for incorrect font references in LSL1VGA (which was the ↵Filippos Karapetis
original purpose of the code removed in rev. 42219) svn-id: r42238
2009-07-07Removed the weird checks for a maximum resource number (the ↵Filippos Karapetis
sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges). svn-id: r42219
2009-07-07Removed the superfluous sci_version_types array (it's essentially the same ↵Filippos Karapetis
as the versionNames array) svn-id: r42216
2009-07-07Cleanup: added an enum for the auto-detected features, removed the selectors ↵Filippos Karapetis
which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console. svn-id: r42212
2009-07-07Added auto-detection for games with older headers for script blocks, and ↵Filippos Karapetis
removed game flag GF_SCI0_OLD svn-id: r42211
2009-07-07Added a SCI1.1 case in the lofss opcode, like in the lofsa opcode ↵Filippos Karapetis
(essentially, lofss and lofsa both load an offset, with lofsa loading it in the accumulator and lofss in the stack). lofss is rarely used in SCI1.1 games, which explains why no lofss-related crashes have been observed in SCI1.1 svn-id: r42209
2009-07-07- Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵Filippos Karapetis
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01 - Simplified the checks for EGA and VGA graphics - Fixed a bug in script_adjust_opcode_formats() - Simplified the code in GfxResManager::getView() a bit svn-id: r42206
2009-07-07Prevent a crash when the engine errors out before the game state is initializedFilippos Karapetis
svn-id: r42201
2009-07-07Removed unused defineFilippos Karapetis
svn-id: r42200
2009-07-06Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGAFilippos Karapetis
svn-id: r42181
2009-07-06Swapped the music and audio resource check for SCI1.1 games. Digital sound ↵Filippos Karapetis
effects are now preferred over the synthesized ones svn-id: r42179
2009-07-06KQ6CD should be working correctly againFilippos Karapetis
svn-id: r42178
2009-07-06Proper handling of sound effects marked as music resourcesFilippos Karapetis
svn-id: r42174
2009-07-06When a song isn't found, send a "stop handle" event so that the engine won't ↵Filippos Karapetis
wait forever (e.g. in SQ4CD, perhaps others) svn-id: r42172