aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/selector.cpp
AgeCommit message (Collapse)Author
2011-10-28SCI: Fixed text background color and text transparency for SCI32 gamesFilippos Karapetis
2011-10-11SCI: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-09SCI: Implement Mac iconbar event handling.Walter van Niftrik
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-09-03SCI: kClone/kDisposeClone behaviour more accurateMartin Kiewitz
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.) svn-id: r52508
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-24SCI: Removed a now unused selector from the selector cacheFilippos Karapetis
svn-id: r52349
2010-08-05SCI: changing hoyle 4 workaroundMartin Kiewitz
fixing hoyle 4 detection entry (not a demo) adding direct selector fix, maybe we should replace this later with a script patch adding detailed comment about the issue svn-id: r51753
2010-07-24SCI: support useInsetRect in kFrameoutMartin Kiewitz
svn-id: r51251
2010-07-22SCI: some work on priority in sci32Martin Kiewitz
svn-id: r51134
2010-07-20SCI: Removed the restoring parameter of the run_vm() functionFilippos Karapetis
svn-id: r51076
2010-07-16SCI: kDoBresen - save last position of client inside mover - fixes lsl6 tram ↵Martin Kiewitz
still shaking while gotten stopped due ego svn-id: r50931
2010-06-28SCI: More changes to the code for loading from the launcherFilippos Karapetis
- Added support for the LSL2 menu bar object - We no longer need a reference to the init() selector - it's always the first method of the menu bar object svn-id: r50462
2010-06-27SCI: Removed the hack for loading games from the launcher from run_vm(). ↵Filippos Karapetis
This is now done on startup. This should fix loading from the launcher for LSL6 svn-id: r50406
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