Commit Graph
1475 Commits
Author SHA1 Message Date
Filippos Karapetis 273a9eb036 SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
svn-id: r52224
2010-08-20 12:24:48 +00:00
Filippos Karapetis 087a15ae0e SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere
svn-id: r52223
2010-08-20 10:49:01 +00:00
Martin Kiewitz af46e0fdc0 SCI: disabling EGA mapping after sci1ega
fixes vga conversion games graphic glitches, some views have bad mapping tables

svn-id: r52218
2010-08-19 22:21:03 +00:00
Martin Kiewitz d8726d8058 SCI: sci1.1 pictures w/o cel don't set palette
even if one is present in the picture, fixes some transitions looking weird in eq2 - bug #3037126

svn-id: r52125
2010-08-16 16:50:45 +00:00
Martin Kiewitz f8697e20b5 SCI: now reusing window ids on kNewWindow
sq4cd recreates the inventory window several times, but also reuses old window ids, causing kernelSetActive errors. fixes bug #3044757

svn-id: r52079
2010-08-14 08:03:32 +00:00
Martin Kiewitz 512bf22af6 SCI: adding workaround for camelot during ending
fixes bug #3044734
also fixing heap corruption during the ending

svn-id: r52077
2010-08-14 06:05:54 +00:00
Matthew Hoops f252c0b67e SCI: Add support for Mac 'crsr' cursors used in SCI2+ games
svn-id: r52076
2010-08-14 04:21:09 +00:00
Martin Kiewitz 6181241f57 SCI: extending life of port for sq4 gum wrapper
fixes bug #3044507

