Martin Kiewitz
d013be51e5
SCI: reverting part of r51361
...
breaks qfg3 right after intro
svn-id: r51363
2010-07-27 11:18:51 +00:00
Martin Kiewitz
114f4dfb0a
SCI: adding scaling code in kBaseSetter
...
and fixing palVary timer crash when exiting engine during palVary processing
svn-id: r51361
2010-07-27 11:11:47 +00:00
Martin Kiewitz
b3949cf4be
SCI: sci32 coord adjustment changes
...
- fixes lsl6hires inventory
svn-id: r51275
2010-07-25 16:31:46 +00:00
Matthew Hoops
9dcbff7259
SCI: Hopefully fix compilation when ENABLE_SCI32 is not defined
...
svn-id: r51164
2010-07-22 20:38:28 +00:00
Martin Kiewitz
54c516b3bf
SCI: kSetNowSeen sci2.1
...
fixes hotspots
svn-id: r51085
2010-07-21 12:41:17 +00:00
Martin Kiewitz
ddd01ffcb6
SCI: some big changes to kCantBeHere - kCantBeHere returns the actual "problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate
...
svn-id: r50919
2010-07-15 19:23:18 +00:00
Martin Kiewitz
1287e6f252
SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots in gk1
...
svn-id: r50536
2010-06-30 15:44:26 +00:00
Max Horn
9f48a37671
SCI: Add const qualifiers to many GfxView methods and their return values.
...
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-28 11:20:14 +00:00
Filippos Karapetis
0a102981f0
Moved the SelectorCache struct inside selector.h, where it belongs, and fixed some header dependencies in the process
...
svn-id: r50183
2010-06-23 15:23:37 +00:00
Filippos Karapetis
eb4ec596cd
Use the SELECTOR() macro for readability
...
svn-id: r49563
2010-06-10 09:18:57 +00:00
Filippos Karapetis
67de5b1bd3
Mass renaming of selector-related functions, and removed some defines which 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-05-29 23:37:15 +00:00
Martin Kiewitz
59a255226f
SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum GFX_SCREEN_UPSCALED_*
...
svn-id: r49039
2010-05-15 08:57:13 +00:00
Martin Kiewitz
d22d8f910a
SCI: added warning when getting invalid rect in kCan(t)BeHere
...
svn-id: r48102
2010-02-21 09:52:44 +00:00
Filippos Karapetis
43ca6071ea
Handle invalid rects in kCanBeHere(). Fixes some odd crashes in Iceman
...
svn-id: r48098
2010-02-21 00:50:27 +00:00
Filippos Karapetis
2cfa5e428c
Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacks
...
svn-id: r47932
2010-02-06 16:30:32 +00:00
Filippos Karapetis
b12437bbfc
Don't try and manipulate invalid views (i.e. views with view ID -1/65535, which are most likely the currently missing dynamically constructed text views). Torin chapter 1 starts now (and dies shortly afterwards, but that's a different issue)
...
svn-id: r47930
2010-02-06 15:58:59 +00:00
Martin Kiewitz
c7cbb80dc4
SCI: removing int8 from kernelSetNowSeen() as well, didnt make any sense :P
...
svn-id: r47923
2010-02-05 23:17:39 +00:00
Martin Kiewitz
bf82c49ce4
SCI: removing int8 inside kernelSetNowSeen as well, didnt make any sense :P
...
svn-id: r47922
2010-02-05 23:14:46 +00:00
Max Horn
4be44fe9a2
SCI: Get rid of the mysterious sign_extend_byte() and replace it by a simple cast ;)
...
svn-id: r47921
2010-02-05 22:56:27 +00:00
Max Horn
b0b89e788b
SCI: Document GfxCompare::canBeHereCheckRectList; pass Common::Rect by ref
...
svn-id: r47920
2010-02-05 22:56:05 +00:00
Max Horn
d2871f925a
SCI: Add comment to GfxCompare::canBeHereCheckRectList
...
svn-id: r47919
2010-02-05 22:55:41 +00:00
Max Horn
f86618f92b
SCI: Add a 'SELECTOR' macro
...
svn-id: r47918
2010-02-05 22:55:18 +00:00
Martin Kiewitz
248bc560f3
SCI: moved onControl etc. into GfxCompare, now getting called directly. also fixed loading saved games due Gfx* changes
...
svn-id: r47912
2010-02-05 20:44:03 +00:00
Martin Kiewitz
cabd18da9e
SCI: renaming class View to GfxView
...
svn-id: r47891
2010-02-04 22:17:58 +00:00
Martin Kiewitz
72c2d360f7
SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
...
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz
7929255cd9
SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
...
svn-id: r47745
2010-01-31 12:35:15 +00:00