aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
AgeCommit message (Collapse)Author
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
2010-07-24SCI: cache Planes for sci32Martin Kiewitz
svn-id: r51249
2010-07-24SCI: delete hidden planes in kFrameoutMartin Kiewitz
svn-id: r51246
2010-07-24SCI: adding 1 to planeRect bottom/rightMartin Kiewitz
svn-id: r51241
2010-07-22SCI: doing res correction on text as wellMartin Kiewitz
"fixes" lsl6 abort intro dialog svn-id: r51159
2010-07-22SCI: some changes to kFrameout for sci32Martin Kiewitz
cels are now clipped correctly against plane boundaries, nsRect is also set now, fixes some hotspot issues and larry disappearing when going to the left/right of screen svn-id: r51158
2010-07-22Use new[]/delete[] instead of malloc/freeMatthew Hoops
svn-id: r51144
2010-07-22Silence gcc warningMatthew Hoops
svn-id: r51143
2010-07-22SCI: some more work on priority sci32Martin Kiewitz
svn-id: r51139
2010-07-22SCI: removing priority hack for gk1hiresMartin Kiewitz
also fixing base picture drawing svn-id: r51137
2010-07-22SCI: some work on priority in sci32Martin Kiewitz
svn-id: r51134
2010-07-21SCI: fixing hires background pictures sci2.1Martin Kiewitz
svn-id: r51086
2010-07-14SCI: Removed a chatty (and unneeded) warningFilippos Karapetis
svn-id: r50860
2010-07-02Extended the SCI2 text drawing hack for SCI2.1 too, and added font cachingFilippos Karapetis
svn-id: r50592
2010-06-30SCI: support for hires views in gk1Martin Kiewitz
svn-id: r50533
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-20SCI: properly implement kPalVary functionality within kDrawPic and ↵Martin Kiewitz
transitions, so pharkas finally works w/o palette corruption svn-id: r50099
2010-06-20SCI: adding timestamp update for frameout, fixes gk1 windows main menuMartin Kiewitz
svn-id: r50094
2010-06-20Sort planes in kFrameOut by priority and keep plane/item priority separate ↵Matthew Hoops
as they represent two different things. Fixes various SCI32 graphical glitches. Most (all?) remaining glitches are because we don't yet handle kSignalFixedPriority. svn-id: r50087
2010-06-20SCI: adding kPalVary update call to kFrameout - it's getting morning now in ↵Martin Kiewitz
gabriel knight 1 svn-id: r50083
2010-06-15SCI: make umlauts work in kFrameout for sci32Martin Kiewitz
svn-id: r49890
2010-06-14Ignore and remove invalid plane and item objects in kFrameout. Fixes loading ↵Matthew Hoops
in-game in GK1. svn-id: r49663
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-04-17SCI: change textedit control to cast to unsigned char to fix cursor position ↵Martin Kiewitz
when multilingual chars are used. Also make getFontHeight() private inside GfxFontFromResource class, remove it in all the other classes svn-id: r48689
2010-04-16SCI: support for kanji (sjis), minor centering issue leftMartin Kiewitz
svn-id: r48674