aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/palette.cpp
AgeCommit message (Collapse)Author
2010-07-27SCI: adding scaling code in kBaseSetterMartin Kiewitz
and fixing palVary timer crash when exiting engine during palVary processing svn-id: r51361
2010-07-22SCI: changed the comment about the palette merging (it's not a workaround ↵Filippos Karapetis
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-22Silenced a known warning in SQ5, after the introFilippos Karapetis
svn-id: r51131
2010-07-13SCI: adding comment about palette formatsMartin Kiewitz
svn-id: r50847
2010-07-11SCI: also sync palette after playing movies, fixes kq6 introMartin Kiewitz
svn-id: r50798
2010-07-10SCI: calling speed throttler as well from kPalette(setIntensity) if needed - ↵Martin Kiewitz
fixes kq6 intro svn-id: r50794
2010-07-10SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing ↵Martin Kiewitz
kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this) svn-id: r50780
2010-06-25SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵Martin Kiewitz
gameIds. Also prints method used, when using debug command "version" svn-id: r50261
2010-06-23SCI: it seems that all cnick games are using the inbetween interpreterMartin Kiewitz
svn-id: r50186
2010-06-23SCI: adding cnick-longbow to inbetween sci1.1 in GfxPaletteMartin Kiewitz
svn-id: r50185
2010-06-23SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 ↵Martin Kiewitz
has a broken picture 0 resource, which would result in either crash or at least bad read from memory depending on whats read there svn-id: r50178
2010-06-22SCI: added nicks picks sq to the sci1.1 interpreter games, the other ones ↵Martin Kiewitz
may also use the same interpreter, but we currently can not verify svn-id: r50172
2010-06-22SCI: eco quest 1 demo also uses inbetween sci1.1 interpreter, fixing graphicsMartin Kiewitz
svn-id: r50170
2010-06-22SCI: implemented kAssertPalette and a palvary fix for ::set, fixes erana's ↵Martin Kiewitz
place in qfg1vga nighttime svn-id: r50162
2010-06-22SCI: kPalVary(SetTarget) implementedMartin Kiewitz
svn-id: r50153
2010-06-21SCI: also set throttle trigger on kPalette(animate)Martin Kiewitz
svn-id: r50109
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