Martin Kiewitz
120b6b9392
SCI/newgui: kAnimate - _delete invoking implemented
...
svn-id: r44782
2009-10-08 11:23:53 +00:00
Martin Kiewitz
cce8d2e279
SCI/newgui: kAnimate - more implemented, cels are now drawn but isnt working correctly currently
...
svn-id: r44781
2009-10-08 10:35:12 +00:00
Martin Kiewitz
d1dcd82ac0
SCI/newgui: kAnimate SciGuiGfx::AnimateFill implemented
...
svn-id: r44780
2009-10-08 10:02:26 +00:00
Max Horn
0988e273ec
SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & SegManager::lookupList
...
svn-id: r44769
2009-10-07 23:34:24 +00:00
Martin Kiewitz
a61076a645
SCI: debug command undither implemented
...
svn-id: r44761
2009-10-07 21:47:34 +00:00
Filippos Karapetis
1562add631
- Cleaned up the cursor code
...
- Renamed gui -> _gui in EngineState, for consistency
- Added a reference to SciGuiCursor in EngineState, to be used by current code
- Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor
- Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position.
svn-id: r44760
2009-10-07 21:29:47 +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
cb31d302b9
SCI/newgui: implemented debug command show_map
...
svn-id: r44735
2009-10-07 15:53:34 +00:00
Martin Kiewitz
1dfe7578cb
SCI/newgui: kSetCursor (show, hide, pos, shape) implemented
...
svn-id: r44734
2009-10-07 14:53:15 +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
Filippos Karapetis
6d135e904f
WIP code for replacing the FreeSCI view decoding code with the new one (no changes to the logic, yet)
...
svn-id: r44717
2009-10-06 19:57:55 +00:00
Filippos Karapetis
c17495d895
- Fixed kGetTime() again
...
- Removed the odd way of calculating elapsed time in SciGui(). We got _system->getMillis() for that purpose
- Replaced the code in SciGui::wait() with the one in SciGui32::wait (which works fine, and is correct). The code in SciGui() was not polling for events while waiting, either
svn-id: r44712
2009-10-06 17:45:57 +00:00
Filippos Karapetis
1481c78d1a
Removed yet another unused reference to OSystem
...
svn-id: r44708
2009-10-06 17:18:44 +00:00
Filippos Karapetis
0b47085da0
Removed an unused reference to OSystem
...
svn-id: r44704
2009-10-06 17:09:34 +00:00
Martin Kiewitz
ca9f08c624
SCI/newgui: kHiLite support
...
svn-id: r44701
2009-10-06 16:36:28 +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
df29b0067e
- Unified the screen buffers that are used by the current and the new GUI
...
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions
- Some cleanup
svn-id: r44692
2009-10-06 12:26:13 +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
16580e53bf
SCI: kDrawStatus changed, dont call gui if no text received
...
svn-id: r44674
2009-10-05 19:46:38 +00:00
Martin Kiewitz
3654cefe33
SVN/newgui: kDrawStatus implemented
...
svn-id: r44670
2009-10-05 19:20:52 +00:00
Filippos Karapetis
91a16e0c7d
Moved the cursor movement code in the GUI
...
svn-id: r44664
2009-10-05 16:43:24 +00:00
Filippos Karapetis
4c35022f6b
Lines are no longer treated as fake rectangles and are shown correctly again
...
svn-id: r44663
2009-10-05 13:33:26 +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
Martin Kiewitz
7da723ab4e
SCI/newgui: drawControlIcon - updates screen now
...
svn-id: r44660
2009-10-05 12:12:18 +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
Martin Kiewitz
6e38de3905
SCI/newgui: kDrawControl on icon implemented
...
svn-id: r44658
2009-10-05 11:42:04 +00:00
Willem Jan Palenstijn
4478ab6472
SCI: Name argument
...
svn-id: r44656
2009-10-05 09:23:59 +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
Max Horn
db8c6e3f6c
SCI: Really remove sci/gui/gui.h include from engine/state.h
...
svn-id: r44644
2009-10-04 22:43:30 +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
Martin Kiewitz
69af4ce9f4
SCI/newgui: implemented kPalette / set intensity
...
svn-id: r44631
2009-10-04 19:49:47 +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
Willem Jan Palenstijn
76854f0b86
SCI/newgui: more descriptive names.
...
svn-id: r44612
2009-10-04 15:44:10 +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
Martin Kiewitz
a015e5f967
SCI/newgui: onControl implemented
...
svn-id: r44594
2009-10-04 10:46:25 +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
93c3d07e2b
SCI/newgui: constant 0xFFFF -> -1
...
svn-id: r44573
2009-10-03 21:30:36 +00:00
Martin Kiewitz
79b12939a8
SCI/newgui: set title on newWindow
...
svn-id: r44567
2009-10-03 21:06:45 +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