Filippos Karapetis
1342d04821
Moved the LSL1VGA workaround inside the font class
...
svn-id: r44705
2009-10-06 17:13:57 +00:00
Filippos Karapetis
f664dcdee8
Simplified the LSL1VGA font resource workaround
...
svn-id: r44703
2009-10-06 17:04:56 +00:00
Martin Kiewitz
ed0a961170
SCI/newgui: drawpattern now adjusts to curPort
...
svn-id: r44702
2009-10-06 16:45:06 +00:00
Martin Kiewitz
d2fdc8fc79
SCI/newgui: Draw_Line() now doesnt modify prio/control anymore
...
svn-id: r44700
2009-10-06 16:25:34 +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
855af31757
Removed the Bresenham line drawing code in the SCI new GUI, and replaced it with Graphics::drawLine()
...
svn-id: r44697
2009-10-06 15:20:33 +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
daa6f0d9a2
SciGuiView is only using the ResourceManager, so there's no need to pass the whole EngineState to it
...
svn-id: r44693
2009-10-06 12:33:36 +00:00
Filippos Karapetis
8e108cc0a0
Removed unused reference to OSystem
...
svn-id: r44691
2009-10-06 08:11:06 +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
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
c30cdf65e7
SCI/newgui: color duplicated to upper 4 bits on EGA to remove dithering with black
...
svn-id: r44678
2009-10-05 20:46:19 +00:00
Martin Kiewitz
3654cefe33
SVN/newgui: kDrawStatus implemented
...
svn-id: r44670
2009-10-05 19:20:52 +00:00
Martin Kiewitz
ec43c30503
SVN/newgui: renamed getScreenPalette to getSysPalette (code doesnt get the screen palette at all, but actually the current sysPalette which does not need to be active at all times
...
svn-id: r44669
2009-10-05 18:20:50 +00:00
Filippos Karapetis
3e66ae85f6
Better naming for the palette setting functions, to disambiguate them from the existing ones
...
svn-id: r44662
2009-10-05 12:49:31 +00:00
Filippos Karapetis
f3d3596d54
Renamed
...
setCLUT() -> setPalette()
getCLUT() -> getPalette()
svn-id: r44661
2009-10-05 12:37:01 +00:00
Filippos Karapetis
4d699301c7
Minimize unnecessary calls to updateScreen() in the new GUI. This improves drawing speed dramatically
...
svn-id: r44659
2009-10-05 12:04:39 +00:00
Filippos Karapetis
3f77685f13
More method renaming
...
svn-id: r44651
2009-10-05 07:38:05 +00:00
Filippos Karapetis
8568892bf5
- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> SciGuiWindowMgr)
...
- Renamed "cell" -> "cel"
svn-id: r44649
2009-10-05 07:10:01 +00:00
Filippos Karapetis
71ebd67331
- Minimize the parameters passed to SciGUIfont()
...
- Some WIP on the pattern_Textures array
svn-id: r44641
2009-10-04 22:32:36 +00:00
Max Horn
db2e5a4fb5
SCI: Rework the way SciGUIwindowMgr keeps track of windows/ports; remove the GUI heapmanager
...
svn-id: r44635
2009-10-04 21:27:24 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Martin Kiewitz
69af4ce9f4
SCI/newgui: implemented kPalette / set intensity
...
svn-id: r44631
2009-10-04 19:49:47 +00:00
Max Horn
6ad5840181
SCI: Rename EngineState::segMan to _segMan
...
svn-id: r44629
2009-10-04 18:38:18 +00:00
Martin Kiewitz
07353be65a
SCI/newgui: invokeselector implemented into kAnimate
...
svn-id: r44627
2009-10-04 18:34:53 +00:00
Martin Kiewitz
01fca745fd
SCI/gui: more renaming...
...
svn-id: r44620
2009-10-04 16:39:46 +00:00
Martin Kiewitz
49a78bfb3e
SCI/newgui: accidentally changed Draw_Horiz and Draw_Vert, reverted
...
svn-id: r44607
2009-10-04 15:06:50 +00:00
Martin Kiewitz
4957ec3505
SCI: kAddToPic, kAnimate and kSetNowSeen transferred to SciGUI32, not yet implemented in newgui
...
svn-id: r44606
2009-10-04 14:59:51 +00:00
Max Horn
a1e2ba1ba5
SCI: Fixing a bunch of warnings; change 'intencity' -> 'intensity';
...
properly init a sciPalette via memset
svn-id: r44604
2009-10-04 11:59:29 +00:00
Filippos Karapetis
837cde96f3
Removed unused references to OSystem
...
svn-id: r44598
2009-10-04 11:14:38 +00:00
Martin Kiewitz
a015e5f967
SCI/newgui: onControl implemented
...
svn-id: r44594
2009-10-04 10:46:25 +00:00
Martin Kiewitz
bb7a728a99
SCI/newgui: TextColors and TextFonts implemented (for sq5)
...
svn-id: r44592
2009-10-04 09:38:57 +00:00
Martin Kiewitz
bf408b0dbe
SCI/newgui: unfinished TextColors/TextFonts support/setting default palette mapping for kq5
...
svn-id: r44585
2009-10-04 05:22:49 +00:00
Martin Kiewitz
c0773975f5
SCI/newgui: removed duplicate unused code
...
svn-id: r44574
2009-10-03 21:49:09 +00:00
Martin Kiewitz
204b975e7f
SCI/newgui: initializer fixup
...
svn-id: r44570
2009-10-03 21:23:21 +00:00
Willem Jan Palenstijn
b9cdb1abb7
SCI: Merge new GUI code written by m_kiewitz.
...
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.
svn-id: r44565
2009-10-03 20:49:18 +00:00