Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-30 | SCI: Replace magic '-42' by an enum | Max Horn | |
svn-id: r44492 | |||
2009-09-30 | Fixed 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-30 | Fixed regression in r44417, found by waltervn. The score in KQ1SCI should be ↵ | Filippos Karapetis | |
diplayed correctly again svn-id: r44490 | |||
2009-09-30 | Fixed a crash when starting KQ1SCI | Filippos Karapetis | |
svn-id: r44484 | |||
2009-09-30 | - Moved the list of synonyms and parser nodes inside the vocabulary class | Filippos Karapetis | |
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481 | |||
2009-09-30 | Converted _color_equals() into respective equality operators within the ↵ | Filippos Karapetis | |
gfx_color_t structure svn-id: r44477 | |||
2009-09-30 | SCI: Add callk stackframe directly in run_vm | Willem Jan Palenstijn | |
svn-id: r44473 | |||
2009-09-29 | Added a FIXME comment for the removed functionality in the script debugger | Filippos Karapetis | |
svn-id: r44466 | |||
2009-09-29 | Remove unused variable. | Johannes Schickel | |
svn-id: r44464 | |||
2009-09-29 | Oops - don't attempt to print the sought kernel function name when its empty | Filippos 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-29 | QFG3 clears clones with underbits set, so disable the warning for this behavior | Filippos Karapetis | |
svn-id: r44458 | |||
2009-09-28 | SCI: 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-28 | SCI: When merging palettes, map all unused colours to index 0. | Willem Jan Palenstijn | |
This fixes the boots/belt of the hero sprite in QfG3 character generation. svn-id: r44448 | |||
2009-09-28 | Added topString to the list of static selectors, for commit #44429 | Filippos Karapetis | |
svn-id: r44443 | |||
2009-09-27 | SCI: Fix scrolling in SCI1 list controls. | Walter van Niftrik | |
svn-id: r44429 | |||
2009-09-27 | SCI: Remove directory prefix added by QfG3's char import | Willem Jan Palenstijn | |
svn-id: r44423 | |||
2009-09-27 | SCI: 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-27 | Simplify kFormat slightly | Max Horn | |
svn-id: r44417 | |||
2009-09-27 | SCI: Add workaround for file mask used by QfG3 | Willem Jan Palenstijn | |
svn-id: r44411 | |||
2009-09-27 | SCI: turn assert into warning, as it used in QfG2 char import | Willem Jan Palenstijn | |
svn-id: r44400 | |||
2009-09-27 | SCI: Fix crash when opening menu's | Willem Jan Palenstijn | |
svn-id: r44398 | |||
2009-09-27 | SCI: clear strcpy's dest string if src is invalid. | Willem Jan Palenstijn | |
This fixes moving the plank at the start of KQ6 in Text mode. svn-id: r44397 | |||
2009-09-27 | SCI: change segment offsets in reg segments to be in half reg_t. | Willem Jan Palenstijn | |
This makes offsets in raw and reg segments consistent, which fixes string addressing in savegame dialogs. svn-id: r44396 | |||
2009-09-27 | SCI: clean up kStrAt | Willem Jan Palenstijn | |
svn-id: r44394 | |||
2009-09-27 | SCI: Major string handling update. | Willem Jan Palenstijn | |
All string access to segments should now work with both raw and non-raw (reg_t) segments, using the new utility functions in segMan. There will likely be regressions. svn-id: r44388 | |||
2009-09-27 | SCI: Add utility functions for copying data between raw/non-raw segments | Willem Jan Palenstijn | |
svn-id: r44387 | |||
2009-09-27 | SCI: Add warning when dereferencing non-aligned stack pointer | Willem Jan Palenstijn | |
svn-id: r44386 | |||
2009-09-26 | SCI: Ignore size argument to FILEIO_WRITE_STRING. | Willem Jan Palenstijn | |
This matches LSL5's expectations when saving the password. svn-id: r44385 | |||
2009-09-26 | SCI: Fix compile error with DEBUG_AVOIDPATH | Willem Jan Palenstijn | |
svn-id: r44384 | |||
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 |