Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-11 | SCI32: Assign a define for the non-remapped number of colors | Filippos Karapetis | |
2016-03-11 | SCI32: Add remap counters and hook them up to frameOut | Filippos Karapetis | |
2016-03-11 | SCI32: Avoid usage of delegated constructors | Filippos Karapetis | |
Although this feature reduces code duplication, GCC throws the following: "warning: delegating constructors only available with -std=c++11 or -std=gnu++11". | |||
2016-03-11 | SCI32: More work on remapping | Filippos Karapetis | |
applyRemap() has been implemented now, however the end effect is still not visible | |||
2016-03-11 | SCI32: Handle the different remap color ranges in SCI2 and SCI21 | Filippos Karapetis | |
This fixes an assertion when starting a new game in SQ6 | |||
2016-03-11 | SCI32: Fix bug in updateRemap() | Filippos Karapetis | |
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: Implement GfxText32::getTextCount | Colin Snover | |
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: Clean up debug messages in GfxFrameout | Colin Snover | |
Error messages now contain the name of the failed function and plane/screen item information that can be used to look up the plane/screen item in a debugger, if the games ever crash in a release in this code, per suggestion by @m-kiewitz. Commented out messages that were used during the rearchitecture of the main graphics engine are also removed, since that code is stable now. | |||
2016-03-10 | SCI32: Implement kMovePlaneItems | Colin Snover | |
2016-03-10 | SCI32: Remove side-effect-abusing calls to ScreenItem::getCelObj | Colin Snover | |
2016-03-10 | SCI32: Implement kSetNowSeen | Colin Snover | |
2016-03-10 | SCI32: Implement kCantBeHere | Colin Snover | |
2016-03-08 | SCI: Slight template formatting fixes. | Johannes Schickel | |
2016-03-08 | SCI: Add missing namespace comments in graphics/. | Johannes Schickel | |
2016-03-08 | SCI: Spacing | Filippos Karapetis | |
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 | 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: Add unnecessary micro-optimisation to palette merging code | Colin Snover | |
2016-03-07 | SCI32: Fix palette color overflow | Colin Snover | |
2016-03-07 | SCI32: Actually use the BitmapFlags enum | Colin Snover | |
2016-03-07 | SCI32: Enable GfxPalette32::cycleAllPause | Colin Snover | |
This is used by the Mr Soylent machines in SQ6 (e.g. room 370). | |||
2016-03-07 | SCI32: Move in-memory bitmap read/write into its own class | Colin Snover | |
2016-03-07 | SCI32: Change magnifier warning to error | Colin Snover | |
If anything actually uses this feature, we should know about it eventually. | |||
2016-03-07 | SCI32: Clean up renderer code a bit more | Colin Snover | |
2016-03-07 | SCI32: Add reg_t comparisons for graphics sorting | Colin Snover | |
2016-03-07 | SCI32: Add debugger command to view screen items in the visible plane list | Colin Snover | |
2016-03-07 | SCI32: Fix adding too many items to drawlist | Willem Jan Palenstijn | |
2016-03-06 | SCI32: Implement variable size frame drawing | Colin Snover | |
2016-03-06 | SCI32: Make PlaneList definition order match declaration order | Colin Snover | |
2016-03-06 | SCI32: Fix memory leaks | Colin Snover | |
2016-03-06 | SCI32: "Improve" comparison algorithm for planes and screen items | Colin Snover | |
This adds a slightly more accurate comparison algorithm that will at least ensure that all the engine-generated planes and screen items with matching priorities will be sorted above script-generated planes and screen items, like in the original engine. It still does not sort script-generated items by memory handle order, so if that is ever a thing that actually happens, those may still be in the wrong order. | |||
2016-03-06 | SCI32: Fix missing digits in plane item list debug output | Colin Snover | |
2016-03-06 | SCI32: Implement kEditText | Colin Snover | |
2016-03-05 | SCI32: Fix incorrect insertion of new planes | 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: "Fix" missing fade transitions | Colin Snover | |
The original engine had some members on PlaneShowStyle to allow wall clock timing but never actually used them in the processing loop so transitions simply ran as quickly as the CPU could process them. For the moment, we will just limit these transitions to ~30fps, which hopefully roughly matches the speed of the engine on hardware of the era. | |||
2016-03-02 | SCI32: Fix changed screen items drawing on top of higher screen items | Colin Snover | |
2016-03-02 | SCI32: Add consts and remove redundant conditional | Colin Snover | |
Adding consts to try to isolate rectangles that change during draw list processing, to be investigated for incorrect mutations causing lower screen items to be drawn over higher screen items at their edges. | |||
2016-03-02 | SCI32: Review rect rounding in Plane and ScreenItem | Colin Snover | |
These changes should cause ScummVM to be more accurate in edge case rounding. | |||
2016-03-01 | SCI32: Fix bad reads of mirrored cels | Colin Snover | |
2016-03-01 | SCI32: Fix text size calculation scaling to match SCI | Colin Snover | |
The previous code works correctly only for ratios like 2:1 that do not generate remainders. | |||
2016-03-01 | SCI32: Add a note about the menu bars in GK1 | Filippos Karapetis | |
2016-02-28 | SCI32: Non-titled text bitmap implementation | Colin Snover | |
This implementation is not 100% engine accurate, but it is more accurate than what was there, and hopefully the differences between this and the engine code are merely cosmetic. The known (intentional) differences are: 1. Uses ScummVM rects inside the engine code, converting to/from SCI rects on the kernel edges and when scaling 2. Fewer side effects when performing operations that *should* have been pure from the start (like text dimension calculation). Still not side-effect-free, but at least things like colours and alignment do not need to be reset every time a measurement is taken, unlike in the actual engine. Editor controls and some other kBitmap code are temporarily disabled as a result of changes to GfxText32 until they can be updated to be engine-accurate. | |||
2016-02-27 | SCI32: Clear InfoFlagViewVisible after updating ScreenItem | Willem Jan Palenstijn | |