60 Commits

Author SHA1 Message Date
Martin Kiewitz
fc1c05586f SCI/newgui: SciGuiPicture now acts like sierra sci when drawing cels, so we dont need some hardcoded variable and differ when clearing screen
svn-id: r45508
2009-10-29 20:32:55 +00:00
Martin Kiewitz
8178d548eb SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
svn-id: r45500
2009-10-29 14:16:20 +00:00
Martin Kiewitz
142d2e73c0 SCI/newgui: fill screen with white instead of black before picture drawing, fixes some pixels of some screens
svn-id: r45481
2009-10-28 19:28:43 +00:00
Martin Kiewitz
c3d75ced87 SCI/newgui: another floodfill change, fixes sq3 this time (this is madness)
svn-id: r45474
2009-10-28 15:15:18 +00:00
Martin Kiewitz
e4df507117 SCI/newgui: floodfill fixed (hopefully), fixes kq5 priority issues
svn-id: r45473
2009-10-28 15:07:24 +00:00
Martin Kiewitz
6e5dd8e357 SCI/newgui: circle bitmap table fixed, fixes qfg1 character selection graphic
svn-id: r45369
2009-10-25 08:46:56 +00:00
Martin Kiewitz
bed7206ee3 SCI/newgui: fixed EGA palette code in SciGuiPicture so that palettes 1+ get applied correctly (fixes qfg1 nighttime)
svn-id: r45348
2009-10-23 19:08:32 +00:00
Martin Kiewitz
86c8bb6bbf SCI/newgui: SciGuiPicture - fix drawing of mirrored embedded cel-data in vectordata (fixes lsl5 scene)
svn-id: r45249
2009-10-19 18:06:33 +00:00
Filippos Karapetis
e4c23834dd Moved sci_ffs() inside iterator.cpp, the only place where it's actually used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
svn-id: r45176
2009-10-16 23:29:00 +00:00
Martin Kiewitz
4a3f88ee1b SCI/newgui: changed comment
svn-id: r45164
2009-10-16 11:49:56 +00:00
Martin Kiewitz
408411f3d1 SCI/newgui: addToPic priority issue fixed (lsl5 dream sequences)
svn-id: r45162
2009-10-16 11:46:18 +00:00
Martin Kiewitz
5d6b256495 SCI/newgui: SciGuiPicture now supports embedded ega cel data
svn-id: r45112
2009-10-15 11:47:05 +00:00
Martin Kiewitz
ec25df8e23 SCI/newgui: another change to floodfill, fixes jones/vga
svn-id: r45063
2009-10-14 10:02:23 +00:00
Martin Kiewitz
947d3ab5d4 SCI/newgui: coordinates fixup for embeeded cels
svn-id: r45062
2009-10-14 09:56:11 +00:00
Martin Kiewitz
4c91ace530 SCI/newgui: support for embedded cel data < 320 pixels width. fixes jones/vga
svn-id: r45061
2009-10-14 09:46:02 +00:00
Martin Kiewitz
1731acc320 SCI/newgui: floodfill / remove screenMasks that are already filled with the right value (otherwise we could get into an endless loop)
svn-id: r45006
2009-10-13 08:09:17 +00:00
Martin Kiewitz
3f914e67a0 SCI/newgui: finally changed floodfill to behave the same way as sierra sci. Fixes sq3 priority map
svn-id: r45005
2009-10-13 08:03:09 +00:00
Martin Kiewitz
aea23b4714 SCI/newgui: fix floodfill for qfg1ega pictures
svn-id: r45003
2009-10-13 06:52:31 +00:00
Martin Kiewitz
b6be6ae7a9 SCI/newgui: typo fixed in SciGuiPicture
svn-id: r44970
2009-10-12 08:55:33 +00:00
Filippos Karapetis
ebb188c415 Move the line drawing code to SciGuiScreen()
svn-id: r44969
2009-10-12 08:25:38 +00:00
Filippos Karapetis
0da0d5b6a4 Stop passing all of the engine state to SciGuiPicture
svn-id: r44932
2009-10-11 16:12:24 +00:00
Joost Peters
7b493e9a60 fix new[]/delete mismatch
svn-id: r44924
2009-10-11 14:15:37 +00:00
Torbjörn Andersson
65865de473 Removed unused variable.
svn-id: r44909
2009-10-11 11:59:30 +00:00
Martin Kiewitz
0353b9923d SCI/newgui: SciGuiPicture now also supports mirroring of cel-data
svn-id: r44908
2009-10-11 11:42:50 +00:00
Walter van Niftrik
6c1cac3956 SCI: kMessage() rewrite
svn-id: r44860
2009-10-10 02:16:23 +00:00
Max Horn
99111f0ffd SCI: Fix some weird casting in the vectorPatternCircle and vectorPatternTexturedCircle
svn-id: r44851
2009-10-09 21:49:04 +00:00
Martin Kiewitz
e0b1ef6e46 SCI/newgui: changing SciGuiScreen::dither() for cel-undithering logic
svn-id: r44846
2009-10-09 20:54:02 +00:00
Martin Kiewitz
5801dd2064 SCI/newgui: moved priority band initialization to init() call of SciGui to avoid having to call usesOldGfxFunctions() within constructor, where it would crash on some games (sq3)
svn-id: r44844
2009-10-09 19:50:20 +00:00
Martin Kiewitz
164611668b SCI/newgui: pattern and floodfill moved into SciGuiPicture
svn-id: r44838
2009-10-09 18:06:24 +00:00
Martin Kiewitz
ab1184770b SCI/newgui: kCanBeHere partially implemented, little corrections
svn-id: r44832
2009-10-09 16:51:10 +00:00
Martin Kiewitz
c26e283d1b SCI/newgui: priority bands support for ega pictures
svn-id: r44827
2009-10-09 13:43:20 +00:00
Martin Kiewitz
ed5a4625d5 SCI/newgui: support for priority bands, kCoordPri kPriCoord implemented, priority band picture support also added
svn-id: r44825
2009-10-09 13:15:37 +00:00
Martin Kiewitz
f5ccaf7e29 SCI/newgui: floodfill cleanup, pattern drawing: helper went private, clipping implemented
svn-id: r44792
2009-10-08 19:14:58 +00:00
Martin Kiewitz
c0c2d4f484 SCI/newgui: SciGuiPicture now errors out on mirrored VGA pictures (added fixme)
svn-id: r44758
2009-10-07 21:15:50 +00:00
Martin Kiewitz
0b83993a64 SCI/newgui: kDrawPic cleanup, addToFlag inverse detection currently not working needs fixing
svn-id: r44756
2009-10-07 20:58:33 +00:00
Martin Kiewitz
971f495103 SCI/newgui: hopefully the final fix for drawpicture - set priority and control to "not draw" state, also added remark for fillroutine
svn-id: r44745
2009-10-07 19:36:47 +00:00
Martin Kiewitz
de3d1cfdaf SCI/newgui: fix that caused floodfill to fail
svn-id: r44736
2009-10-07 16:16:34 +00:00
Martin Kiewitz
77b549a0ad SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructor
svn-id: r44730
2009-10-07 12:47:53 +00:00
Filippos Karapetis
f533e0ad9e Reverted #44697 (line drawing in the new GUI), with some function renaming. Apparently, Sierra's implementation of the Bresenham line drawing algorithm was a bit different than ours, which resulted in problems with flood fill
svn-id: r44720
2009-10-06 21:23:24 +00:00
Willem Jan Palenstijn
5e9820cc6f SCI: clean up oldx/y vs x/y
svn-id: r44707
2009-10-06 17:17:12 +00:00
Martin Kiewitz
14dfa5d7b0 SCI/newgui: palette functions from SciGuiGfx now in SciGuiPalette
svn-id: r44698
2009-10-06 16:14:40 +00:00
Filippos Karapetis
5d382150df - Removed the SciGuiGfx parameter from SciGuiView
- Moved _sysPalette inside SciGuiScreen
- Made CreatePaletteFromData() a static helper function

