aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
AgeCommit message (Collapse)Author
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
2010-07-25SCI: adding kAddPicAt dummyMartin Kiewitz
svn-id: r51283
2010-07-25SCI: blacking out planes that got deletedMartin Kiewitz
svn-id: r51282
2010-07-25SCI: some changes for kq7Martin Kiewitz
- resetting negative plane left/top - kSave(0) returns SIGNAL svn-id: r51281
2010-07-25SCI: adjust z coordinate for views (sci32)Martin Kiewitz
fixes gk1 newspaper svn-id: r51272
2010-07-25SCI: sci32 changesMartin Kiewitz
- mouse position now gets adjusted inside kGetEvent - priority is read out during kFrameout - check planeRect - check if plane picture resource actually exists fixes sq6 svn-id: r51270
2010-07-24SCI: changing how insectRect gets appliedMartin Kiewitz
svn-id: r51259
2010-07-24SCI: adding kOnMe transparency supportMartin Kiewitz
and disabling speed throttler for poor clones computer :P fixes some hotspots in gk1 only supposed to react on actual pixel clicks svn-id: r51255
2010-07-24SCI: fix warningMartin Kiewitz
svn-id: r51253
2010-07-24SCI: honor given order of screen items in sci32Martin Kiewitz
fixes gk1 game menu slider controls svn-id: r51252
2010-07-24SCI: support useInsetRect in kFrameoutMartin Kiewitz
svn-id: r51251
2010-07-24SCI: enable speed throttler for sci32Martin Kiewitz
svn-id: r51250