aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/selector.cpp
AgeCommit message (Collapse)Author
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-23SCI: adding some more global scaling code, adding vanishingY and vanishingX ↵Martin Kiewitz
as selectors svn-id: r50180
2010-06-23SCI: some initial work on global scalingMartin Kiewitz
svn-id: r50179
2010-06-17Strict mode: Changed several warnings due to logic bugs into errors. If an ↵Filippos Karapetis
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973
2010-06-10SCI: cleanupMax Horn
svn-id: r49573
2010-06-10Unified invokeSelector() and invokeSelectorArgv(), and removed the INV_SEL ↵Filippos Karapetis
kludge. Also, removed the selectorInvocation parameter - if invokeSelector() fails, the error is in most cases unrecoverable, and the error description thrown covers all cases where kContinueOnInvalidSelector was used. This uncovered a bug too: in some places, non reg_t parameters were parsed svn-id: r49564
2010-06-03The setCursor selector is no longer used for the detection of the ↵Filippos Karapetis
kSetCursor() kernel function semantics svn-id: r49408
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-26SCI: Making various object and script related things constMax Horn
svn-id: r49246
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-14Made locateVarSelector() a method of the Object classFilippos Karapetis
svn-id: r49031
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-04SCI: adding back selector for sci32Martin Kiewitz
svn-id: r47879
2010-02-04SCI: adding selectors bottom and rightMartin Kiewitz
svn-id: r47876
2010-02-04SCI: adding support for resX, resY selectors for sci32Martin Kiewitz
svn-id: r47874
2010-02-03Initial implementation of text drawing for SCI2 (it's a hack for now, done ↵Filippos Karapetis
the "SCI0-SCI11" way, and text splitting is wrong...) svn-id: r47838
2010-02-03SCI: restoring param of run_vm is a bool, not an intMax Horn
svn-id: r47834
2010-02-02SCI: Move some code around (no code changes)Max Horn
svn-id: r47823
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-28SCI: CleanupWalter van Niftrik
svn-id: r47649
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-26Throw a warning when we're trying to invoke a variable selector, instead of ↵Filippos Karapetis
swallowing it silently. This should never happen, so we shouldn't hide it, when it does svn-id: r46596
2009-12-26Removed the file and line parameters from the selector handling functionsFilippos Karapetis
svn-id: r46588
2009-10-11More work on the Object classFilippos Karapetis
svn-id: r44921
2009-10-10Started rewriting the Object struct into a classFilippos Karapetis
svn-id: r44878
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-09-30SCI: Add callk stackframe directly in run_vmWillem Jan Palenstijn
svn-id: r44473
2009-09-29Added a FIXME comment for the removed functionality in the script debuggerFilippos Karapetis
svn-id: r44466
2009-09-29- Changed the unimplemented debug SCI kernel functions (InspectObj, ↵Filippos Karapetis
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging - Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack - Removed kUnknown() and kStub() - Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now svn-id: r44461
2009-09-17SCI: Add EngineState::_kernel member for convenienceMax Horn
svn-id: r44173
2009-09-17SCI: Move some selector related function into a new file selector.cppMax Horn
svn-id: r44171