aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/portrait.cpp
AgeCommit message (Collapse)Author
2015-04-26SCI: implement delayed restore via ScummVM menuMartin Kiewitz
will delay restoring a saved game until the next kGetEvent or kWait also implement aborting playback for kPortrait and kShowMovie
2014-12-28SCI: improve kPortrait debug support + fixMartin Kiewitz
2014-12-25SCI: actor file format, add debug code kPortraitMartin Kiewitz
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-24SCI: portraits cleanup + show base picture at endMartin Kiewitz
2013-12-18SCI: debug code to print out kq6 raw lipsync dataMartin Kiewitz
2013-12-11SCI: rave support (KQ6 hires portrait lip sync)Martin Kiewitz
Thanks to wjp and [md5] for helping
2013-12-10SCI: Add handling for the RAVE resource type, found in KQ6CDFilippos Karapetis
This contains the sync data in the Windows version of KQ6CD. Note that currently the sync36 resource is 2 bytes bigger (it contains 2 bytes from the RAVE resource). Some test code has also been added to dump the RAVE sync resources
2013-02-23ALL: Fix typo (existant->existent)Willem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-12-21SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping ↵Filippos Karapetis
dialogs in the Windows version of KQ6 svn-id: r54983
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
2010-06-17SCI: Rename sciEvent to SciEventMax Horn
svn-id: r49960
2010-06-17SCI: Moved the event code a little bit around.Max Horn
* Move sleep() from EventManager to SciEngine * Rename EventManager methods: get -> getSciEvent, and getFromScummVM -> getScummVMEvent * Make scancode_rows static const * Turn altify & numlockify from EventManager methods into static functions (and comment out the currently unused numlockify) svn-id: r49959
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15SCI: calling wait() directly and removing it from SciGuiMartin Kiewitz
svn-id: r49853
2010-06-15Reduce header dependenciesMax Horn
svn-id: r49836
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-04SCI: kPortrait - correctly jump over offset table to land on raw lipsync ↵Martin Kiewitz
data in portrait files svn-id: r48928
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-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-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-12SCI: continue when kPortrait is called with no sync resource existant for ↵Martin Kiewitz
mouth movement, prints warning() instead svn-id: r47263
2010-01-11Some portrait-related changes, to be used when portrait loading/unloading is ↵Filippos Karapetis
done. Also, added a comment on where the class is used svn-id: r47251
2010-01-11- Set the palette inside doit() againFilippos Karapetis
- Removed a now obsolete TODO - Portrait animations are now stopped when the Esc key is pressed, or when the engine should quit svn-id: r47247
2010-01-11The portrait file data is now freed after the portrait animation is doneFilippos Karapetis
svn-id: r47246
2010-01-11Cleanup, fixed a memory leakFilippos Karapetis
svn-id: r47245
2010-01-11- Don't set the palette per portrait frame - setting the whole screen ↵Filippos Karapetis
palette is a very expensive operation, and shouldn't be done on each frame, especially when all of the frames use the same palette - Cleanup svn-id: r47241
2010-01-10SCI: kPortrait - abort on mouse presses onlyMartin Kiewitz
svn-id: r47225
2010-01-10SCI: kPortrait - mouse click now aborts portraitMartin Kiewitz
svn-id: r47224
2010-01-10SCI: kPortrait - error() out when resource could not be foundMartin Kiewitz
svn-id: r47222
2010-01-09SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor ↵Martin Kiewitz
still works during execution, makes lip sync perfect (thx to the other fix by fingolfin) svn-id: r47214
2010-01-09SCI: kPortrait - drawing base bitmap before drawing animation bitmapMartin Kiewitz
svn-id: r47211
2010-01-09kPortrait: found the coordinate offsets, corrected actual bitmap size ↵Martin Kiewitz
(sometimes extra bytes are appended per line) animation bitmaps now valid svn-id: r47210
2010-01-09SCI: deleting _bitmaps and unlocking sync resource in kPortraitMartin Kiewitz
svn-id: r47208
2010-01-09SCI: kPortrait - animation included, doesnt seem right currently coordinate ↵Martin Kiewitz
offset is missing (cause i cant find it) and mouth movement doesnt seem right...at least the basics work and graphic data is fine svn-id: r47206
2010-01-09SCI: kPortrait almost fully implemented (animation bitmaps still missing)Martin Kiewitz
svn-id: r47204
2010-01-09SCI: adding audio support to kPortrait, audio is now playing when portraits ↵Martin Kiewitz
are shown svn-id: r47202
2010-01-07SCI: some portrait work (kq6 now shows the main bitmap as portrait, ↵Martin Kiewitz
coordinates still messed up) svn-id: r47105
2010-01-05More renamingFilippos Karapetis
svn-id: r47009