Martin Kiewitz
f5b73061e4
SCI/newgui: K_CONTROL_* renamed to SCI_CONTROLS_TYPE_*
...
svn-id: r45035
2009-10-13 18:49:10 +00:00
Martin Kiewitz
b4a537137b
SCI: stub for kDrawControl K_CONTROL_PERCENTAGE
...
svn-id: r45032
2009-10-13 17:50:27 +00:00
Filippos Karapetis
f9c6e77abe
Removed some leftover code, fixes KQ5CD
...
svn-id: r45031
2009-10-13 17:22:52 +00:00
Filippos Karapetis
4e0046dd1f
Merged the rest of the cursor code
...
svn-id: r45029
2009-10-13 17:09:32 +00:00
Martin Kiewitz
7cefc4cc98
SCI/newgui: kSetPort() now also supporting 7 parameters
...
svn-id: r45027
2009-10-13 16:18:17 +00:00
Martin Kiewitz
61ac28abea
SCI: kCelHigh / kCelWide got broken with last revision, now fixed
...
svn-id: r44987
2009-10-12 15:13:15 +00:00
Martin Kiewitz
3599ac0b9b
SCI: now allowing calling celWide and celHigh with only 2 parameters (done by eco quest 1 when entering menu)
...
svn-id: r44986
2009-10-12 13:10:25 +00:00
Martin Kiewitz
03a24ccae0
SCI: kGraph cleanup
...
svn-id: r44985
2009-10-12 12:42:50 +00:00
Martin Kiewitz
f4f17ae516
SCI: kGraph now fixes up coordinates before constructing a rect (invalid rects are given to us by castle of dr. brain right at the 2nd screen when entering left door)
...
svn-id: r44984
2009-10-12 12:38:58 +00:00
Martin Kiewitz
250402f21b
SCI/newgui: kGraph RedrawBox (ReAnimate) is now using class calling (functionality not yet implemented)
...
svn-id: r44976
2009-10-12 11:36:42 +00:00
Martin Kiewitz
713f573735
SCI/newgui: implemented kPicNotValid
...
svn-id: r44968
2009-10-12 07:30:55 +00:00
Martin Kiewitz
07222b8e89
SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() still not perfect (e.g. kq5 cutscene information box)
...
svn-id: r44966
2009-10-12 07:11:22 +00:00
Filippos Karapetis
07736ede19
Added kSetPort case with 4 parameters (used in the ending of LSL6)
...
svn-id: r44938
2009-10-11 18:42:52 +00:00
Martin Kiewitz
ba9a9422b4
SCI/newgui: list control implemented
...
svn-id: r44929
2009-10-11 15:41:52 +00:00
Walter van Niftrik
4a157d43b3
SCI: Implement CoordPri() with two args.
...
svn-id: r44927
2009-10-11 14:58:58 +00:00
Martin Kiewitz
efcfae742b
SCI: kDrawControl for list and textedit controls also using gui class
...
svn-id: r44925
2009-10-11 14:28:20 +00:00
Filippos Karapetis
7755404f52
Fixed compilation with the current GUI
...
svn-id: r44914
2009-10-11 12:45:40 +00:00
Martin Kiewitz
0d98fa3fe4
SCI: made kEditControl use SciGui class, not currently implemented in newgui
...
svn-id: r44913
2009-10-11 12:15:17 +00:00
Martin Kiewitz
0b1a8dea2d
SCI/newgui: kShakeScreen partially implemented
...
svn-id: r44897
2009-10-11 08:52:23 +00:00
Filippos Karapetis
053cbdecc7
Merged _k_base_setter() inside kBaseSetter()
...
svn-id: r44866
2009-10-10 10:48:46 +00:00
Martin Kiewitz
9f88122baa
SCI/newgui: calling process_sound_events now directly within kAnimate(), fixes hanging scripts (e.g. sq3 exiting pod, kq1 getting killed)
...
svn-id: r44843
2009-10-09 19:41:39 +00:00
Martin Kiewitz
a38d6451ba
SCI: kgraphics.cpp cleanup (no code changes)
...
svn-id: r44835
2009-10-09 17:34:52 +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
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
Filippos Karapetis
bcade54247
Started rewriting the check for the graphics functions type (still not finished)
...
svn-id: r44787
2009-10-08 14:37:55 +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
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
80d136a362
SCI: kDrawPic / had an error in previous revision
...
svn-id: r44759
2009-10-07 21:25:31 +00:00
Martin Kiewitz
54e69d6359
SCI: changed kDrawPic to use oldGfxFuncs()
...
svn-id: r44757
2009-10-07 21:10:42 +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
0c413530ac
SCI: set default EGA palette to 0, if no parameter is actually given us. Fixes lsl2, kq4, sq3, etc.
...
svn-id: r44743
2009-10-07 18:09:06 +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
Martin Kiewitz
5cc21cedf6
SCI: removed r44595, sierra sci really does behave like Common::Rect, no need for +1
...
svn-id: r44725
2009-10-07 11:35:12 +00:00
Martin Kiewitz
ca9f08c624
SCI/newgui: kHiLite support
...
svn-id: r44701
2009-10-06 16:36:28 +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
Martin Kiewitz
6e38de3905
SCI/newgui: kDrawControl on icon implemented
...
svn-id: r44658
2009-10-05 11:42:04 +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
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
ec526ca461
SCI/gui: renaming...
...
svn-id: r44618
2009-10-04 16:35:02 +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
e2cc953a9f
SCI: removing unused variables from onControl
...
svn-id: r44596
2009-10-04 10:48:49 +00:00
Martin Kiewitz
3dbf54267b
SCI: onControl now uses gui classes
...
svn-id: r44595
2009-10-04 10:47:10 +00:00
Willem Jan Palenstijn
bce248cab6
SCI: Redraw edit controls when they change.
...
svn-id: r44576
2009-10-03 22:10: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
Filippos Karapetis
2d29625f0e
Removed an old (and now obsolete) workaround for KQ5
...
svn-id: r44507
2009-09-30 23:27:00 +00:00