Martin Kiewitz
|
fb49449322
|
SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as well for drawing cels
svn-id: r47885
|
2010-02-04 20:02:48 +00:00 |
|
Martin Kiewitz
|
21cfb4c0c7
|
SCI: cleaning up deleting of graphic objects
svn-id: r47884
|
2010-02-04 19:33:36 +00:00 |
|
Martin Kiewitz
|
3ce2e22978
|
SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
|
2010-02-04 19:22:40 +00:00 |
|
Martin Kiewitz
|
708c340d1f
|
SCI: fixing header of paint32
svn-id: r47881
|
2010-02-04 18:48:20 +00:00 |
|
Martin Kiewitz
|
6664d26db7
|
SCI: adding GfxPaint32 class, adding back support for planes, minor change in GfxPaint16 (using #def instead of fixed value)
svn-id: r47880
|
2010-02-04 17:57:44 +00:00 |
|
Martin Kiewitz
|
7b0b4f5313
|
SCI: also adjusting bottom/right coordinate of plane rect
svn-id: r47878
|
2010-02-04 16:14:59 +00:00 |
|
Martin Kiewitz
|
751db2fcf3
|
SCI: added clipping inside frameout (fixes torin)
svn-id: r47877
|
2010-02-04 16:12:47 +00:00 |
|
Martin Kiewitz
|
4e090f4ede
|
SCI: support for resX, resY inside frameout
svn-id: r47875
|
2010-02-04 12:07:27 +00:00 |
|
Martin Kiewitz
|
a79330e6d8
|
SCI: fix support for cels that are larger than 64k (sierra logo animation in sq6)
svn-id: r47873
|
2010-02-04 11:54:48 +00:00 |
|
Martin Kiewitz
|
b2876ca9d3
|
SCI: some work on robot REing (still comments only)
svn-id: r47867
|
2010-02-03 22:06:57 +00:00 |
|
Martin Kiewitz
|
d09d37ff4e
|
SCI: fixing picture corruption in sci32 (e.g. sq6 picture 430, kq7 after intro)
svn-id: r47866
|
2010-02-03 22:05:22 +00:00 |
|
Filippos Karapetis
|
887ca3145e
|
Initial implementation of text drawing for SCI2 (it's a hack for now, done the "SCI0-SCI11" way, and text splitting is wrong...)
svn-id: r47838
|
2010-02-03 01:36:53 +00:00 |
|
Filippos Karapetis
|
af6648fbb0
|
Try to make drmccoy happy again (is that even possible? :P )
svn-id: r47818
|
2010-02-02 17:33:52 +00:00 |
|
Filippos Karapetis
|
50e6b0283f
|
Silenced warning
svn-id: r47817
|
2010-02-02 17:21:11 +00:00 |
|
Martin Kiewitz
|
6b26f76f70
|
SCI: frameout ignoring 0xFFFE for picture id as well (must be some other magic value)
svn-id: r47815
|
2010-02-02 16:29:14 +00:00 |
|
Martin Kiewitz
|
714665f9d9
|
SCI: some sort of priority support for sci32 (not working right, but at least the menu in gk1 now correctly shows up)
svn-id: r47814
|
2010-02-02 16:25:35 +00:00 |
|
Martin Kiewitz
|
b0208e7306
|
SCI: moving structs/enums from helpers to animate/controls
svn-id: r47813
|
2010-02-02 14:41:17 +00:00 |
|
Filippos Karapetis
|
5678269280
|
Fixed silly typos (priority is a byte in SCI32)
svn-id: r47800
|
2010-02-01 18:16:50 +00:00 |
|
Filippos Karapetis
|
86408ae3bc
|
Added an initial implementation of kGetHighPlanePri
svn-id: r47799
|
2010-02-01 17:04:20 +00:00 |
|
Martin Kiewitz
|
a20f4ef1fc
|
SCI: implemented reset for GfxMenu, not recreating object anymore
svn-id: r47793
|
2010-02-01 10:16:45 +00:00 |
|
Martin Kiewitz
|
845c245ff3
|
SCI: class menu renamed to GfxMenu - now getting called directly, also fix for loading savedgames
svn-id: r47792
|
2010-02-01 09:53:42 +00:00 |
|
Matthew Hoops
|
313b531d56
|
Skip extra pixels at the end of each row in the cel so that they don't carry over to the next row if the dest width is less than the source width. Fixes several images in Mixed-Up Mother Goose (SCI1).
svn-id: r47788
|
2010-02-01 00:53:13 +00:00 |
|
Martin Kiewitz
|
da1a125a1a
|
SCI: fixing scaling for sci32
svn-id: r47787
|
2010-02-01 00:23:05 +00:00 |
|
Matthew Hoops
|
d1bc12300c
|
mothergoose SCI1 starts at the top of the screen, so set offTop to 0 for that version.
svn-id: r47786
|
2010-01-31 23:53:25 +00:00 |
|
Martin Kiewitz
|
d31f696d1f
|
SCI: rename Controls to GfxControls, gets directly called now
svn-id: r47783
|
2010-01-31 22:20:55 +00:00 |
|
Martin Kiewitz
|
5cf510648a
|
SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32
svn-id: r47781
|
2010-01-31 21:59:37 +00:00 |
|
Martin Kiewitz
|
19bca95905
|
SCI: renamed Text class to GfxText16
svn-id: r47780
|
2010-01-31 21:54:43 +00:00 |
|
Matthew Hoops
|
fb3d272c3c
|
getFont() should check _cachedFonts and not _cachedViews. Fixes segfaults when using fonts.
svn-id: r47779
|
2010-01-31 21:31:11 +00:00 |
|
Martin Kiewitz
|
180874f044
|
SCI: display object name when addScreenItem is called
svn-id: r47777
|
2010-01-31 19:52:05 +00:00 |
|
Martin Kiewitz
|
699a525db4
|
SCI: removing unused DrawChar()/StdChar() from text class
svn-id: r47765
|
2010-01-31 18:01:49 +00:00 |
|
Martin Kiewitz
|
299fb1a9cc
|
SCI: dont delete _font inside text class, its already deleted inside cache
svn-id: r47764
|
2010-01-31 17:57:51 +00:00 |
|
Martin Kiewitz
|
aaf756e736
|
SCI: implemented font caching
svn-id: r47762
|
2010-01-31 17:45:22 +00:00 |
|
Matthew Hoops
|
2cf1efac78
|
Silence gcc warnings.
svn-id: r47760
|
2010-01-31 17:19:17 +00:00 |
|
Martin Kiewitz
|
66c88b98f5
|
SCI: GfxCache is now also called directly w/o SciGui nor SciGui32
svn-id: r47759
|
2010-01-31 17:14:58 +00:00 |
|
Martin Kiewitz
|
af5b9b14ca
|
SCI: changed the way font class is initialized
svn-id: r47756
|
2010-01-31 16:49:22 +00:00 |
|
Johannes Schickel
|
594d82e287
|
Fix possible memory leaks.
svn-id: r47755
|
2010-01-31 16:32:11 +00:00 |
|
Martin Kiewitz
|
b21255509a
|
SCI: remove classname from header to fix build
svn-id: r47754
|
2010-01-31 16:29:02 +00:00 |
|
Martin Kiewitz
|
7184fa3bad
|
SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :P
svn-id: r47753
|
2010-01-31 16:26:15 +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
|
c991a5bceb
|
SCI: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this class, now getting called directly
svn-id: r47751
|
2010-01-31 15:07:36 +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 |
|
Filippos Karapetis
|
b01a793e55
|
Added a sanity check to baseSetter() - Torin's demo progresses a bit further now
svn-id: r47695
|
2010-01-30 01:46:54 +00:00 |
|
Martin Kiewitz
|
c6e095715c
|
SCI: adding shakeScreen() for gui32 for lsl6
svn-id: r47681
|
2010-01-29 21:51:21 +00:00 |
|
Matthew Hoops
|
1bc1ff1705
|
Silence gcc warnings, have gui32.cpp only build when ENABLE_SCI32 is defined.
svn-id: r47680
|
2010-01-29 21:34:59 +00:00 |
|
Martin Kiewitz
|
a800855bf4
|
SCI: added new SciGui32 class, Gfx class needs some work though and hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top
svn-id: r47679
|
2010-01-29 21:30:46 +00:00 |
|
Martin Kiewitz
|
266ff9934d
|
SCI: removing bit 1 support (was introduced because of problems in sci1.1 games, isnt valid anymore), fixes kq5cd
svn-id: r47674
|
2010-01-29 16:26:40 +00:00 |
|
Martin Kiewitz
|
69b7497cf7
|
SCI: calculating celRect the right way for sci32
svn-id: r47672
|
2010-01-29 16:20:22 +00:00 |
|
Martin Kiewitz
|
01fd01122a
|
SCI: fixing cursor in sci32 for clone ;)
svn-id: r47671
|
2010-01-29 15:46:22 +00:00 |
|
Martin Kiewitz
|
1bcbd71c97
|
SCI: hacked up a bit sci32 graphics to support (theoretically) scaling
svn-id: r47668
|
2010-01-29 14:05:21 +00:00 |
|
Martin Kiewitz
|
caeafb29ff
|
SCI: little hack so that old views are erased in sci32
svn-id: r47667
|
2010-01-29 13:48:02 +00:00 |
|