Commit Graph
1475 Commits
Author SHA1 Message Date
Martin Kiewitz 0e9291e929 SCI: fixing mirrored sci32 pictures
fixes lsl6, also slight cleanup and adding comments about sci32 picture resources

svn-id: r51162
2010-07-22 20:11:53 +00:00
Martin Kiewitz 0848e3dd93 SCI: doing res correction on text as well
"fixes" lsl6 abort intro dialog

svn-id: r51159
2010-07-22 19:30:20 +00:00
Martin Kiewitz 49c41ab166 SCI: some changes to kFrameout for sci32
cels are now clipped correctly against plane boundaries, nsRect is also set now, fixes some hotspot issues and larry disappearing when going to the left/right of screen

svn-id: r51158
2010-07-22 19:20:26 +00:00
Filippos Karapetis aa15d5fcd1 SCI: Remove sanity check introduced in rev 51154. When a node is deleted via kDeleteKey, the successor is set to NULL, thus list processing stops (which is what SSCI is doing).
svn-id: r51157
2010-07-22 18:14:43 +00:00
Filippos Karapetis 91e909a25c SCI: Added a sanity check for rev 51152. If a node has been deleted, it shouldn't have a successor node
svn-id: r51154
2010-07-22 17:53:32 +00:00
Filippos Karapetis 634d959897 SCI: Fixed the crash in LSL2, room 42 (when arriving at the island). kAnimate may refer to unfrozen objects which have been deleted, thus handle that case accordingly.
svn-id: r51152
2010-07-22 17:25:21 +00:00
Filippos Karapetis b587bf35c8 SCI: changed the comment about the palette merging (it's not a workaround anymore). Also, changed the warning when a picture has a broken palette into debug output - these pictures (which can be found in other games too) are usually meant to be blank, thus don't have a palette
svn-id: r51148
2010-07-22 16:01:32 +00:00
Matthew Hoops c1ad4a1110 Use new[]/delete[] instead of malloc/free
svn-id: r51144
2010-07-22 14:33:14 +00:00
Matthew Hoops ede85a539a Silence gcc warning
svn-id: r51143
2010-07-22 14:29:00 +00:00
Martin Kiewitz a01152a3ba SCI: some more work on priority sci32
svn-id: r51139
2010-07-22 12:36:58 +00:00
Martin Kiewitz ed1ae39e46 SCI: removing priority hack for gk1hires
also fixing base picture drawing

svn-id: r51137
2010-07-22 11:11:31 +00:00
Martin Kiewitz 15ef4b23a0 SCI: some work on priority in sci32
svn-id: r51134
2010-07-22 10:24:08 +00:00
Filippos Karapetis 093800dc1c Silenced a known warning in SQ5, after the intro
svn-id: r51131
2010-07-22 08:57:25 +00:00
Martin Kiewitz ab655ba01f SCI: terminating at another resource of sq4cd
contains broken data as well, room 35

svn-id: r51103
2010-07-21 20:13:24 +00:00
Martin Kiewitz e1bc084547 SCI: fixing hires background pictures sci2.1
svn-id: r51086
2010-07-21 13:13:55 +00:00
Martin Kiewitz 54c516b3bf SCI: kSetNowSeen sci2.1
fixes hotspots

svn-id: r51085
2010-07-21 12:41:17 +00:00
Martin Kiewitz 15fc39589d SCI: more work on coordadjustment sci32
svn-id: r51084
2010-07-21 12:05:10 +00:00
Martin Kiewitz 2a47f573dd SCI: some sci32 fixes
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area

svn-id: r51074
2010-07-20 21:22:39 +00:00
Martin Kiewitz c2577da7e0 SCI: fixed jones/ega/vga port issue
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well

svn-id: r51071
2010-07-20 19:42:48 +00:00
Martin Kiewitz f4a32793c0 SCI: dont fix list control in sq4
sierra fixed this problem by having an up cursor starting one pixel-line later, adjusting in that case would be wrong

svn-id: r51034
2010-07-19 16:47:31 +00:00
Johannes Schickel 83e2aa2360 Remove extra ";" in class declarations.
svn-id: r50955
2010-07-17 00:05:27 +00:00
Martin Kiewitz ddd01ffcb6 SCI: some big changes to kCantBeHere - kCantBeHere returns the actual "problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate
svn-id: r50919
2010-07-15 19:23:18 +00:00
Martin Kiewitz 40ed004b18 SCI: removing hardcoded size when drawing list controls - fixes load/save dialog in lsl6
svn-id: r50894
2010-07-14 21:00:59 +00:00
Martin Kiewitz f456b7cfa2 SCI: separating qfg1ega and qfg1vga gameids
svn-id: r50881
2010-07-14 11:53:12 +00:00
Filippos Karapetis 217af391cd SCI: Removed a chatty (and unneeded) warning
svn-id: r50860
2010-07-14 00:52:21 +00:00
Martin Kiewitz 8171093614 SCI: adding comment about palette formats
svn-id: r50847
2010-07-13 15:49:13 +00:00
Martin Kiewitz b97ef271c7 SCI: adding comment about GfxPicture::draw() and picture resource formats
svn-id: r50846
2010-07-13 15:46:21 +00:00
Martin Kiewitz d2b47ee775 SCI: change handling of priority in combination with embedded cels inside picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car)
svn-id: r50845
2010-07-13 15:42:59 +00:00
Martin Kiewitz c77c84f5c5 SCI: also sync palette after playing movies, fixes kq6 intro
svn-id: r50798
2010-07-11 10:11:31 +00:00
Martin Kiewitz df6ead5f93 SCI: calling speed throttler as well from kPalette(setIntensity) if needed - fixes kq6 intro
svn-id: r50794
2010-07-10 22:27:28 +00:00
Martin Kiewitz 28d07c7e0a SCI: calculate widths for menu after switching to menuport, i guess this was the reason why we sometimes had issues drawing parts of the menu (random issue)
svn-id: r50784
2010-07-10 16:22:08 +00:00
Martin Kiewitz f38348b82e SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this)
svn-id: r50780
2010-07-10 12:19:32 +00:00
Martin Kiewitz a7cd1534c6 SCI: fix regression of r50721 - pausing/resuming only on actual menu usage
svn-id: r50724
2010-07-06 14:10:09 +00:00
Martin Kiewitz f3a935351b SCI: fix regression of r50599 - broken greyed font drawing
svn-id: r50720
2010-07-06 11:03:10 +00:00
Martin Kiewitz c1aecd0b9b SCI: change drawing of fonts, so that we never do triple pixel line duplications. sierra didn't do this, but it looks much better - "fixes" gk1, kq6 font rendering when running in hires
svn-id: r50599
2010-07-02 15:58:09 +00:00
Martin Kiewitz 7b6be52f22 SCI: added possible workaround or final solution for hires portraits not fully removed from screen in kq6 - needs to get investigated further but this will get a little bit difficult
svn-id: r50594
2010-07-02 09:50:33 +00:00
Martin Kiewitz b8ff75047b SCI: changing adjusting of upscaled hires box coordinates
svn-id: r50593
2010-07-02 09:09:22 +00:00
Filippos Karapetis 91a414dbc9 Extended the SCI2 text drawing hack for SCI2.1 too, and added font caching
svn-id: r50592
2010-07-02 08:55:12 +00:00
Martin Kiewitz 1287e6f252 SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots in gk1
svn-id: r50536
2010-06-30 15:44:26 +00:00
Martin Kiewitz bcc010a56e SCI: remove some duplicate code
svn-id: r50535
2010-06-30 15:26:45 +00:00
Martin Kiewitz 4e999c8295 SCI: support for hires views in gk1
svn-id: r50533
2010-06-30 14:26:47 +00:00
Filippos Karapetis 3a2ac994d4 Handle empty clip rectangles in GfxView::drawScaled(). Fixes an assert in the first room of the game
svn-id: r50503
2010-06-29 20:13:57 +00:00
Max Horn 8db0f726c0 SCI: Rewrap more comments
svn-id: r50500
2010-06-29 14:55:32 +00:00
Max Horn 1027f870a6 SCI: Add some const qualifiers
svn-id: r50499
2010-06-29 14:55:09 +00:00
Max Horn b743fcc9f5 SCI: Rename listEntry -> 'it' for better readability
svn-id: r50498
2010-06-29 14:54:47 +00:00
Max Horn c8dca083d8 SCI: Simplify List::iterator usage in GfxAnimate
svn-id: r50497
2010-06-29 14:54:31 +00:00
Max Horn 32b69ccd9d SCI: Simplify GfxAnimate code, get rid of _listData
svn-id: r50496
2010-06-29 14:54:15 +00:00
Martin Kiewitz 473c429b5c SCI: updated comment about transparent pixels in views
svn-id: r50454
2010-06-28 18:10:21 +00:00
Martin Kiewitz bc77740306 SCI: kAnimate resetting _lastCastCount all the time
svn-id: r50453
2010-06-28 18:07:40 +00:00
Martin Kiewitz 06648cb186 SCI: fix regression of r50422, please no refactoring without proper testing - fixes animations in all sorts of games
svn-id: r50451
2010-06-28 16:56:15 +00:00