Commit graph

37 commits

Author SHA1 Message Date
Martin Kiewitz
636ef64c68 SCI: making vga views work in ega games :P
svn-id: r50025
2010-06-18 17:40:13 +00:00
Martin Kiewitz
8a8480c0ca SCI: fix typo when setting EGA palette
svn-id: r50023
2010-06-18 17:20:09 +00:00
Max Horn
359be0c066 SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
2010-06-17 23:14:34 +00:00
Martin Kiewitz
5daa17473b SCI: applying forceRealMerge change to pq1 and qfg3 demo as well (see r49936) for now
svn-id: r49938
2010-06-17 16:36:01 +00:00
Martin Kiewitz
7bb48adda7 SCI: slightly change comment from r49936
svn-id: r49937
2010-06-17 16:09:06 +00:00
Martin Kiewitz
00ac852dc8 SCI: implement workaround for laura bow 2 demo, because that interpreter uses the old real palette merging from sci1 - some views contain a palette that has all colors marked as being used, which would overwrite sysPalette with blacks
svn-id: r49936
2010-06-17 16:06:01 +00:00
Eugene Sandulenko
a8a44a07d1 SCI: Fix timer.
installTimerProc requires interval specified in milliseconds,
not microseconds. Correct palVary method accordingly.

svn-id: r49772
2010-06-15 10:51:10 +00:00
Martin Kiewitz
dc8b826f5e SCI: set default palette after initializing music driver, fixes palette getting messed up when using mt32 emulation
svn-id: r49523
2010-06-08 22:00:59 +00:00
David Turner
8b102ab7af SCI: Fix for Valgrind Warning in Palette.
svn-id: r49433
2010-06-04 20:06:59 +00:00
Martin Kiewitz
830d17ed31 SCI: renaming MacIconBar to GfxMacIconBar
svn-id: r49202
2010-05-24 21:47:06 +00:00
Matthew Hoops
d49fb8f42d Add support for showing the icon bar in SCI1.1 Mac.
svn-id: r49196
2010-05-24 17:21:11 +00:00
Martin Kiewitz
a9a56d50f0 SCI: init _sysPaletteChanged
svn-id: r49003
2010-05-11 11:44:17 +00:00
Martin Kiewitz
4e9183cc1b SCI: removing unused variable from palette::set
svn-id: r48475
2010-04-02 18:51:20 +00:00
Martin Kiewitz
bc311445f8 SCI: change actual setting of palette, fixes gk1 palette issue when talking to grace indirectly caused by r47955, seems to also fix jones palette issue, could cause regressions
svn-id: r48474
2010-04-02 18:48:17 +00:00
Max Horn
ee1110a114 SCI: Reduce header interdependencies
svn-id: r48086
2010-02-17 23:38:43 +00:00
Max Horn
903b694574 SCI: Cleanup resource.h
svn-id: r48084
2010-02-17 23:37:32 +00:00
Max Horn
ac4d325e0d SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
2010-02-13 17:42:49 +00:00
Martin Kiewitz
8eecdea67b SCI: GfxPalette::setFromResource() now actually passes force further down the chain
svn-id: r47965
2010-02-07 14:47:40 +00:00
Martin Kiewitz
ed2a3f1f16 SCI: set screen palette only when it got changed during merge (performance only change)
svn-id: r47955
2010-02-07 12:13:34 +00:00
Martin Kiewitz
749b0ea237 SCI: added dummy assertpalette to GfxPalette, setting destination palette immediately on kPalVary(start) call
svn-id: r47953
2010-02-07 12:00:06 +00:00
Filippos Karapetis
0d85b39468 Moved the PalVary code inside the GfxPalette class
svn-id: r47893
2010-02-04 23:17:33 +00:00
Martin Kiewitz
7184fa3bad SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :P
svn-id: r47753
2010-01-31 16:26:15 +00:00
Martin Kiewitz
72c2d360f7 SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz
266ff9934d SCI: removing bit 1 support (was introduced because of problems in sci1.1 games, isnt valid anymore), fixes kq5cd
svn-id: r47674
2010-01-29 16:26:40 +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
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
9f1962d006 SCI: support for amiga pictures that change the palette
svn-id: r47552
2010-01-25 11:15:40 +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
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
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
d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00
Renamed from engines/sci/graphics/gui_palette.cpp (Browse further)