aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2010-06-17Added some more information on some of the calls of kPlayVMDFilippos Karapetis
svn-id: r49923
2010-06-17Added 2x scaling for VMD videos, for bugtesting (temporarily in SCI itself). ↵Filippos Karapetis
It's currently not optimized much, but since the VMD decoder code will be revamped, we don't really care about performance at this point svn-id: r49921
2010-06-17Moved kMulDiv together with the rest of the math functions, and kPlayVMD ↵Filippos Karapetis
together with the rest of the video playing functions svn-id: r49920
2010-06-16Added back the functionality to skip videosFilippos Karapetis
svn-id: r49911
2010-06-16Added handling for the SCI2.1 kPalette(1) call. The graphics in Torin's ↵Filippos Karapetis
Passage are shown with the correct colors now svn-id: r49908
2010-06-15Don't disable kPalVary for SCI32, the semantics have remained the same.Matthew Hoops
svn-id: r49865
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15SCI: move textSize and textFonts and textColors inside gfxText16Martin Kiewitz
svn-id: r49851
2010-06-15SCI: move portrait methods to gfxPaint16Martin Kiewitz
svn-id: r49806
2010-06-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-06-05Fixed the cursor limiting code in GK1Filippos Karapetis
svn-id: r49440
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-26Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' ↵Matthew Hoops
videos now play. However, they require multiple edit list support to look completely correct. svn-id: r49224
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-18- Moved kernel_lookup_text inside the Kernel classFilippos Karapetis
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-04-25SCI: replaced value with constant when checking if controls are selectedMartin Kiewitz
svn-id: r48795
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-02-23SCI: Move SciGui::wait to EngineState::waitMax Horn
svn-id: r48118
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-07SCI: added dummy assertpalette to GfxPalette, setting destination palette ↵Martin Kiewitz
immediately on kPalVary(start) call svn-id: r47953
2010-02-06SCI: adding more debug output to kPalVary, fixing loading savedgames ↵Martin Kiewitz
(_gfxPaint wasnt copied over) svn-id: r47943
2010-02-06SCI: added debug code to kPalVary, added warning when calling ↵Martin Kiewitz
kPalette(setFromResource) with unsupported parameters svn-id: r47941
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936
2010-02-06Add a missing break.Matthew Hoops
svn-id: r47926
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: moving kDisplay into GfxPaint16, now getting called directly as wellMartin Kiewitz
svn-id: r47917
2010-02-05SCI: priority band specific stuff now gets called directly w/o SciGuiMartin Kiewitz
svn-id: r47916
2010-02-05SCI: remaining cursor functions now also directly calledMartin Kiewitz
svn-id: r47914
2010-02-05SCI: moved onControl etc. into GfxCompare, now getting called directly. also ↵Martin Kiewitz
fixed loading saved games due Gfx* changes svn-id: r47912
2010-02-05Cleanup kShowMovie; merge the SCI1.1/SCI2 and SCI2.1 AVI code.Matthew Hoops
svn-id: r47911
2010-02-05SCI: GfxCoordAdjuster class added, local2Global and global2Local use that ↵Martin Kiewitz
class directly, kGraph / RedrawBox is now using GfxPaint16 directly svn-id: r47908
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-04Moved the PalVary code inside the GfxPalette classFilippos Karapetis
svn-id: r47893
2010-02-04SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32Martin Kiewitz
svn-id: r47889
2010-02-04SCI: putting most kGraph functions into GfxPaint16Martin Kiewitz
svn-id: r47887
2010-02-04SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as ↵Martin Kiewitz
well for drawing cels svn-id: r47885
2010-02-04SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 ↵Martin Kiewitz
and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive svn-id: r47883
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-01-31SCI: rename Controls to GfxControls, gets directly called nowMartin Kiewitz
svn-id: r47783
2010-01-31SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32Martin Kiewitz
svn-id: r47781
2010-01-31SCI: GfxCache is now also called directly w/o SciGui nor SciGui32Martin Kiewitz
svn-id: r47759
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