Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-14 | JANITORIAL: Reduce GUI header dependencies | Ori Avtalion | |
2016-04-06 | SCI: Fix compilation for C++98. | Johannes Schickel | |
2016-03-25 | SCI: Remove commented out code line. | Johannes Schickel | |
2016-03-25 | SCI: Use aggregation to store objects in SegmentObjTable. | Johannes Schickel | |
This allows to store pointers and fundamental types in a SegmentObjTable. | |||
2016-03-25 | SCI: Introduce accessors for SegmentObjTable entries. | Johannes Schickel | |
This makes code not use _table directly whenever possible. An exception is the save game code which is not easy to adapt due to design deficiencies. | |||
2016-03-25 | SCI: Get rid of template hack for serialization. | Johannes Schickel | |
The former template hack relied on specialized functions for various types. We use a hand crafted set of functions for serialization functionality now. | |||
2016-03-20 | SCI32: Clean up outdated/wrong comments | Colin Snover | |
2016-03-20 | SCI32: Return correct value from kSetFontHeight | Colin Snover | |
2016-03-20 | SCI32: Do not change accumulator in non-returning kernel calls | Colin Snover | |
This did not cause any known bugs, but is wrong according to the way the actual engine works. | |||
2016-03-20 | SCI32: Use signed values for displacement position | Colin Snover | |
2016-03-18 | SCI32: Add workaround for invalid temp read in Torin | Colin Snover | |
2016-03-18 | SCI32: More correctly fix kStringCopy overflow | Colin Snover | |
This entire kString code needs to be reviewed/refactored, but at least this fix is more complete than the last one. Thanks to @lordhoto and @wjp for their assistance. | |||
2016-03-18 | SCI32: Fix heap overflow (read) in kStringCopy | Colin Snover | |
2016-03-16 | SCI: Add workaround for restoring kq6 saved games (lowres/hires) | Martin Kiewitz | |
KQ6 CD sets a global depending on lowres/hires state right at the start and some scripts are using it instead of calling kPlatform. This causes some graphics to be incorrect (well lowres) in case the user saves in lowres mode, then switches to hires mode and restores the previously saved game. We now set that global directly after restoring saved games, so that this issue does not happen anymore. KQ6 CD demo did the same. | |||
2016-03-15 | SCI32: Document kAddLine | Filippos Karapetis | |
2016-03-15 | SCI32: Implement kBitmapSetDisplace | Filippos Karapetis | |
2016-03-14 | SCI32: Implement kBitmapDrawColor | Colin Snover | |
2016-03-13 | SCI32: Implement kCelInfo | Colin Snover | |
2016-03-13 | SCI32: Correct some kernel call signatures | Colin Snover | |
2016-03-13 | SCI32: Implement kCelHigh and kCelWide SCI32 versions | Colin Snover | |
The SCI16 versions do not implement the scaling algorithm used by SCI32 so would be off by one in some cases. | |||
2016-03-11 | SCI32: Fix incorrect mouse event coordinates in SCI2 hires | Colin Snover | |
2016-03-11 | SCI32: Initial implementation of kRemapColors | Filippos Karapetis | |
applyRemap() is still not finished, so nothing is actually visible yet | |||
2016-03-10 | SCI32: Use correct name of kCantBeHere kernel function | Colin Snover | |
Only updating SCI32 names here due to not knowing about the correctness of the SCI16 code. | |||
2016-03-10 | SCI32: Use separate function for SCI32 version of kCantBeHere | Colin Snover | |
Requested by @m-kiewitz. | |||
2016-03-10 | SCI32: Implement kMovePlaneItems | Colin Snover | |
2016-03-10 | SCI32: Minor cleanup of kernel calls | Colin Snover | |
2016-03-10 | SCI32: Implement kSetNowSeen | Colin Snover | |
2016-03-10 | SCI32: Implement kCantBeHere | Colin Snover | |
2016-03-08 | SCI: Fix build with SCI32 disabled. | Johannes Schickel | |
Regression from d4869218200a3dd165c2f1c156f3c1620c813241. | |||
2016-03-08 | SCI: Split color remapping functionality into a separate class | Filippos Karapetis | |
Currently, only the SCI16 remapping functionality is implemented (used in the QFG4 demo) | |||
2016-03-08 | SCI: Update the game ID of a workaround that's only used in QFG4 demo | Filippos Karapetis | |
2016-03-08 | SCI32: Disable kRemapColors32, as SCI32 remapping is still incomplete | Filippos Karapetis | |
2016-03-08 | SCI: Separate the demos of QFG4, PQ4 and GK1 from their full versions | Filippos Karapetis | |
The demo versions of these games were using a very different engine - SCI1.1 vs SCI2/SCI2.1. Thus, we split them into different game IDs, to avoid mixing specific game checks for them, as well as specific game workarounds, which are different for the demos than the full versions. Also, the demos should be working when SCI32 is disabled. For these games, we don't use ADGF_DEMO, to avoid game IDs like foodemo-demo | |||
2016-03-08 | SCI32: Clean up kIsOnMe and fix rounding bug | Colin Snover | |
The implementation was not correctly rounding the scaled position with mulru, leading to occasionally incorrect hit detection at the boundaries of boxes. | |||
2016-03-07 | SCI32: Implement kBitmapDrawText | Colin Snover | |
2016-03-07 | SCI32: Move in-memory bitmap read/write into its own class | Colin Snover | |
2016-03-08 | SCI: Script patch for ending glitch in multilingual kq5 | Martin Kiewitz | |
Game hangs during the magic battle during the ending. Happened in all multilingual versions because of a script bug (scripts were waiting for a signal, music didn't set one) Fixes French, German and Spanish versions of KQ5 Also happened, when using the original interpreter | |||
2016-03-07 | SCI32: Add reg_t comparisons for graphics sorting | Colin Snover | |
2016-03-06 | SCI32: Implement kEditText | Colin Snover | |
2016-03-05 | SCI: Make cursor workaround work properly on OpenPandora | Martin Kiewitz | |
Other platforms, that support analog stick + touch screen at the same time, are possibly also affected. Cursor workarounds exist for qfg1vga, qfg3, lsl5 and Island of Dr. Brain. Those sometimes worked and sometimes didn't on at least OpenPandora and should be fixed now. | |||
2016-03-03 | SCI32: Fix misidentification of createFontBitmap(CelInfo &) | Colin Snover | |
2016-03-03 | SCI32: Add all kBitmap signatures | Colin Snover | |
Not all SCI2.1late/SCI3 function signatures are fully known yet, but all subops are now represented in the kernel tables. | |||
2016-03-02 | SCI32: Minor consistency improvement to FrameOut | Colin Snover | |
2016-03-02 | SCI32: Add a workaround for kPalVarySetPercent in GK1 (chapter change) | Filippos Karapetis | |
2016-03-02 | SCI32: Don't do a syncWithScripts on restore from launcher | Martin Kiewitz | |
Causes issues in at least gk1 (option + inventory plane are shown) Game::restore is not called, when doing restores from launcher, so in the original interpreter this script code wasn't called either. Fixes option + inventory planes etc. being shown right after restoring via launcher, when original save/load dialogs were disabled. | |||
2016-03-01 | SCI32: Fix index/offset mixup in updateInfoFlagViewVisible | Willem Jan Palenstijn | |
2016-03-01 | SCI32: Revert GK1 hacks | Willem Jan Palenstijn | |
Replacing a valid signature error by a warning isn't useful. | |||
2016-03-01 | SCI32: Warn when the unhandled parameter is set in kPalVarySetPercent | Filippos Karapetis | |
2016-03-01 | SCI32: GK1 adds another optional parameter to kPalVarySetPercent | Filippos Karapetis | |
2016-03-01 | SCI: Remove superfluous cast to boolean and fix code styling | Filippos Karapetis | |