aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-06Merge pull request #775 from wjp/sci32_readwriteWillem Jan Palenstijn
SCI32: Improve FileIO read-write support
2016-07-06SCI32: Add SaveFileRewriteStream for read/write access to filesWillem Jan Palenstijn
At least Phantasmagoria and PQ:SWAT require this. This adds a ReadStream/WriteStream to support this. It replaces the previous VirtualIndexFile which required reimplementation of most read/write functions.
2016-07-06AUDIO: Fix audio corruption in MS ADPCM decoderTorbjörn Andersson
Since _decodedSamples[] is filled with either 2 or 4 samples, we can't use 1 - (count - 1) to "ensure that acts as a FIFO". When we have 4 samples, that index will become negative, putting uninitialized data into the buffer. We could still use a similar trick, but I think it's much clearer to use an index variable like this. We need an addition variable either way.
2016-07-06SCI: Fix typo in script patch comment (longbow arithmetic bug)Martin Kiewitz
Wasn't bug #6571, but bug #6751 Thanks to omer_mor for spotting it
2016-07-06Revert "SCI: Mark INNDEMO as demo"Martin Kiewitz
This reverts commit 61a8a5a88f4f02f1d4cdd3523ad6cec63701d8dd.
2016-07-06SCI: Mark INNDEMO as demoMartin Kiewitz
2016-07-06Merge pull request #781 from OmerMor/inndemoMartin Kiewitz
SCI: Add detection for the ImagiNation Network (INN) Demo
2016-07-06SCI: Add detection for the ImagiNation Network (INN) DemoOmer Mor
2016-07-05Revert "GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC"Eugene Sandulenko
This reverts commit 1d3d6c869240ad076631576be081cfadfef34865. As it was pointed by wjp, this fully ignores the alphamask.
2016-07-05Merge pull request #780 from BenCastricum/po_nl-nlEugene Sandulenko
I18N: Update dutch translation
2016-07-05I18N: Update dutch translationBen Castricum
2016-07-05GRAPHICS: Fix GUI transparency. As pointed by blitter on IRCEugene Sandulenko
2016-07-04MOHAWK: Have the Myst and Riven options dialog share a base classBastien Bouclet
Now the Riven options dialog has the same features as the Myst one: - Screen centering - Save / Load / Quit buttons
2016-07-04MOHAWK: Change the Riven options dialog's cancel button not to save the settingsBastien Bouclet
2016-07-04MOHAWK: Change the Riven options dialog not to subclass GUI::OptionsDialogBastien Bouclet
2016-07-04SCI: Adding script patch for longbow arithmetic berry bush bugMartin Kiewitz
Fixes bug #6571
2016-07-04PRINCE: Remove manual debug level setting. It's too noisy.Torbjörn Andersson
2016-07-04BBVS: Remove some uses of g_systemTorbjörn Andersson
2016-07-04PRINCE: Add video player for topware.avi logoTorbjörn Andersson
The sound is rather bad, but I assume that's something with our CinePak video decoder so I'll leave it like this for now. The player itself is based on the BBVS engine.
2016-07-03PRINCE: Prefix the names of the data archivesTorbjörn Andersson
This avoids a conflict between the "all" directory and the "all" archive, if the directory happens to be named in all lower case. While it isn't on the CD, we shouldn't introduce case sensitivity in the file names if we can avoid it.
2016-07-03PRINCE: Correct search path to voices/databank.ptcTorbjörn Andersson
At least in my copy, the voices directory is on the same level as the other directories. (Though the whole thing is inside a directory called "data", so maybe that's where that came from?)
2016-07-03Merge pull request #778 from raziel-/patch-1Willem Jan Palenstijn
BASE: Fix Typo
2016-07-03BASE: Fix TypoHubert Maier
2016-07-03Revert "SDL: Fix keyboard on macOS, fix directional keypad"Martin Kiewitz
This reverts commit 9aa7174218983bb1cf6fd98325082ca7d37f50fb. For now.
2016-07-03SDL: Fix keyboard on macOS, when using SDL2, fix directional keypadMartin Kiewitz
This will hopefully fully fix keyboard issues for macOS / SDL2, for example when pressing "alt-x". Also reset .ascii to 0, when Num-Lock is NOT enabled and keypad directional keys are pressed. This was fixed inside AGI+SCI previously. The latter shouldn't cause issues, but in case it does, the affected engine should get fixed and use keycodes instead.
2016-07-03Merge pull request #741 from wjp/sci-callWillem Jan Palenstijn
SCI: Clean up some aspects of call handling
2016-07-03Merge pull request #772 from BenCastricum/bugfixesEugene Sandulenko
MISC: Bugfixes
2016-07-02SCI32: Expose graphics throttling codeColin Snover
Controls that manage their own event loops and call frameOut directly generally need to sleep in order to avoid 100% CPU, just like the main VM event loop.
2016-07-02SCI32: Document _remapOccurred flagColin Snover
2016-07-02SCI32: Improve accuracy of frameout throttlerColin Snover
2016-07-02SCI32: Add const to getCurrentBufferColin Snover
2016-07-02SCI32: Document ScreenItem::_insetRectColin Snover
2016-07-02SCI32: Fix dropping events in kEditTextWillem Jan Palenstijn
2016-07-02SCI: Remove presumably long-outdated FIXMEWillem Jan Palenstijn
2016-07-02SCI: Remove unexpected side effect from ExecStack constructorWillem Jan Palenstijn
The ExecStack constructor set argp[0] to argc before. This is now moved to the caller, to make this action more explicit.
2016-07-02SCI: Remove unclear &rest handlingWillem Jan Palenstijn
Modifying a value above the stack pointer doesn't seem to make much sense. This was added in FreeSCI back in 2002 in a pair of commits that did not make clear what the purpose of this was. My guess is that it attempted to adjust argc, but failed. This wouldn't have been noticed since argc was always set correctly by make_exec_stack_entry (which is now the ExecStack constructor).
2016-07-02SCI: Improve kernel subfunction loggingWillem Jan Palenstijn
ExecStack now stores the kernel call number as well as the subfunction. This allows kStub and backtraces to log the actual subfunction called. The kernel call number in ExecStack used to be stored in the debugSelector field. It now has its own field, to avoid confusion.
2016-07-02SCI: Remove unneeded copyWillem Jan Palenstijn
2016-07-02COMMON: Make MemoryWriteStreamDynamic private members protectedWillem Jan Palenstijn
2016-07-02SCUMM: Add actor/object names to debug outputOri Avtalion
2016-07-01SCI32: Fix signed comparison warningsColin Snover
2016-07-01SCI32: Fix bad rendering of subtitle backgrounds in TorinColin Snover
The way dimensions of scaled screen items are calculated changed over the lifetime of SSCI. In early low-resolution and mixed-resolution games, scaled drawing needed to use at a global cadence across the entire screen to ensure proper alignment, but in later games (like Torin), local scaling of individual screen items seems to be the way scaling is performed.
2016-07-01SCI32: Use better audio fading algorithmColin Snover
Using the one from SCI2.1mid makes fades very slow because SDL has a larger audio buffer than SSCI DOS. This new algorithm is based on wall time so will always fade at the correct speed, although the larger buffers will have a coarser granularity so the fades may not be as smooth as in the original engine. If anyone cares, the fade volume could be mixed into individual samples in `readBuffer` instead of applying just once per complete buffer. SSCI did not do this, however, so this implementation should be pretty accurate.
2016-07-01SCI32: Fix audio fadingColin Snover
2016-07-01SCI: Fix script patcher, so that it works on BE systemsMartin Kiewitz
2016-07-01SDL: Fix mouse trailing part of bug #7141Ben Castricum
Overlays are shown with _currentShakePos offset too, so no need to compensate the mousepointer position for overlays. This compensation was done inconsistently in draw/undraw mouse causing the mouse trails.
2016-07-01SCUMM: reset ShakePos on loading, fixes one part of bug #7141Ben Castricum
2016-07-01SKY: change "savegame" into "saved game"Ben Castricum
2016-07-01SCUMM: Use exact strings in stringtable, fixes bug #6886Ben Castricum
Similar (fix) to bug #6739
2016-07-01Merge pull request #766 from OmerMor/qfg3_boundsFilippos Karapetis
SCI: Script patch for QfG3 giant tree bounds