svn-id: r44696
2009-10-06 14:37:25 +00:00
Filippos Karapetis
3eb350ff1f Removed duplicate private variables
svn-id: r44695
2009-10-06 14:00:35 +00:00
Martin Kiewitz
334a48a33d SCI/newgui: removed warnings from vector drawing
svn-id: r44694
2009-10-06 13:30:20 +00:00
Martin Kiewitz
8d762cf0f0 SCI/newgui: support for amiga palette, amiga picture support, cleanup
svn-id: r44685
2009-10-06 06:50:31 +00:00
Martin Kiewitz
30596adec2 SCI/newgui: Implemented trick to get dithering going after drawing picture w/o destroying statusbar
svn-id: r44681
2009-10-05 22:42:41 +00:00
Willem Jan Palenstijn
20125b51c4 SCI: Fix error message
svn-id: r44680
2009-10-05 21:47:28 +00:00
Martin Kiewitz
64d73415ca SCI/newgui: changed the way dithering works on ega games, also default value change for kDrawStatus
svn-id: r44679
2009-10-05 21:38:51 +00:00
Martin Kiewitz
db4938fd86 SCI/newgui: SciGuiPicture - enum rename from SCI0/SCI1 to EGA/VGA
svn-id: r44677
2009-10-05 20:21:59 +00:00
Martin Kiewitz
9b416ca947 SCI/newgui: switch to SCI1 commands when being IsVGA(), fixes qfg2
svn-id: r44676
2009-10-05 20:19:07 +00:00