svn-id: r52068
2010-08-13 18:25:16 +00:00
Martin Kiewitz 91c2c7f401 SCI: fixing text color support
fixes some words not being red in pepper (part of bug #3040039)

svn-id: r52031
2010-08-12 09:52:00 +00:00
Martin Kiewitz 06139e2be7 SCI: properly doing kAnimate loop/cel fixing
really weird, but it works now. Bug #3037578 (kq5 trunk), bug #3043286 (lb1 knight)

svn-id: r52007
2010-08-11 21:47:44 +00:00
Martin Kiewitz 7e3b2bedb6 SCI: revert r51969
broke laura bow 1, need to figure out whats exactly wrong

svn-id: r52004
2010-08-11 21:16:45 +00:00
Martin Kiewitz 0c7932cc7c SCI: fixing kGraphFillBoxAny implementation
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185
cleanup of GfxPaint16::fillRect

svn-id: r51994
2010-08-11 18:19:58 +00:00
Martin Kiewitz ab35ae03c3 SCI: kAddToPic only wrote nsRect in sci1.1
fixes regression of r51952 and bug #3042957

svn-id: r51971
2010-08-11 12:01:56 +00:00
Martin Kiewitz 42c3cc4c08 SCI: kAnimate invalid loop/cels now correctly fixed
fixes kq5 trunk getting closed again during intro - is actually a script bug that sets cel to some really high number - bug #3037578, may also fix other similar issues

svn-id: r51969
2010-08-11 05:20:29 +00:00
Martin Kiewitz d154361e89 SCI: improving comment about r51955
svn-id: r51956
2010-08-10 18:05:04 +00:00
Martin Kiewitz 9be20d5f0a SCI: adding displaceY adjust for sci1.1 views
sierra sci did this in their getCelRect(), we are doing it while loading, fixes laura bow not appearing in taxi (bug #3041220)

svn-id: r51955
2010-08-10 18:00:27 +00:00
Martin Kiewitz a201b2e506 SCI: kAddToPic(list) set fixed priority flag
svn-id: r51954
2010-08-10 17:16:38 +00:00
Martin Kiewitz 684afb6236 SCI: add scaling support to kAddToPic
fixes laurabow2 bug #3041226

svn-id: r51952
2010-08-10 15:54:34 +00:00
Martin Kiewitz 197f6c2228 SCI: adding workaround for kq5
when giving the tambourine to the monster - bug #3041262

svn-id: r51950
2010-08-10 13:18:13 +00:00
Martin Kiewitz a06dcea2e5 SCI: kDisposeWindow changes
kDisposeWindow doesn't free windows immediately anymore. We free them after some calls to kSetPort, so the handle will be valid for a short time. Fixes sq4cd and hoyle 4 (commented out patching of script for hoyle 4)

svn-id: r51932
2010-08-08 18:26:40 +00:00
Martin Kiewitz adc243c5ac SCI: changing kBaseSetter behaviour when scaled
fixes lb2 docks issue (bug #3036306)

svn-id: r51835
2010-08-07 15:02:08 +00:00
Martin Kiewitz 753c431937 SCI: adding script patching
including a patch for hoyle 4 and commenting out the workaround code inside kDisposeWindow

svn-id: r51795
2010-08-06 18:54:58 +00:00
Martin Kiewitz c71f1f1612 SCI: actually enable hoyle 4 workaround
and adding additional comment

svn-id: r51754
2010-08-05 07:54:33 +00:00
Martin Kiewitz 1b69257654 SCI: changing hoyle 4 workaround
fixing hoyle 4 detection entry (not a demo)
adding direct selector fix, maybe we should replace this later with a script patch
adding detailed comment about the issue

svn-id: r51753
2010-08-05 07:49:19 +00:00
Matthew Hoops 642b03fb44 SCI: Add kDisplay workarounds for the Hero's Quest demo
svn-id: r51742
2010-08-04 17:50:09 +00:00
Filippos Karapetis 624107319e SCI: Fixed an off-by-one error in GfxPorts::getPortById() and moved the error checking code outside the function. Also fixed script bug #3039305 - "HOYLE4: segfault"
svn-id: r51733
2010-08-04 12:41:00 +00:00
Martin Kiewitz 975e3bf83e SCI: fixing a scrolling issue in sci32
svn-id: r51729
2010-08-04 10:11:06 +00:00
Matthew Hoops cbe07a07b7 SCI: Fix SCI32 texts that are in Str objects
The text selector of the text bitmap object can contain either a Str object or a raw string. Handling the Str object case fixes the Torin demo. Oooh! Vertical scrolling!

svn-id: r51722
2010-08-04 05:06:41 +00:00
Martin Kiewitz dc08c733db SCI: adding jones/talkie speed throttler view
fixes bug #3038989, regression of r51544

svn-id: r51714
2010-08-03 20:46:28 +00:00
Martin Kiewitz 2e11c1cf96 SCI: reset ports when restoring
fixes qfg3/fairy tales restoring (bug #3035626)
also fixes ScummVM menu restoring while a window is shown (e.g. sq5)

svn-id: r51712
2010-08-03 19:43:16 +00:00
Martin Kiewitz 65e215628d SCI: dont clip plane during frameout.cpp
disables scrolling capability
(regression of r51615)

svn-id: r51697
2010-08-03 15:04:56 +00:00
Martin Kiewitz 09f4562551 SCI: adding non-scaleable view capability
fixes laura bow 2 (especially floppy but CD is also affected somewhat by this)

svn-id: r51660
2010-08-02 21:04:09 +00:00
Martin Kiewitz 512fec56c7 SCI: adding offTop = 0 for mother goose sci1.1
fixes graphics in that game

svn-id: r51643
2010-08-02 18:04:23 +00:00
Martin Kiewitz 50b8073bab SCI: clipping plane rects for sci32
fixes crash in hires gk1 on cemetary

svn-id: r51615
2010-08-02 13:41:58 +00:00
Martin Kiewitz 52c9c7b445 SCI: fixing getting selected language
for multilingual games

svn-id: r51608
2010-08-02 08:47:06 +00:00
Martin Kiewitz ddd2bd6a1c SCI: switching to upscaled hires on pc98 games
instead of checking the language to be japanese for that

svn-id: r51601
2010-08-01 22:59:58 +00:00
Matthew Hoops 79bf94c877 SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's used in GK1)
svn-id: r51583
2010-08-01 17:54:48 +00:00
Martin Kiewitz adde79f1cb SCI: fixing regression of r51520
svn-id: r51580
2010-08-01 16:43:49 +00:00
Martin Kiewitz 68f7b9be4c SCI: reading the actual priority instead of guessing
svn-id: r51569
2010-08-01 09:20:21 +00:00
Johannes Schickel 8851c2016f SCI: Fix uninitialized variable warning in g++.
Thanks to clone2727 for suggestion to initialize the default new plane
priority to 0xFFFF, which means that the plane should be invisible. I added a
FIXME there though. So please re check this change. In case that is fine just
remove the FIXME, in case some other default value should be chosen, please
change the value and also remove the FIXME.

svn-id: r51561
2010-08-01 01:00:30 +00:00
Martin Kiewitz 3e29e9ffae SCI: adding detection for benchmark views
and enable speed throttler when just one regular cel was drawn, fixes eco quest 2 ego getting light-speed fast in village (bug #3036805)

=this could cause regressions like disabled animations in games=

svn-id: r51544
2010-07-31 16:41:42 +00:00
Martin Kiewitz fd7bc29536 SCI: adjusting inside view::getCelRect for sci0early
fixes cels being placed wrongly, sci0early didnt have the z adjust.

svn-id: r51537
2010-07-31 13:13:46 +00:00
Martin Kiewitz e40ee138af SCI: kAnimate - limit update of nsRect when scaled
only set nsRect when being drawn later (scaled only), fixes sq5 instant-death in elevator shaft

svn-id: r51534
2010-07-31 08:05:23 +00:00
Martin Kiewitz 9deb52fba6 SCI: fixing stupid typo
svn-id: r51533
2010-07-31 07:37:06 +00:00
Martin Kiewitz 5dac7ba6ba SCI: fix kAddToPic called with view data
and adding workaround for pq2 when showing windows with pictures
change to kAddToPic fixes bad coordinates of cels when restoring the game (should also fix lsl2)

svn-id: r51526
2010-07-31 00:48:03 +00:00
Johannes Schickel fd0f5696a5 SCI: Add comment about stability requirements in makeSortedList.
svn-id: r51523
2010-07-30 23:24:45 +00:00
Martin Kiewitz 062d9eedce SCI: fixing view scaling code
fixes crash in sq5 with elevator on goliath

svn-id: r51520
2010-07-30 22:44:23 +00:00
Martin Kiewitz 839ba339ed SCI: finally fixing font codes
fixing regressions of r51511&51512 and cleaning up as well - for sq5

svn-id: r51513
2010-07-30 16:55:36 +00:00
Martin Kiewitz 6aa228ccd8 SCI: fixing another text color code issue
(sq5 some dialog boxes again using wrong font in rare cases)

svn-id: r51512
2010-07-30 16:23:09 +00:00
Martin Kiewitz 6dd5dfb7d0 SCI: fixing font code handling in kTextSize
fixes incorrect window proportions in sq5 when hailing ship at clorox II

svn-id: r51511
2010-07-30 16:08:27 +00:00