aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.cpp
AgeCommit message (Collapse)Author
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-02-03SCI: Get rid of EngineState::stack_segmentMax Horn
svn-id: r47833
2010-02-02SCI: Use Common::List and Common::String to simplify breakpoint handling ↵Max Horn
(untested) svn-id: r47824
2010-02-01SCI: fix getLanguage - fixes gk1 german (day number blood writing at the ↵Martin Kiewitz
start), thx to waltervn svn-id: r47795
2010-01-31Make EngineState::getLanguage() check from the resource manager as to what ↵Matthew Hoops
language it has loaded before checking from what ScummVM has set and make kDoAudio use EngineState::getLanguage() svn-id: r47782
2010-01-31SCI: Implement kMemorySegment().Walter van Niftrik
svn-id: r47776
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-28Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the ↵Matthew Hoops
kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call. svn-id: r47645
2010-01-28Improved kSetCursor() semantics detectionFilippos Karapetis
svn-id: r47624
2010-01-25Fixed kSetCursor semantics detection for KQ5 Amiga, by making a hack for KQ5 ↵Filippos Karapetis
CD specific to that version only svn-id: r47557
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23- Moved all of the parser-related variables inside the Vocabulary classFilippos Karapetis
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms) - The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser svn-id: r47483
2010-01-23sfx_init_flags is not used in the new sound codeFilippos Karapetis
svn-id: r47464
2010-01-17SCI: speed throttler changed, now gets triggered by kAnimate, removed ↵Martin Kiewitz
initial no-delay, i'm still getting animation now in iceman and sq3, slow palette animation in longbow fixed svn-id: r47343
2010-01-10Silenced warnings ("this" isn't defined on object instantiation, and ↵Filippos Karapetis
commented out some unused variables) svn-id: r47237
2010-01-05Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his ↵Matthew Hoops
precious 'Gabriel is a lout' line :P svn-id: r47011
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
2010-01-03Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purposeFilippos Karapetis
svn-id: r46959
2010-01-03The "room" command can now set the current room number, too (more ↵Filippos Karapetis
straightforward than changing global var 13) svn-id: r46925
2009-12-26Fixed graphics functions detection in an old version of SQ3 - my initial ↵Filippos Karapetis
thought to rely on the presence of the shiftParser selector was wrong svn-id: r46580
2009-12-25- Introduced a new version in the sound version detection routine, as SCI0 ↵Filippos Karapetis
early games had different sound than SCI0 late ones - Changed sound-related debug output from printf's into debugC calls svn-id: r46560
2009-12-09SCI: Paranoia tweak for EngineState::autoDetectFeatureMax Horn
svn-id: r46306
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-20Simplified the doSound detection a bitFilippos Karapetis
svn-id: r46028
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-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-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-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-12Started objectifying kDoSound()Filippos Karapetis
svn-id: r45862
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-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-04Removed the reference to SciGuiCursor from EngineStateFilippos Karapetis
svn-id: r45660
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 most of the code for playing sound effects and speech into a separate ↵Filippos Karapetis
class svn-id: r45653
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
engine state - Implemented clearMenuBar() in the new graphics code - Removed the "status_bar" command, which was used to set custom colors for the status bar svn-id: r45538
2009-10-28Wrapped some more oldgui-specific code around INCLUDE_OLDGFX safeguardsFilippos Karapetis
svn-id: r45492
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459