Commit Graph
1475 Commits
Author SHA1 Message Date
Martin Kiewitz 1bcbd71c97 SCI: hacked up a bit sci32 graphics to support (theoretically) scaling
svn-id: r47668
2010-01-29 14:05:21 +00:00
Martin Kiewitz caeafb29ff SCI: little hack so that old views are erased in sci32
svn-id: r47667
2010-01-29 13:48:02 +00:00
Max Horn 4ffec28103 SCI: Move selector stuff to new header; reorder k_argc & k_argp param of invoke_selector
svn-id: r47665
2010-01-29 11:03:54 +00:00
Martin Kiewitz 981252b1fe SCI: view class fix for hires views that are larger than 64k (fixes kq7 cel corruption)
svn-id: r47661
2010-01-29 00:03:10 +00:00
Martin Kiewitz f7692e724f SCI: some progress on REing robot files (99% comments only)
svn-id: r47647
2010-01-28 19:28:56 +00:00
Filippos Karapetis 08006eef1e Made the code inside SciGui::display() a bit more readable
svn-id: r47615
2010-01-27 22:56:00 +00:00
Martin Kiewitz dfae4f7e99 SCI: fix for clipping code inside kGraph
svn-id: r47613
2010-01-27 22:53:09 +00:00
Martin Kiewitz a45af3457a SCI: removing duplicate comment line that isnt right there (it documents the other view format)
svn-id: r47605
2010-01-27 18:11:49 +00:00
Matthew Hoops 12569a5f32 Only reshow the cursor after playing a video if it was originally showing beforehand. This fixes the GK1 demo menu.
svn-id: r47602
2010-01-27 16:54:58 +00:00
Martin Kiewitz f27c8284a5 SCI: scaling for non-regular cels, scaling for reanimate (fixes pharkas demo, fixes lb2 cd credit windows)
svn-id: r47594
2010-01-27 11:18:05 +00:00
Martin Kiewitz e0d05a482c SCI: changed flags (uint16) to force (bool) for set/merge palette methods
svn-id: r47578
2010-01-26 22:45:52 +00:00
Martin Kiewitz 935ded3615 SCI: force palette merging for kq6 hires portraits (cause its needed on those)
svn-id: r47577
2010-01-26 22:34:17 +00:00
Martin Kiewitz f8a83cd61d SCI: dont do real merging of palettes for sci1.1+, fixes sq5 wilco face, wilco blue thingie in the background of intro, island of dr. brain, sq4 white pixels in background and more
svn-id: r47574
2010-01-26 21:12:13 +00:00
Martin Kiewitz 87ff1c7b7e SCI: removing now unneeded table EGAtable from palette class
svn-id: r47565
2010-01-26 11:40:54 +00:00
Martin Kiewitz ba7eb79074 SCI: removed EGA mapping for amiga games, cause changing K_GRAPH_GET_COLORS_NR to support amiga also fixes it - also fixes other odd issues like the ones in kq5 and castle of dr. brain/sq1 (thx. to waltervn for finding this out)
svn-id: r47560
2010-01-25 20:44:13 +00:00
Filippos Karapetis 3b7af74af4 Fixed window port for Slater and Hoyle 3 (the top coordinate of the main window port is 0 like Jones, not 10 like in other games)
svn-id: r47559
2010-01-25 19:13:25 +00:00
Martin Kiewitz 6bd6bc4bad SCI: fixing skipping over dummy VGA palettes in amiga games
svn-id: r47555
2010-01-25 17:09:31 +00:00
Martin Kiewitz 5fa0718356 SCI: created isAmiga32color(), using this method instead of comparing against viewType
svn-id: r47554
2010-01-25 12:34:40 +00:00
Martin Kiewitz e7e0810c9c SCI: changed comment about amiga palette inside picture class (removed TODO as well)
svn-id: r47553
2010-01-25 11:26:32 +00:00
Martin Kiewitz 9f1962d006 SCI: support for amiga pictures that change the palette
svn-id: r47552
2010-01-25 11:15:40 +00:00
Martin Kiewitz 8d12d84609 SCI: support for both amiga "palettes" (one is a left-over VGA palette, the other one is a real palette, no idea whats in there cause its just 32 bytes instead of 64 bytes)
svn-id: r47551
2010-01-25 10:17:55 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Martin Kiewitz afcfa58f59 SCI: skip over amiga palette inside pictures for now, needs implementation (TODO added)
svn-id: r47527
2010-01-24 21:46:30 +00:00
Martin Kiewitz 9d1dc48a6e SCI: removed oldMenuId check for BitsShow in menu (was done for keyboard interaction) - using mouse its possible to leave the menu which would now result in inverted menu topic not displayed - fixed
svn-id: r47526
2010-01-24 21:24:07 +00:00
Martin Kiewitz a1daf54425 SCI: never set palette for amiga games (fixes kq5 palette corruption at the beginning)
svn-id: r47525
2010-01-24 21:11:26 +00:00
Martin Kiewitz 44827b340f SCI: changed amiga palette mapping table to map color 15 (white) again, scripts dont like it to be 255 :P
svn-id: r47524
2010-01-24 21:01:21 +00:00
Martin Kiewitz 75816d4ca1 SCI: added comment about using color 255 all the time for amiga games
svn-id: r47523
2010-01-24 20:51:34 +00:00
Martin Kiewitz 2ef7848586 SCI: changing white to be 255 for amiga all the time (works for our interpreter) - fixes mouse cursor on amiga sci1 games
svn-id: r47522
2010-01-24 20:47:35 +00:00
Martin Kiewitz 029154ab3a SCI: fixing amiga mapping for colors 0 and 15, those are hardcoded like everywhere else
svn-id: r47521
2010-01-24 20:38:56 +00:00
Martin Kiewitz b4ecf7f0e1 SCI: self drawn stuff on amiga uses ega palette, we need to match it onto currently used amiga palette (fixes user interface colors for amiga sci1 games)
svn-id: r47520
2010-01-24 20:31:01 +00:00
Martin Kiewitz e51721f7b1 SCI: handle intensity calls for amiga the same way as we handle palette animation (abort instead of process)
svn-id: r47514
2010-01-24 19:42:12 +00:00
Martin Kiewitz d0b8a8e468 SCI: supporting .used bit 1 in palettes (force direct palette setting) and clipping palette intensity results fixes fade in/out in sq5 intro (some timing problems remain)
svn-id: r47495
2010-01-24 10:06:27 +00:00
Filippos Karapetis 5b4fcfdbcb Added some skeleton code for kPalVary()
svn-id: r47485
2010-01-23 21:33:24 +00:00
Martin Kiewitz ed349aba0f SCI: SCI0 games have a grey titlebar
svn-id: r47463
2010-01-23 12:01:04 +00:00
Martin Kiewitz fa80444a12 SCI: restoring r47412, we were right all along but this "hack" was done on the sierra sci interpreter for jones ega/vga only (talkie NOT included). So this restore does it game specific now, causing no regressions anywhere else. We detect jones/talkie as "jones" as well, may cause regressions for talkie
svn-id: r47445
2010-01-22 22:34:14 +00:00
Martin Kiewitz 4500910b49 SCI: reverting r47412, change was incorrect and also resulted in broken animations inside text boxes in kq5. jones also uses hardcoded -1 priority for control icons.
svn-id: r47444
2010-01-22 19:25:48 +00:00
Martin Kiewitz 8f41cc0631 SCI: removed error inside Menu::mouseFindMenuItemSelection, instead returning 0
svn-id: r47442
2010-01-22 18:20:57 +00:00
Martin Kiewitz 61acb22fc5 SCI: draw a black line under menubar when menu is active (effectively for jones, wouldnt be needed otherwise), adjust inverting menu selections accordingly
svn-id: r47441
2010-01-22 17:38:06 +00:00
Martin Kiewitz e85d2a023d SCI: control icons now use objects priority selector instead of hardcoded priority 255. fixes jones speech bubbles
svn-id: r47412
2010-01-20 21:59:12 +00:00
Martin Kiewitz 99896e8a45 SCI: boundary check on getPortById()
svn-id: r47410
2010-01-20 20:09:24 +00:00
Martin Kiewitz dbe665908e SCI: dont directly set mouse cursor to visible state but call show() instead thus updating _isVisible so cursor wont get lost in sci0 games
svn-id: r47391
2010-01-19 19:58:36 +00:00
Martin Kiewitz f2ddf8cdd8 SCI: call showBits() on the line between menubar and the actual menu (because reanimate clips to picPort, so that line wouldnt be shown as restored)
svn-id: r47390
2010-01-19 19:48:56 +00:00
Martin Kiewitz adc6e33f5b SCI: also fix statusbar
svn-id: r47389
2010-01-19 19:28:54 +00:00
Martin Kiewitz 425d0f7da3 SCI: fixed displaying of menubar (fixes all sorts of ega games)
svn-id: r47387
2010-01-19 19:20:33 +00:00
Martin Kiewitz 7b5a55a6a2 SCI: use reanimate instead of BitsShow() when removing menus
svn-id: r47386
2010-01-19 18:11:09 +00:00
Martin Kiewitz d17e80f214 SCI: Still limit lower boundary in SCI1.1, moved upper priority boundary limit removal for SCI1.1 into init
svn-id: r47382
2010-01-19 15:20:29 +00:00
Martin Kiewitz 136ae389d8 SCI: don't limit priority bands in sci1.1 (fixes swimmer in lsl6)
svn-id: r47381
2010-01-19 15:10:48 +00:00
Martin Kiewitz cf57f817b2 SCI: implemented priority bands support for sci1.1 picture resources, fixed lb2, kq6
svn-id: r47380
2010-01-19 14:26:21 +00:00
Martin Kiewitz 3e44180e47 SCI: speed throttler changed, now gets triggered by kAnimate, removed initial no-delay, i'm still getting animation now in iceman and sq3, slow palette animation in longbow fixed
svn-id: r47343
2010-01-17 18:41:28 +00:00
Martin Kiewitz 570911b83e SCI: fix kNewWindow code to match the code in gregs engine
svn-id: r47332
2010-01-16 21:00:15 +00:00