aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
AgeCommit message (Collapse)Author
2012-01-15SCI: Plug loads of memory leaks in the SCI32 graphics codeFilippos Karapetis
Many thanks to digitall for finding these
2012-01-14SCI: Don't clip the plane rectangle in kernelDeletePlane()Filippos Karapetis
The actual cause for this clipping has been fixed
2012-01-14SCI: When deleting a plane, also delete the items in itFilippos Karapetis
This fixes a crash in GK1 day 2, after using the thermostat outside Mosely's office
2012-01-13SCI: Fixed some graphics corruption (black boxes) in the dialogs of GK1Filippos Karapetis
2011-11-17SCI: Break the huge kernelFrameOut function into several smaller onesFilippos Karapetis
Also, prefix more class variables with underscores
2011-11-10SCI: Do not add 1 pixel to rect dimensions in SCI32Filippos Karapetis
2011-10-29SCI: Some fixes for text positioning in SCI32 games (still WIP)Filippos Karapetis
Also, removed duplicate code
2011-10-28SCI: Use the original text buffer width/height when drawing itFilippos Karapetis
Fixes the display of overlay text
2011-10-28SCI: Draw overlay text, if it exists (e.g. on buttons)Filippos Karapetis
2011-10-19SCI: Merged all the code to get/set the NS rectFilippos Karapetis
2011-10-18SCI: Added some hacks related to new functionality in Phantasmagoria 2Filippos Karapetis
The game will now start (but won't do anything exciting - it'll display its main menu, which doesn't work yet)
2011-10-14SCI: More work on the vertical plane offset for SCI32. Still WIP.Filippos Karapetis
Vertical clipping is still not finished. This fixes the display in the Torin demo (which uses a scene with loads of items with a vertical offset).
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: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-10-10SCI: SCI32 kernel functions kRepaintPlane and kInputText are unusedFilippos Karapetis
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-08SCI: Fix black screen in LSL7 introLars Skovlund
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-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
2011-04-04SCI: Initialize newPlane fully before adding it to _planesMax Horn
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-25SCI: Make sure that planeOffsetX is always correctly initializedmd5
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch. Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-02SCI: Fixed bug #3040161 - "LONGBOW: Textbox glitch"md5
GetLongest() could exceed the maximum width with the very last character of a word. The same fix has been applied to the SCI32 code.
2011-02-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32
2011-02-14SCI: Fix loading SCI32 gamesMatthew Hoops
The frames/items in GfxFrameout need to be cleared upon loading
2011-02-14SCI2+: Point out that there is a hack in the text splitting codemd5
This particular hack causes issues in GK1, when talking with Grace, because the width of the associated plane isn't set correctly.
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-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
2011-02-02SCI: Fix GK1 Mac scalingMatthew Hoops
svn-id: r55744
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-09SCI2: Implemented proper text splittingFilippos Karapetis
svn-id: r55184
2010-12-22SCI2+: Set pictureCels to 0 after deleting themFilippos Karapetis
svn-id: r55004
2010-12-06SCI: Fix uninitialized reads (and therefore, GK1)Matthew Hoops
svn-id: r54799
2010-11-20SCI: Some minor fixes for Phantasmagoria 2 (which doesn't work at all, since ↵Filippos Karapetis
it has some differences in its views) svn-id: r54390
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-23SCI2/SCI2.1: Some changes to the screen drawing code.Filippos Karapetis
- Implemented kernelUpdateScreenITem - Changed the list of screen items to be a list of FrameoutEntry entries, so that it doesn't get recreated on every frame svn-id: r53744
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-08-04SCI: fixing a scrolling issue in sci32Martin Kiewitz
svn-id: r51729
2010-08-04SCI: Fix SCI32 texts that are in Str objectsMatthew Hoops
The text selector of the text bitmap object can contain either a Str object or a raw string. Handling the Str object case fixes the Torin demo. Oooh! Vertical scrolling! svn-id: r51722
2010-08-03SCI: dont clip plane during frameout.cppMartin Kiewitz
disables scrolling capability (regression of r51615) svn-id: r51697
2010-08-02SCI: clipping plane rects for sci32Martin Kiewitz
fixes crash in hires gk1 on cemetary svn-id: r51615
2010-08-01SCI: reading the actual priority instead of guessingMartin Kiewitz
svn-id: r51569
2010-08-01SCI: Fix uninitialized variable warning in g++.Johannes Schickel
Thanks to clone2727 for suggestion to initialize the default new plane priority to 0xFFFF, which means that the plane should be invisible. I added a FIXME there though. So please re check this change. In case that is fine just remove the FIXME, in case some other default value should be chosen, please change the value and also remove the FIXME. svn-id: r51561
2010-07-29SCI: Re-enable the throttle for kFrameout, I must have been asleep that dayMatthew Hoops
svn-id: r51451
2010-07-27SCI: translating nsRect back to actual plane coordinateMartin Kiewitz
on scrollable planes svn-id: r51350
2010-07-26SCI: commenting out picture cel debug msgMartin Kiewitz
svn-id: r51315
2010-07-26SCI: adding scrollcapability to sci32Martin Kiewitz
svn-id: r51313
2010-07-26SCI: some scrolling support for sci32Martin Kiewitz
not fully done yet svn-id: r51308