aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/palette.cpp
AgeCommit message (Collapse)Author
2010-06-21SCI: GfxPalette::kernelSetIntensity() now also triggers throttler - somewhat ↵Martin Kiewitz
"fixes" lb2cd when selecting play game svn-id: r50108
2010-06-20SCI: implemented kPalVary(changeTicks)Martin Kiewitz
svn-id: r50100
2010-06-20SCI: properly implement kPalVary functionality within kDrawPic and ↵Martin Kiewitz
transitions, so pharkas finally works w/o palette corruption svn-id: r50099
2010-06-20SCI: disable palvary when reverse is fully done - fixes palette getting ↵Martin Kiewitz
stuck in pharkas (the broken palette in there is actually not caused by palvary, it was just overwritten before by view palette updates and those dont occur when palvary is active) svn-id: r50093
2010-06-20SCI: cleanup of SciPaletteMartin Kiewitz
svn-id: r50091
2010-06-20SCI: implemented kPalVary(reverse) for pharkas, although there is a bug ↵Martin Kiewitz
somewhere, not working 100% svn-id: r50089
2010-06-20SCI: implementing kPalVary(2)Martin Kiewitz
svn-id: r50085
2010-06-20SCI: adding code for kPalVary ticks == 0 case, fixes pharkasMartin Kiewitz
svn-id: r50084
2010-06-20SCI: some kPalVary support - intro of island dr. brain works fine nowMartin Kiewitz
svn-id: r50082
2010-06-20SCI: kPalVary - cleanup and some more codeMartin Kiewitz
svn-id: r50081
2010-06-20SCI: fix r50078, we need to update timestamp for inbetween SCI1.1 games, but ↵Martin Kiewitz
not on kPortrait palette changes svn-id: r50079
2010-06-20SCI: update timestamp like before for inbetween SCI1.1 gamesMartin Kiewitz
svn-id: r50078
2010-06-20SCI: update sys palette timestamp only on kDrawPic in SCI1.1, fixes intro of ↵Martin Kiewitz
island of dr. brain svn-id: r50077
2010-06-20SCI: removing unneeded parameters inside SciPalette, cleanup of SciPaletteMartin Kiewitz
svn-id: r50076
2010-06-20SCI: some cleanup for kPalVaryMartin Kiewitz
svn-id: r50074
2010-06-18SCI: making vga views work in ega games :PMartin Kiewitz
svn-id: r50025
2010-06-18SCI: fix typo when setting EGA paletteMartin Kiewitz
svn-id: r50023
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-06-17SCI: applying forceRealMerge change to pq1 and qfg3 demo as well (see ↵Martin Kiewitz
r49936) for now svn-id: r49938
2010-06-17SCI: slightly change comment from r49936Martin Kiewitz
svn-id: r49937
2010-06-17SCI: implement workaround for laura bow 2 demo, because that interpreter ↵Martin Kiewitz
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-15SCI: Fix timer.Eugene Sandulenko
installTimerProc requires interval specified in milliseconds, not microseconds. Correct palVary method accordingly. svn-id: r49772
2010-06-08SCI: set default palette after initializing music driver, fixes palette ↵Martin Kiewitz
getting messed up when using mt32 emulation svn-id: r49523
2010-06-04SCI: Fix for Valgrind Warning in Palette.David Turner
svn-id: r49433
2010-05-24SCI: renaming MacIconBar to GfxMacIconBarMartin Kiewitz
svn-id: r49202
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-11SCI: init _sysPaletteChangedMartin Kiewitz
svn-id: r49003
2010-04-02SCI: removing unused variable from palette::setMartin Kiewitz
svn-id: r48475
2010-04-02SCI: change actual setting of palette, fixes gk1 palette issue when talking ↵Martin Kiewitz
to grace indirectly caused by r47955, seems to also fix jones palette issue, could cause regressions svn-id: r48474
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-07SCI: GfxPalette::setFromResource() now actually passes force further down ↵Martin Kiewitz
the chain svn-id: r47965
2010-02-07SCI: set screen palette only when it got changed during merge (performance ↵Martin Kiewitz
only change) svn-id: r47955
2010-02-07SCI: added dummy assertpalette to GfxPalette, setting destination palette ↵Martin Kiewitz
immediately on kPalVary(start) call svn-id: r47953
2010-02-04Moved the PalVary code inside the GfxPalette classFilippos Karapetis
svn-id: r47893
2010-01-31SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :PMartin Kiewitz
svn-id: r47753
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-29SCI: removing bit 1 support (was introduced because of problems in sci1.1 ↵Martin Kiewitz
games, isnt valid anymore), fixes kq5cd svn-id: r47674
2010-01-26SCI: changed flags (uint16) to force (bool) for set/merge palette methodsMartin Kiewitz
svn-id: r47578
2010-01-26SCI: force palette merging for kq6 hires portraits (cause its needed on those)Martin Kiewitz
svn-id: r47577
2010-01-26SCI: dont do real merging of palettes for sci1.1+, fixes sq5 wilco face, ↵Martin Kiewitz
wilco blue thingie in the background of intro, island of dr. brain, sq4 white pixels in background and more svn-id: r47574
2010-01-26SCI: removing now unneeded table EGAtable from palette classMartin Kiewitz
svn-id: r47565
2010-01-25SCI: removed EGA mapping for amiga games, cause changing ↵Martin Kiewitz
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-25SCI: created isAmiga32color(), using this method instead of comparing ↵Martin Kiewitz
against viewType svn-id: r47554
2010-01-25SCI: support for amiga pictures that change the paletteMartin Kiewitz
svn-id: r47552
2010-01-24SCI: never set palette for amiga games (fixes kq5 palette corruption at the ↵Martin Kiewitz
beginning) svn-id: r47525
2010-01-24SCI: changed amiga palette mapping table to map color 15 (white) again, ↵Martin Kiewitz
scripts dont like it to be 255 :P svn-id: r47524
2010-01-24SCI: fixing amiga mapping for colors 0 and 15, those are hardcoded like ↵Martin Kiewitz
everywhere else svn-id: r47521
2010-01-24SCI: self drawn stuff on amiga uses ega palette, we need to match it onto ↵Martin Kiewitz
currently used amiga palette (fixes user interface colors for amiga sci1 games) svn-id: r47520