aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
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
2009-11-04SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, ↵Martin Kiewitz
also moved code svn-id: r45661
2009-11-04Removed the reference to SciGuiCursor from EngineStateFilippos Karapetis
svn-id: r45660
2009-11-04Added references to the scaleX and scaleY selectors, used for SCI1.1 view ↵Filippos Karapetis
scaling svn-id: r45659
2009-11-04priority_first and priority_last are not used by the new drawing code, thus ↵Filippos Karapetis
the new code didn't handle priority changes by kGraph() svn-id: r45658
2009-11-04Moved the audio CD handling code inside the AudioPlayer class. Some cleanupFilippos Karapetis
svn-id: r45656
2009-11-04Moved the sound sync code inside the AudioPlayer classFilippos Karapetis
svn-id: r45655
2009-11-04Moved sound sync related variables inside the AudioPlayer class and fixed ↵Filippos Karapetis
compilation svn-id: r45654
2009-11-04Moved most of the code for playing sound effects and speech into a separate ↵Filippos Karapetis
class svn-id: r45653
2009-11-04CleanupFilippos Karapetis
svn-id: r45652
2009-11-03SCI/newgui: SciGuiMenu partially implementedMartin Kiewitz
svn-id: r45634
2009-11-03Removed some more hacks for accessing the segment managerFilippos Karapetis
svn-id: r45631
2009-11-02SCI: Fix hoyle hackWalter van Niftrik
svn-id: r45619