aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-20SCI: kernelSetZoomZone is a stub in Mac versions. Fixes bug #7040Filippos Karapetis
Cursor handling is quite different in Mac SCI versions. Among other changes, the screen where a zoom cursor was used in Freddy Pharkas has been redesigned to work without such a cursor, and the relevant zoom cursor call has been stubbed
2016-02-20SCI: Rewrite Plane::mergeToRectListWillem Jan Palenstijn
The old one would continue reading from outerRect after it was deleted.
2016-02-20SCI32: Some work on kIsOnMeMartin Kiewitz
Plenty of hotspots seem to work now Not fully done yet
2016-02-19SHERLOCK: RT: Fix violin not playing all the way throughPaul Gilbert
2016-02-19SWORD25: Fixing bug #7041: SWORD25: Crash in final sceneEugene Sandulenko
The original was ignoring Lua errors in that scene and was restoring the state with longjmp. We are yet to see the platform compatibility, but Lua's code is too tangled to make simple replacement with error() work. Another possible alternative would be to rework the original game scripts. We will do it if this commit is problematic.
2016-02-19SCI32: Make upscaled games work (e.g. gk1 hires)Martin Kiewitz
2016-02-19AGI: Comment about another artificial delay situationMartin Kiewitz
Gold Rush, Stagecoach path, after solving steep hill
2016-02-19AGI: Fix a tiny inaccuracy in string word wrapperMartin Kiewitz
Fixes one message box in Gold Rush during Stagecoach path, that wasn't wrapped correctly.
2016-02-19AGI: Add artificial delay for GR stagecoach pathMartin Kiewitz
2016-02-19AGI: Slightly change artificial delay to detect GR muleMartin Kiewitz
Now also detects the text, that is shown when following your mule in Gold Rush!
2016-02-19AGI: Fix comment about end.of.loop/motionMartin Kiewitz
2016-02-19AGI: Add detection+workaround for endofloop+motion at the same timeMartin Kiewitz
Detects when end.of.loop + motions are used on the same screen object at the same time, which would have resulted in flag corruption in the original interpreter. We detect this situation now, show a warning and disable the cycler in case cycler was activated first. This solves a new issue in kq1, when grabbing the eagle in room 22, that was previously hidden just like in the original AGI. Fixes bug #7046
2016-02-18SCI: Minor cleanupColin Snover
1. Reorder member initialisations to match class member order 2. Use #pragma mark instead of comments for annotating sections 3. Remove useless >=0 checks on unsigned types
2016-02-19AGI: Save screen object loop_flagMartin Kiewitz
loop_flag was previously vt.parm1, which was shared for multiple uses. Was split up during graphics rewrite in commit 8a595e7771aa89d06876e13d7ab6751e26da8982 Is indirectly part of bug #7046. Saving, restarting ScummVM and restoring right after grabbing the eagle resulted in the glitch not happening (which was of course an inaccuracy anyway). This was caused by AGI currently not saving/restoring the loop_flag. Needs to get further figured out what's exactly happening internally and if this issue was just hidden by the shared vt.parm1 in previous versions. If triggered, it would have just set another pseudo-random flag on end-of-loop.
2016-02-19SCI: Use American English, like we do in other parts of ScummVMFilippos Karapetis
This replaces "colour" to "color"
2016-02-19SCI: Compare offsets in the Plane comparison operatorFilippos Karapetis
Fixes a crash in the first scene of Torin's Passage
2016-02-19GRAPHICS: Silence some false positive MSVC warningsFilippos Karapetis
2016-02-19SCI: Use proper constification in overriden base class functionsFilippos Karapetis
2016-02-19SCI: Silence false positive warnings by MSVCFilippos Karapetis
2016-02-18SCI: Fix bad positioning of relatively positioned pic celsColin Snover
2016-02-18SCI: When rewriting lookup tables, also actually record what scale they are forColin Snover
2016-02-18SCI: Fix too-fast renderingColin Snover
Now that the renderer is loading resources without spinning CPU time on decompression every frame, it becomes apparent that kFrameOut is spammed constantly by the interpreter and needs to be throttled to ensure that transitions and fades work properly.
2016-02-18SCI: Fix some rect off-by-onesColin Snover
2016-02-18SCI: Add comments to plane codeColin Snover
2016-02-18SCI: Increase LRU resource cache for SCI32 gamesColin Snover
A single picture in SCI32 is often larger than the 256KiB limit, meaning that the cache is useless for these games -- which is bad, because the renderer works directly off raw resource data so it must be decompressed and in-cache for rendering performance to be acceptable.
2016-02-18SCI: Fix broken LRU debuggingColin Snover
2016-02-18SCI: Implement templated drawing subroutinesColin Snover
2016-02-18SCI: Add short-lived kSetFontRes kernel functionColin Snover
kSetFontRes didn't exist in SCI2, showed up in SCI2.1early, then was replaced with kFont subop 1 in SCI2.1mid.
2016-02-18SCI: WIP GfxText32 codeColin Snover
This at least prevents SQ6 from crashing when going into the introduction
2016-02-18SCI: Build kernel table for ScrollWindow and stub seen functionsColin Snover
Signatures in subops table are correct for length but unknown types are marked as . instead of the correct type.
2016-02-18SCI: Remove wrong comments in kernel.h and break apart logical sectionsColin Snover
2016-02-18SCI: Fix palette equality checkColin Snover
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
2016-02-18COMMON: Add convenience method to Common::Rational for 1:1 ratiosColin Snover
For SCI engine games, ratios may not be normalised and so to avoid extra scaling, there needs to be a way to simply check whether a ratio is 1:1.
2016-02-18COMMON: Add methods for inserting and erasing with iteratorsColin Snover
This provides improved feature parity to Common::List and is used in SCI32 engine.
2016-02-18AGI: Add missed commaEugene Sandulenko
2016-02-18AGI: Apple IIgs time delay override MH1 completedMartin Kiewitz
+ Disable hide.mouse for MH1 Apple IIgs
2016-02-18OPENPANDORA: Fix op-pnd target when no TERM is set.Johannes Schickel
2016-02-18METAENGINE: Hint the compiler that we intentionally ignore pollEvents() ↵Eugene Sandulenko
return value
2016-02-18WAGE: Safety check on parsing main game fileEugene Sandulenko
2016-02-18WAGE: Plug memory leakEugene Sandulenko
2016-02-18WAGE: Plug memory leakEugene Sandulenko
2016-02-18WAGE: Safer string concatenationEugene Sandulenko
2016-02-18WAGE: Initialize class variablesEugene Sandulenko
2016-02-18AGI: Apple IIgs time delay override KQ4 completedMartin Kiewitz
2016-02-17AGI: Make SQ2 Apple IIgs get a AGI 2.917 equivalent and not 2.936Martin Kiewitz
Solves the priority issues at the end, because the set.pri.base call is now rejected by us. The IIgs interpreter seems to feature 177 kernel calls, but the last few are not what we expect them to be. It seems set.pri.base was discard.sound for this interpreter. It seems it was cleaned up for kq4. That one actually uses dynamic priority bands and it's working properly. Fixes bug #7034
2016-02-17SDL: Work around bug #7038 by limiting mode reset to Win32.Johannes Schickel
Bug is: "IRIX: X BadMatch when trying to start any 640x480 game". 40e019efd45a02261a7dbc69ceaa9188d8c7a269 introduced resetting the pixel depth when unloading modes for SDL output. This was required to make mode listing for OpenGL work on Win8+. This causes issues on non-Win32 platforms though. SDL might not give us a valid a pixel depth, causing the resetting to fail. A particular example is X11 on IRIX, when only 16bit output modes work. Initially SDL tells us that the pixel depth is 32bit. Trying to set this up causes a crash though. Since there is no way to validate SDL's return value, we simply limit the reset to platforms where it is actually required, i.e. Win32.
2016-02-17AMIGAOS: Fix native build breakage caused by indented comments in amigaos.mk.Johannes Schickel
As pointed out by Raziel^.
2016-02-17AMIGAOS: Fix 'amigaosdist' for in-tree builds on AmigaOS.Hubert Maier
AmigaOS's Rexx interpreter seems to have problems with './' in the path to the Rexx script. We work around this by copying it to the cwd and using it from there. Manual merge of PR #669 "AMIGAOS: Fix amigaos.mk to make the rexx script work on local builds".
2016-02-16I18N: Regenerate translations data fileThierry Crozat