Commit graph

81 commits

Author SHA1 Message Date
Martin Kiewitz
af5346e7ab SCI: calling wait() directly and removing it from SciGui
svn-id: r49853
2010-06-15 13:14:23 +00:00
Martin Kiewitz
db4533533a SCI: fix changes from r49806
svn-id: r49839
2010-06-15 12:21:26 +00:00
Martin Kiewitz
59d0035b03 SCI: move portrait methods to gfxPaint16
svn-id: r49806
2010-06-15 12:01:49 +00:00
Filippos Karapetis
13aba8747a Throttle screen updates to 60fps in some screen transition effects as well
svn-id: r49690
2010-06-15 10:09:42 +00:00
Filippos Karapetis
5d21ff280a Silenced some superfluous warnings in KQ5CD
svn-id: r49294
2010-05-28 16:47:30 +00:00
Martin Kiewitz
3fa50583a0 SCI: leave console open for pic_visualize/undither commands - also don't use SciGui class for undither anymore
svn-id: r49198
2010-05-24 17:45:00 +00:00
Filippos Karapetis
f3892a506b - Removed the wrapper kalloc, kmem and kfree functions. Now, the associated Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway)
- Replaced the GET_SEGMENT macro by a method of the segment manager
- Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now

svn-id: r49078
2010-05-18 13:05:09 +00:00
Martin Kiewitz
eb2b3f352e SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6)
svn-id: r49040
2010-05-15 14:17:50 +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
6f46d00a0a SCI: changed behaviour for kDisplay change (r49012) to use oldGfxFunctions (.502), which isn't 100% accurate (should be .566) but better than not restoring for whole SCI0LATE
svn-id: r49017
2010-05-12 20:13:48 +00:00
Martin Kiewitz
b50af74703 SCI: tracked down the kDisplay change, added comment about that
svn-id: r49016
2010-05-12 19:56:50 +00:00
Martin Kiewitz
a9e5f65376 SCI: added comments about r49012, change actually happened during sci0late
svn-id: r49014
2010-05-12 16:36:08 +00:00
Martin Kiewitz
9d3c8d4910 SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used when scanning for planets)
svn-id: r49012
2010-05-12 11:55:39 +00:00
Martin Kiewitz
f334ecfa34 SCI: green buttons for sci0early implemented
svn-id: r48799
2010-04-25 20:48:59 +00:00
Martin Kiewitz
f3be0bc181 SCI: replaced values with constant
svn-id: r48754
2010-04-20 19:23:33 +00:00
Max Horn
903b694574 SCI: Cleanup resource.h
svn-id: r48084
2010-02-17 23:37:32 +00:00
Martin Kiewitz
97c2543b0e SCI: dont set palette on kernelDrawCel() call
svn-id: r47954
2010-02-07 12:06:03 +00:00
Martin Kiewitz
4cae2b13e2 SCI: added plane coordinate adjustment code for sci32 when drawing pictures, put everything into GfxCoordAdjuster
svn-id: r47939
2010-02-06 19:35:51 +00:00
Martin Kiewitz
454856b5fd SCI: put kShakeScreen into GfxPaint, called directly now
svn-id: r47936
2010-02-06 17:03:18 +00:00
Martin Kiewitz
25a9df8a81 SCI: moving kDisplay into GfxPaint16, now getting called directly as well
svn-id: r47917
2010-02-05 22:31:48 +00:00
Martin Kiewitz
f3ea96d168 SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly
svn-id: r47908
2010-02-05 18:56:13 +00:00
Martin Kiewitz
3ad4433adf SCI: renamed SciGuiPicture to GfxPicture
svn-id: r47899
2010-02-05 12:14: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
c336204a3f SCI: renaming Transitions to GfxTransitions
svn-id: r47890
2010-02-04 21:04:47 +00:00
Martin Kiewitz
e74bd30a2e SCI: putting most kGraph functions into GfxPaint16
svn-id: r47887
2010-02-04 20:18:01 +00:00
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
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
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
19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +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