aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
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
2010-09-15SCI: Some very early work on kRemapColors (just comments/observations for now)Filippos Karapetis
svn-id: r52733
2010-09-09SCI: kIsOnMe is kOnMe, merge both into kIsOnMeMartin Kiewitz
and map kOnMe for SCI2 to kIsOnMe, remove commented out hacks. fix signatures for those 2 functions, added TODO - someone should fix the SCI32 signatures svn-id: r52664
2010-09-09SCI: Cleanup kWinHelp's dialog handlingMatthew Hoops
Don't display the message twice and now we use the filename in the message. svn-id: r52663
2010-09-09SCI: Kernel table changesFilippos Karapetis
- Added the kernel names for all unimplemented kernel debug functions, and mapped them all to kDummy, so that the kernel tables are correct and all kernel functions are mapped (useful for debugging) - Added a stub for kWinHelp (normally opens an external Windows help file), with an appropriate dialog - Added a stub for kWinDLL, which currently errors out on purpose (this needs to be investigated, as it loads and uses external Windows DLLs) - Readded kListIndexOf in kList (the signature was wrong when the previous commit was made) svn-id: r52660
2010-09-09SCI: SCI2/2.1 kernel table changesFilippos Karapetis
- Mark several SCI2/2.1 kernel functions used for debugging as dummy - Added an empty function for kSetWindowsOption, used for settings specific to Windows versions (e.g. showing/hiding the title bar) - Added a stub for kGetWindowsOption (currently returning 0 to a Windows related option for Phantasmagoria) svn-id: r52652
2010-09-09SCI: adding text code reference supportMartin Kiewitz
fixes glossary in pepper, bug #3040039 svn-id: r52651
2010-09-08SCI: ability to change r_acc within DrawControlMartin Kiewitz
preparation for returning rect array on |r| textcodes svn-id: r52642
2010-09-04SCI: removing non-sierra sci code in kDirLoopMartin Kiewitz
svn-id: r52515
2010-09-03SCI: kDirLoop freshly reversedMartin Kiewitz
svn-id: r52510
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-22SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" ↵Filippos Karapetis
and added a FIXME inside kGraphDrawLine svn-id: r52291
2010-08-22SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI ↵Filippos Karapetis
debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode" svn-id: r52281
2010-08-17SCI: added a wrapper for GUI::MessageDialogFilippos Karapetis
svn-id: r52171