aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-10Fix warningMax Horn
svn-id: r48222
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-08SCI: Make EngineState parameter to INV_SEL explicitMax Horn
svn-id: r48202
2010-03-08SCI: Made some stuff staticMax Horn
svn-id: r48199
2010-02-23SCI: Turn kernel_sleep() into SciEvent::sleep()Max Horn
svn-id: r48119
2010-02-23SCI: Move SciGui::wait to EngineState::waitMax Horn
svn-id: r48118
2010-02-23SCI: Stop storing EngineState in SciGui32Max Horn
svn-id: r48117
2010-02-21Added comments on the SCI0-SCI1.1 kernel function table differences Filippos Karapetis
svn-id: r48100
2010-02-20Removed dead codeFilippos Karapetis
svn-id: r48097
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-17SCI: Remove hack in convertSierraGameId which caused a memory leakMax Horn
svn-id: r48083
2010-02-15SCI32 reorders the REF* subops in kMessage; fixes GK1 conversations.Matthew Hoops
svn-id: r48066
2010-02-15SCI: No need to set _executionStackPosChanged in kDisposeScript, as the ↵Max Horn
callk opcode handler does that already svn-id: r48064
2010-02-15SCI: Remove sound/audio.h include from engine/state.hMax Horn
svn-id: r48063
2010-02-14Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a ↵Filippos Karapetis
state, per se, and is static) svn-id: r48059
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabledMax Horn
svn-id: r48051
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
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-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-12SCI: Revert r47929 (bad idea, as we may run out of offsets). Instead, adapt ↵Walter van Niftrik
SCI32 list iteration code to store node successor before invoking. svn-id: r48036
2010-02-08Search through arrays for outgoing references to fix possible garbage ↵Matthew Hoops
collector problems; minor cleanup. svn-id: r47989
2010-02-07SCI: Move bulk of op_callk code to new func callKernelFunc()Max Horn
svn-id: r47979
2010-02-07SCI: cleanup; try to unify var names when reading PMachine instructions a bitMax Horn
svn-id: r47978
2010-02-07SCI: Simplify yet another case of weird 'unsigned to signed' conversionMax Horn
svn-id: r47977
2010-02-07Update comments in autoDetectSci21KernelType() explaining what we're ↵Matthew Hoops
checking for. svn-id: r47973
2010-02-07SCI: Fix VM crash when NULL_REG is passed to AvoidPath (SCI32).Walter van Niftrik
svn-id: r47964
2010-02-07SCI: Some cleanupMax Horn
svn-id: r47963
2010-02-07Split GameFeatures::autoDetectFeature into several methods, one for each featureMax Horn
svn-id: r47962
2010-02-07SCI: Add GameFeatures::getDetectionAddr auxillary methodMax Horn
svn-id: r47961
2010-02-07SCI: Refactor GameFeatures::autoDetectFeatureMax Horn
svn-id: r47960
2010-02-07SCI: Switch GameFeatures::autoDetectFeature to using readPMachineInstructionMax Horn
svn-id: r47959
2010-02-07SCI: Convert disassemble to use readPMachineInstruction.Max Horn
This change is untested, please check it. Also, the opparams array is not used but could be used to simplify the reading code. svn-id: r47958
2010-02-07SCI: Get rid of GET_OP_ macrosMax Horn
svn-id: r47957
2010-02-07SCI: Add function readPMachineInstruction()Max Horn
svn-id: r47956
2010-02-07SCI: added dummy assertpalette to GfxPalette, setting destination palette ↵Martin Kiewitz
immediately on kPalVary(start) call svn-id: r47953
2010-02-07With the new detection for setCursor, the game object and game ID are no ↵Filippos Karapetis
longer required, which makes some ugly code obsolete. Yay! :) svn-id: r47951
2010-02-07SCI1 Mac games can call kGetFarText with a NULL destination, so we need to ↵Matthew Hoops
allocate the memory. King's Quest V Mac is now playable. svn-id: r47950
2010-02-07Oops, correct a comment.Matthew Hoops
svn-id: r47949
2010-02-07Rewrite detectSetCursorType() so that it works for KQ5 Mac in addition to ↵Matthew Hoops
KQ5 DOS CD. svn-id: r47948
2010-02-06SCI: adding more debug output to kPalVary, fixing loading savedgames ↵Martin Kiewitz
(_gfxPaint wasnt copied over) svn-id: r47943
2010-02-06SCI: added debug code to kPalVary, added warning when calling ↵Martin Kiewitz
kPalette(setFromResource) with unsupported parameters svn-id: r47941
2010-02-06SCI: Revert r47925 and put fix inside GC instead.Walter van Niftrik
svn-id: r47940
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936