Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-26 | SCI: Fix regression in r44081 breaking walking in QfG2 | Willem Jan Palenstijn | |
svn-id: r44383 | |||
2009-09-26 | SCI: Fix copy/paste error | Willem Jan Palenstijn | |
svn-id: r44382 | |||
2009-09-25 | Create a define for the special "signal" offset used throughout the engine, ↵ | Filippos Karapetis | |
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359 | |||
2009-09-25 | SCI: Remove EngineState::game_version, it was only used for saving anyway. ↵ | Max Horn | |
Also remove syncCStr() svn-id: r44358 | |||
2009-09-25 | SCI: Fix a memory leak | Max Horn | |
svn-id: r44357 | |||
2009-09-25 | SCI: Pedantic cleanup | Max Horn | |
svn-id: r44356 | |||
2009-09-25 | Reverted commit #44316, as colors show up correctly now without dithering. ↵ | Filippos Karapetis | |
Dithering is now off again for SCI0 by default, an can optionally be turned on svn-id: r44339 | |||
2009-09-24 | SCI: When setting global palette, map all unused colours to index 0. | Willem Jan Palenstijn | |
This fixes white artifacts outside the bar in the SQ4CD intro, but might cause regressions elsewhere. svn-id: r44320 | |||
2009-09-24 | SCI: Delete unused function declaration | Willem Jan Palenstijn | |
svn-id: r44319 | |||
2009-09-24 | SCI: Fix spelling | Max Horn | |
svn-id: r44318 | |||
2009-09-24 | SCI: Fix flat dithering by permuting the blended palette so that the EGA ↵ | Willem Jan Palenstijn | |
colours are the first 16 entries svn-id: r44317 | |||
2009-09-24 | Set dithering to the FreeSCI "enhanced" style by default for SCI0 games, as ↵ | Filippos Karapetis | |
disabling dithering makes some colors not show up correctly (e.g. the trees in Iceman and LSL3). Dithering can still be disabled on a per-game basis by using the "dither_mode" option svn-id: r44316 | |||
2009-09-24 | Fix what looks like a typo in the condition, which checks for a divide by zero. | Johannes Schickel | |
svn-id: r44306 | |||
2009-09-24 | Fix warnings. | Johannes Schickel | |
svn-id: r44304 | |||
2009-09-24 | Changed make_reg to accept the same type of parameters as a reg_t does - ↵ | Filippos Karapetis | |
i.e. 16-bit integers, instead of 32-bit ones svn-id: r44302 | |||
2009-09-24 | The maximum value that a signed 16-bit integer can hold is 32767, not 32768 ↵ | Filippos Karapetis | |
(0x8000) svn-id: r44294 | |||
2009-09-24 | Add "demo" to the extras field of the fallback detector for demos | Filippos Karapetis | |
svn-id: r44291 | |||
2009-09-23 | SCI: Rename _sciVersion to s_sciVersion and made it local to resource.cpp ↵ | Max Horn | |
(i.e. follow CFG and achieve code/data isolation) svn-id: r44271 | |||
2009-09-23 | - Moved the SCI version in a global variable | Filippos Karapetis | |
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269 | |||
2009-09-23 | COMMON: Add "ignoreCase" parameter to matchString. | Johannes Schickel | |
svn-id: r44265 | |||
2009-09-22 | - Merged scriptObjInit0() and scriptObjInit11() | Filippos Karapetis | |
- Replaced some cases where getSciVersion() is used with _resMan->sciVersion(), as getSciVersion() will fail with the fallback detector (as the engine is not initialized). Object property accessors still crash currently, when used with the fallback detector svn-id: r44261 | |||
2009-09-22 | Copy the internal game name when loading, and don't recreate it | Filippos Karapetis | |
svn-id: r44250 | |||
2009-09-22 | Removed unused variable | Filippos Karapetis | |
svn-id: r44249 | |||
2009-09-22 | Simplified the code which creates the mouse cursor | Filippos Karapetis | |
svn-id: r44248 | |||
2009-09-22 | SCI: Change SystemStrings to use RAW storage consistenly | Max Horn | |
svn-id: r44246 | |||
2009-09-22 | SCI: Add some FIXMEs, and print warning if accessing a raw segment as ↵ | Max Horn | |
non-raw or vice versa svn-id: r44245 | |||
2009-09-22 | SCI: Add new type SegmentRef which ultimately will allow us to distinguish ↵ | Max Horn | |
between raw and 'reg_t' memory blocks in client code svn-id: r44244 | |||
2009-09-22 | SCI: Change SystemString::name from char* to Common::String | Max Horn | |
svn-id: r44243 | |||
2009-09-22 | SCI: SegmentObj's now set their type in constructor; replace central ↵ | Max Horn | |
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup svn-id: r44242 | |||
2009-09-21 | SCI: cleanup | Max Horn | |
svn-id: r44241 | |||
2009-09-21 | SCI: Replace IntMapper Script::_objIndices and Common::Array ↵ | Max Horn | |
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240 | |||
2009-09-21 | SCI: Workaround for crash in debugger's backtrace | Max Horn | |
svn-id: r44239 | |||
2009-09-21 | SCI: Change kAnimate to actually tail recurse | Max Horn | |
svn-id: r44238 | |||
2009-09-21 | SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵ | Max Horn | |
and scriptObjInit11 to be more similar svn-id: r44234 | |||
2009-09-17 | SCI: Add EngineState::_kernel member for convenience | Max Horn | |
svn-id: r44173 | |||
2009-09-17 | SCI: Move CallsStruct into vm.cpp, the only place it is being used | Max Horn | |
svn-id: r44172 | |||
2009-09-17 | SCI: Move some selector related function into a new file selector.cpp | Max Horn | |
svn-id: r44171 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enums | Max Horn | |
svn-id: r44169 | |||
2009-09-17 | SCI: Moved Kernel::findSelector from vocabulary.cpp to engine/kernel.cpp | Max Horn | |
svn-id: r44161 | |||
2009-09-17 | SCI: Properly hook up (I hope) CantBeHere instead of CanBeHere in SCI ↵ | Max Horn | |
versions that need it svn-id: r44160 | |||
2009-09-17 | SCI: Removed dead code | Max Horn | |
svn-id: r44159 | |||
2009-09-17 | Added alternate versions for iceman, lsl2, qfg1, sq3 and sq4 from bug report ↵ | Filippos Karapetis | |
#2612718. Still many to go, that bug report is huge svn-id: r44158 | |||
2009-09-17 | SCI: Rename engine/memobj.* to engine/segment.* | Max Horn | |
svn-id: r44155 | |||
2009-09-17 | SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat ↵ | Max Horn | |
nodePtr & cantBeHere special) svn-id: r44154 | |||
2009-09-17 | SCI: Get rid of the not_register() hack | Max Horn | |
svn-id: r44153 | |||
2009-09-17 | SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCache | Max Horn | |
svn-id: r44152 | |||
2009-09-17 | SCI: Move parts of struct ScriptState into a new struct DebugState | Max Horn | |
svn-id: r44151 | |||
2009-09-17 | SCI: cleanup | Max Horn | |
svn-id: r44150 | |||
2009-09-17 | Made script_lookup_export() a method of SegManager | Filippos Karapetis | |
svn-id: r44140 |