aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-10-04SCI: Add include guards for gui headers; don't include gui/gui.h from ↵Max Horn
engine/state.h svn-id: r44632
2009-10-04SCI/newgui: implemented kPalette / set intensityMartin Kiewitz
svn-id: r44631
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-10-04SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to ↵Max Horn
console.cpp, and switch other code using it to use findObjectByName() instead. svn-id: r44628
2009-10-04SCI/gui: renaming...Martin Kiewitz
svn-id: r44618
2009-10-04SCI: kAddToPic, kAnimate and kSetNowSeen transferred to SciGUI32, not yet ↵Martin Kiewitz
implemented in newgui svn-id: r44606
2009-10-04SCI: Fixing a bunch of warnings; change 'intencity' -> 'intensity';Max Horn
properly init a sciPalette via memset svn-id: r44604
2009-10-04SCI: kReadNumber crash fix for lsl1Martin Kiewitz
svn-id: r44597
2009-10-04SCI: removing unused variables from onControlMartin Kiewitz
svn-id: r44596
2009-10-04SCI: onControl now uses gui classesMartin Kiewitz
svn-id: r44595
2009-10-04SCI: fixed crash in sq5/german (umlauts)Martin Kiewitz
svn-id: r44587
2009-10-03SCI: Add hack to gui to fix loadingWillem Jan Palenstijn
svn-id: r44581
2009-10-03SCI: Redraw edit controls when they change.Willem Jan Palenstijn
svn-id: r44576
2009-10-03SCI: Fix sign issue in stringfragsWillem Jan Palenstijn
svn-id: r44572
2009-10-03SCI: Merge new GUI code written by m_kiewitz.Willem Jan Palenstijn
This is a major rewrite of the graphics code. A slightly adapted version of the old code is still available and currently the default. The new code is selectable in sci.cpp, but is not yet finished. svn-id: r44565
2009-10-02Fix cppcheck issue reported by salty-horseWillem Jan Palenstijn
svn-id: r44541
2009-10-02Fix some cppcheck warnings reported by salty-horseMax Horn
svn-id: r44538
2009-10-02SCI: Remove PRINT_STK macro; cleanupMax Horn
svn-id: r44533
2009-10-02SCI: Use String::printf instead of temporary bufferWillem Jan Palenstijn
svn-id: r44532
2009-10-02SCI: Make NULL_REG & SIGNAL_REG const; change validate_property so that its ↵Max Horn
callers cannot modify NULL_REG accidentally anymore svn-id: r44531
2009-10-02SCI: Remove dead codeMax Horn
svn-id: r44530
2009-10-01SCI: cleanupWillem Jan Palenstijn
svn-id: r44528
2009-10-01Rewrote weird-looking code, which might lead to undefined behavior, ↵Filippos Karapetis
according to GNU svn-id: r44523
2009-10-01Removed the STRICT_SEND, STRICT_READ and ASSERT_ARITHMETIC definesFilippos Karapetis
svn-id: r44519
2009-10-01- Removed the toggle for "weak" validations, as there are cases where they ↵Filippos Karapetis
fail (e.g. in Longbow), so there is no point in having strict validations - Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead - Simplified determine_reg_type() svn-id: r44511
2009-10-01SCI: Remove outdated debugging hack.Willem Jan Palenstijn
In the past, a negative selector value was used to identify a callk stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that. svn-id: r44510
2009-09-30Removed an old (and now obsolete) workaround for KQ5Filippos Karapetis
svn-id: r44507
2009-09-30Fixed the warning message shown when dummy functions are invokedFilippos Karapetis
svn-id: r44506
2009-09-30Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs ↵Filippos Karapetis
(usually), or to signal success in some special occasions svn-id: r44505
2009-09-30Changed the list sanity checks to return warnings instead of errors in case ↵Filippos Karapetis
of failure - apparently, this can occur in some games, e.g. Longbow and QFG1 svn-id: r44503
2009-09-30SCI: Make kFile error messages slightly more verboseWillem Jan Palenstijn
svn-id: r44497
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-30SCI: Replace magic '-42' by an enumMax Horn
svn-id: r44492
2009-09-30Fixed a crash in KQ1SCI, when the user types something wrong - the game ↵Filippos Karapetis
tries to open a file with an empty file name, and an odd file mode svn-id: r44491
2009-09-30Fixed regression in r44417, found by waltervn. The score in KQ1SCI should be ↵Filippos Karapetis
diplayed correctly again svn-id: r44490
2009-09-30Fixed a crash when starting KQ1SCIFilippos Karapetis
svn-id: r44484
2009-09-30- Moved the list of synonyms and parser nodes inside the vocabulary classFilippos Karapetis
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481
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-29Remove unused variable.Johannes Schickel
svn-id: r44464
2009-09-29Oops - don't attempt to print the sought kernel function name when its emptyFilippos Karapetis
svn-id: r44462
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-29QFG3 clears clones with underbits set, so disable the warning for this behaviorFilippos Karapetis
svn-id: r44458
2009-09-28SCI: Remove unsafe unmarkDeleted function.Willem Jan Palenstijn
It did not undo all effects of a script being deleted (specifically its superclasses remain unlocked), causing an inconsistent state. Also removed EcoQuest CD hack that worked around a specific instance of this problem. svn-id: r44449
2009-09-28Added topString to the list of static selectors, for commit #44429Filippos Karapetis
svn-id: r44443
2009-09-27SCI: Fix scrolling in SCI1 list controls.Walter van Niftrik
svn-id: r44429
2009-09-27SCI: Remove directory prefix added by QfG3's char importWillem Jan Palenstijn
svn-id: r44423
2009-09-27SCI: Adjust isValidOffset to match changes from r44396,Willem Jan Palenstijn
and make maxSize report the valid space starting at offset. svn-id: r44421
2009-09-27Simplify kFormat slightlyMax Horn
svn-id: r44417