aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2010-06-20SCI: kPalVary - cleanup and some more codeMartin Kiewitz
svn-id: r50081
2010-06-20SCI: implementing reading of parameters for kPalVary(init) for argc 4 and argc 5Martin Kiewitz
svn-id: r50075
2010-06-18Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integerFilippos Karapetis
svn-id: r50024
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-18Added a new subop of kPalVary (PQ4)Filippos Karapetis
svn-id: r49987
2010-06-18Added stubs for kPalVary, subops 2 and 5 (XMAS '92, QFG4 demo)Filippos Karapetis
svn-id: r49981
2010-06-18Fixed invalid memory read in GK1CDFilippos Karapetis
svn-id: r49980
2010-06-18Added warning about unhandled kGraph subop 1 (GK1CD)Filippos Karapetis
svn-id: r49979
2010-06-17Strict mode: error out on unhandled subops, to note if they actually exist ↵Filippos Karapetis
and where they're used svn-id: r49975
2010-06-17SCI: Fix a few errors in PlayVMD comment.Lars Skovlund
svn-id: r49971
2010-06-17SCI: Remove incorrect gameid checkMax Horn
svn-id: r49969
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-06-17SCI: PlayVMD(1): Hmmm. Don't print gammaBoost etc if they aren't usedLars Skovlund
svn-id: r49953
2010-06-17Add additional documentation and code to PlayVMD(1) describing theLars Skovlund
myriad parameters settable here, and dump actual parameters passed svn-id: r49952
2010-06-17Only do video scaling when required (hopefully fixes SQ6). Adapt the scaling ↵Matthew Hoops
code to normal SCI videos as well. svn-id: r49951
2010-06-17Fixed cppcheck warning.Torbjörn Andersson
svn-id: r49935
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