aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2011-10-14SCI: Silenced warningsFilippos Karapetis
2011-10-14SCI: More work on kBitmap (still WIP)Filippos Karapetis
2011-10-13SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanupFilippos Karapetis
2011-10-12SCI: Implementation of kCelInfo subop 4Heather Douglass
kCelInfo subop 4 returns the pixel color at the passed in x,y coordinates for the passed in view, loop, cel. Shivers uses this function for the red door puzzle, room 23601 to determine what blocks on the puzzle board are already occupied by pieces.
2011-10-12SCI: Added proper handling of duplicate items in kAddScreenItemFilippos Karapetis
- Items that are being readded to the scene should be updated instead - Added a findScreenItem() call to simplify the code slightly
2011-10-11SCI: Some work on the SCI32 bitmap / font codeFilippos Karapetis
- Initial implementation of kBitmap(0) - Bugfixes for fonts in upscaled games
2011-10-11SCI: kBitmap(1) is kDisposeTextBitmapFilippos Karapetis
2011-10-11SCI: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-10-10SCI: SCI32 kernel functions kRepaintPlane and kInputText are unusedFilippos Karapetis
2011-10-09SCI: CreateTextBitmap should return a pointer. Also, silenced a warningFilippos Karapetis
2011-10-09SCI32: Documented the extra 2 params in kCreateTextBitmap(0)Filippos Karapetis
2011-10-09SCI21: Moved kRobot() together with the other video functionsFilippos Karapetis
2011-10-08SCI2+: Fixed the implementation of kTextSize(), removing some hacksFilippos Karapetis
Thanks to lskovlun for the fix
2011-10-08SCI2+: Some groundwork for kTextSize()Filippos Karapetis
The old behavior is currently hacked in inside kernelTextSize(), as the top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-10-07SCI: Fix comment in kCelInfoLars Skovlund
2011-10-07SCI21: Some initial work on kBitmapFilippos Karapetis
2011-09-23SCI21: Added some skeleton code for offsetting pictures vertically (not ↵Filippos Karapetis
working yet). Some cleanup
2011-09-03SCI32: Added an initial skeleton structure for the SCI2 text drawing codeFilippos Karapetis
This includes kCreateTextBitmap, and moves all of the text drawing code into the new GfxText32 class
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-29SCI: Added a more generalized fix for bug #3306417md5
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-13SCI: Cleanupmd5
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Some palette related changesmd5
- Moved palette color count inside the GfxPalette class - Enabled all of the kPalette subops for 16 color SCI1 games, apart from the ones for intensity palette animation, and palette resource loading - Removed isVGA() and isAmiga32color() methods from the resource manager - they ended up in having inconsistent code
2011-03-02SCI: Cleanupmd5
2011-02-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32
2011-02-24SCI: Added an initial implementation of RemapByPercent, which fixes the ↵md5
palette in the PQ:SWAT demo
2011-02-22SCI: Some work on kRemapColors, and added a note that it operates on an RGBAmd5
palette
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-02-03SCI: Add a stub for kFont which calls kSetFontRes as a subopMatthew Hoops
svn-id: r55755
2011-02-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
2011-02-03SCI21: Some robot related changesFilippos Karapetis
- Don't reallocate the frame buffer on each update if its dimensions haven't changed - Don't attempt to display the currently unsupported v4 robot files (used in PQ:SWAT) - Signed/unsigned fixes - Disabled the unused getFrameRect() function - Some cleanup and reordering svn-id: r55752
2011-01-22SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, ↵Filippos Karapetis
references of the SciEngine class to itself via g_sci have been removed svn-id: r55422
2011-01-21SCI: Partial robot support, currently disabled since it does not runLars Skovlund
asynchronously as it should. svn-id: r55382
2011-01-12SCI: Simplified the kMoveCursor codeFilippos Karapetis
svn-id: r55216
2011-01-09SCI2: Some documentation/stubsFilippos Karapetis
- Fully documented the parameters of kSetShowStyle - Added another subop stub for kCreateTextBitmap svn-id: r55183
2011-01-08SCI2.1: Some stubs used by SQ6Filippos Karapetis
- Added a stub and some info about the (large) kScrollWindow kernel call - Added info about kMovePlaneItems svn-id: r55163
2011-01-08SCI: Fixed a typoFilippos Karapetis
svn-id: r55159
2011-01-08SCI2.1: Added/documented some functionality used by Shivers 1Filippos Karapetis
- Added kFileIO subop 17 (create save slot) - Added information about a (probably debug) kernel function used in a puzzle, kCelInfo - Added some information on two kSave subops - Added 2 workarounds for uninitialized variables svn-id: r55158
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2010-11-20SCI: Fix ScummVM freezing during the credits scene in EcoQuest 1 (bug #3101846)Filippos Karapetis
svn-id: r54395
2010-11-12Fixed signed/unsigned warningFilippos Karapetis
svn-id: r54217
2010-11-11SCI2: Make robots return immediately for now, till they're implementedFilippos Karapetis
Based on a patch by lskovlun svn-id: r54214
2010-11-08SCI/SCI2: Some slight changes to the graphics codeFilippos Karapetis
- Changed the SCI1 EGA games workaround in kGraphDrawLine() to match the ones in kGraphFillBoxAny() and kNewWindow, updating the relevant comments - Added some comments in kSetShowStyle() svn-id: r54142
2010-10-15SCI: Fixed access to dest in kTextSize() (thanks LordHoto)Filippos Karapetis
svn-id: r53498
2010-10-15SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"Filippos Karapetis
svn-id: r53482
2010-10-03SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973).Filippos Karapetis
These are special cursors which zoom parts of a view dynamically. Examples are Freddy Pharkas, when reading the prescription with the whiskey and LB2, when using the magnifying glass on the Rosetta Stone svn-id: r53003
2010-09-19SCI2/2.1: Changes to the plane codeFilippos Karapetis
Moved some plane related functions inside updatePlane() instead of frameOut(). Cleanup. svn-id: r52804
2010-09-17SCI2: some very early work on kSetShowStyleFilippos Karapetis
svn-id: r52764