aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-12-09SCI: Paranoia tweak for EngineState::autoDetectFeatureMax Horn
svn-id: r46306
2009-12-09SCI: Save/LoadGame Common::Rect saving now portableMartin Kiewitz
svn-id: r46304
2009-12-08SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames ↵Martin Kiewitz
under oldgui, oldgui doesn't like calling of setPortPic during loading svn-id: r46294
2009-12-08SCI: SciGui::getPortPic now uses byrefMartin Kiewitz
svn-id: r46293
2009-12-08SCI: Saving picPort now (fixes loading saved games in castle of dr. brain)Martin Kiewitz
svn-id: r46292
2009-12-08SCI: Cleanup DirSeeker a little bitMax Horn
svn-id: r46290
2009-12-04SCI: Renamed "buckybits" to "modifiers" in SciEventMartin Kiewitz
svn-id: r46256
2009-12-04SCI: Make event constants more verboseMartin Kiewitz
svn-id: r46255
2009-12-04SCI: Recreate SciEvent on loading savesMartin Kiewitz
svn-id: r46253
2009-12-04SCI: SciEvent created, kernel_sleep() createdMartin Kiewitz
svn-id: r46252
2009-12-04SCI: Alt translation. Currently handles Ctrl-X as Ctrl-Alt-X so that ↵Martin Kiewitz
bypassing questions in lsl1vga is possible. ScummVM currently doesn't give us event for Ctrl-Alt-X svn-id: r46251
2009-12-04SCI: Convert characters to scancode, when Ctrl is pressed (fixes ↵Martin Kiewitz
key-shortcuts not working in lsl5, lsl1, qfg1vga and others) svn-id: r46249
2009-11-30SCI: Fix kSetCursor (Sci1.1) to behave like Sierra Sci (fixes cursor ↵Martin Kiewitz
hiding/showing in kq6) svn-id: r46224
2009-11-29Properly update the sound state in the sound command parser when loading a gameFilippos Karapetis
svn-id: r46196
2009-11-23SCI: Reduce header interdependencyMax Horn
svn-id: r46118
2009-11-22Added a sanity check to the setCursor detectionFilippos Karapetis
svn-id: r46087
2009-11-22Check which DoSound method is actually invoked from Sound::play, to remove a ↵Filippos Karapetis
hack for Jones CD. Added code to handle games which don't actually call SetCursor inside Game::setCursor (like KQ5CD) svn-id: r46086
2009-11-21Removed duplicate code and simplified some feature detectionFilippos Karapetis
svn-id: r46038
2009-11-20Fixed sound detection for Jones CDFilippos Karapetis
svn-id: r46030
2009-11-20Changed some comments back to DOxygen (inline) style and removed some more ↵Filippos Karapetis
dead code svn-id: r46029
2009-11-20Simplified the doSound detection a bitFilippos Karapetis
svn-id: r46028
2009-11-20Fixed game restarting regressionFilippos Karapetis
svn-id: r46026
2009-11-20Removed the syncTime and syncCue selectors from the list of static ↵Filippos Karapetis
selectors, along with their relevant FIXMEs. These selectors are used for lip syncing in CD talkie games, which always got a selector vocabulary, so we don't need to hardcode them. Did some further simplification/rewrite of the static selector tables svn-id: r46019
2009-11-20Added a FIXME for the syncTime and syncCue selectors, for games which don't ↵Filippos Karapetis
have a default selector dictionary svn-id: r46013
2009-11-20- Removed the non-static selectors "overlay" and "setCursor" from the list ↵Filippos Karapetis
of static selectors and introduced a new method for discovering the relevant features when selectors are missing - currently used for determining the graphics functions and setCursor types - Simplified setCursor detection a bit svn-id: r46012
2009-11-20Removed more unused selectors - the canBeHere selector is replaced by ↵Filippos Karapetis
cantBeHere in SCI1+ svn-id: r46011
2009-11-20Removed more unused selectorsFilippos Karapetis
svn-id: r46010
2009-11-20Check the overridden game object when performing setCursor detection, which ↵Filippos Karapetis
properly fixes KQ5CD (thanks waltervn) svn-id: r46009
2009-11-20Added a game-specific workaround for setCursor detection in KQ5CD: the code ↵Filippos Karapetis
for the setCursor selector has not been rewritten yet to use cursor views (it's the same as lsl3 and sq3, for example), but the game does use cursor views svn-id: r46008
2009-11-20FormattingFilippos Karapetis
svn-id: r46007
2009-11-20Changed the lofs detection to iterate through all the methods of the Game ↵Filippos Karapetis
object again, instead of a specific selector - fixes Jones svn-id: r46006
2009-11-20Selector cleanup: rearranged all selectors to be in the same order as in ↵Filippos Karapetis
Sierra's dictionary files, and removed several unused selectors svn-id: r46005
2009-11-20Some corrections for the lofs autodetection - SQ4 floppy works againFilippos Karapetis
svn-id: r46002
2009-11-20Shifted some code aroundFilippos Karapetis
svn-id: r46001
2009-11-20- Rewrote the lofs parameter type auto-detection codeFilippos Karapetis
- Renamed dissectSelector -> autodetectFeature svn-id: r46000
2009-11-19- Simplified the different feature detection types, removed some duplicate ↵Filippos Karapetis
code and merged the feature detection code which relies on selectors - Replaced the function checksum calculations to make it more apparent what the feature detections do - Removed the now obsolete (and unused) firstRetOffset function svn-id: r45995
2009-11-14Moved getAngle() inside kmovement.cpp, the only place where it's actually usedFilippos Karapetis
svn-id: r45903
2009-11-14Cleaned up the file handling functions and removed the C IO wrappers. ↵Filippos Karapetis
Apparently, the special case that these were meant to handle never occurs (i.e. reading and writing to the same file), and the current code works well enough to justify these extra sanity checks svn-id: r45902
2009-11-14Removed sfx/misc.hFilippos Karapetis
svn-id: r45885
2009-11-12Started objectifying kDoSound()Filippos Karapetis
svn-id: r45862
2009-11-12Some more tweaks for skipping the menu data in savegames, when ↵Filippos Karapetis
INCLUDE_OLDGFX isn't defined (it still problematic and goes out of sync) svn-id: r45858
2009-11-12The menu bar code is no longer used in the new graphics code, and the menu ↵Filippos Karapetis
state is no longer stored in saved games svn-id: r45854
2009-11-11SCI/newgui: call menuReset() on game_init(), fixes double menu in pq2Martin Kiewitz
svn-id: r45843
2009-11-09SCI: Remove remarks about in-place loading, at least for now.Max Horn
Not loading in-place has the advantage that it allows to cleanly cancel loading a savesate, e.g. if we detect a defect during loading. This is much harder (if not impossible) to achieve if loading in-place. So I'd prefer if we took advantage of this. Right now, though, we don't. svn-id: r45786
2009-11-05SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviourMartin Kiewitz
svn-id: r45683
2009-11-05Moved the audio related command enums inside audio.hFilippos Karapetis
svn-id: r45676
2009-11-04Fix CD Audio in JonesCD and add some comments.Matthew Hoops
svn-id: r45669
2009-11-04Removed unused variables and placed some more old code inside INCLUDE_OLDGFX ↵Filippos Karapetis
defines svn-id: r45668
2009-11-04- Changed the segment manager to be a static part of the engine, and stopped ↵Filippos Karapetis
deleting and recreating it when restoring games - Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
2009-11-04Reapplied the LSL1 casino workaround, which got disabled accidentally in ↵Filippos Karapetis
commit #45661 svn-id: r45665