Commit Graph
132 Commits
Author SHA1 Message Date
Torbjörn Andersson 039d7d5e1c Removed unnecessary semi-colons.
svn-id: r46232
2009-12-01 19:19:58 +00:00
Martin Kiewitz b85c254c5f SCI/newgui: support for disabled menu entries, changed textface (int) to greyedOutput (bool)
svn-id: r45863
2009-11-12 16:20:19 +00:00
Martin Kiewitz 429d8be2dc SCI/newgui: Almost done with menu support
svn-id: r45838
2009-11-11 19:43:51 +00:00
Filippos Karapetis 7030588e22 Removed the reference to EngineState from the SciGuiGfx class
svn-id: r45664
2009-11-04 13:26:43 +00:00
Filippos Karapetis f0c628cc3c Remove the SegManager-related hacks for the selector defines, as the segMan parameter is explicit now
svn-id: r45626
2009-11-03 09:01:12 +00:00
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Filippos Karapetis c64fa600b7 - Added some TODOs
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game
- Added extra param to kDrawCel(), used in KQ6 Windows

The icon bar in KQ6 Windows is shown a bit better now

svn-id: r45567
2009-10-31 17:54:28 +00:00
Filippos Karapetis 8bf3e5b549 Added caching of views
svn-id: r45542
2009-10-30 17:38:11 +00:00
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 c6f96d6ac3 SCI/newgui: SciGuiControls created, SciGuiText now active
svn-id: r45457
2009-10-28 12:58:13 +00:00
Martin Kiewitz 9008406e80 SCI/newgui: fixes text in jones
svn-id: r45423
2009-10-26 22:15:19 +00:00
Filippos Karapetis 49d4e3c467 Removed some duplicate code
svn-id: r45410
2009-10-26 18:09:21 +00:00
Martin Kiewitz 8fa9f9b0ee SCI/newgui: Priority band (old gfx) now gets correctly initialized, fixes kq4 intro logo
svn-id: r45347
2009-10-23 18:05:14 +00:00
Martin Kiewitz 4095d92a5e SCI/newgui: make cursor left work in textedit control. some wip changes, because i need to backlevel
svn-id: r45340
2009-10-22 21:04:45 +00:00
Filippos Karapetis b105d690e3 - Removed kShow() and the related code it uses - it's a debugging function, and we have the same functionality in the debug console
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h

svn-id: r45310
2009-10-21 19:19:03 +00:00
Martin Kiewitz 9e864ff95b SCI/newgui: textedit control also changed to draw text like sierra sci
svn-id: r45289
2009-10-20 20:12:50 +00:00
Martin Kiewitz d7ce8440ba SCI/newgui: Listbox control now draws text up one pixel, so that it matches sierra sci
svn-id: r45288
2009-10-20 20:08:33 +00:00
Max Horn f3ab3051d8 SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicit
svn-id: r45234
2009-10-18 19:42:56 +00:00
Johannes Schickel 4b06d7be8b Remove unused variable.
svn-id: r45225
2009-10-18 16:44:14 +00:00
Martin Kiewitz 2ab93510d3 SCI: cleanup text alignment
svn-id: r45224
2009-10-18 15:38:49 +00:00
Martin Kiewitz 0fd3a2f842 SCI/newgui: listbox now finally working correctly
svn-id: r45220
2009-10-18 12:44:51 +00:00
Martin Kiewitz 0af29fa746 SCI/newgui: kDisplay restoreUnder completed
svn-id: r45202
2009-10-17 21:11:56 +00:00
Martin Kiewitz 4b3eb3388e SCI/newgui: menuPort gets id 0xFFFF assigned, fixes kq5 mouse coordination
svn-id: r45179
2009-10-17 10:50:39 +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 21d397fdd2 SCI/newgui: Do textcodeprocessing only for SCI1.1+
svn-id: r45126
2009-10-15 18:00:28 +00:00
Filippos Karapetis cf51ef499e Plugged loads of memory leaks in the new GUI
svn-id: r45070
2009-10-14 11:29:09 +00:00
Martin Kiewitz 7c2eae0ca3 SCI/newgui: fixes textcode processing to get out if string ends and no ending delimiter found
svn-id: r45065
2009-10-14 10:25:06 +00:00
Martin Kiewitz 724e7a873a SCI/newgui: class SciGuiTransitions created
svn-id: r45051
2009-10-13 21:18:47 +00:00
Martin Kiewitz 65ed9eac4e SCI/newgui: SciGuiAnimate header included into gui_gfx
svn-id: r45026
2009-10-13 15:57:40 +00:00
Martin Kiewitz 050f362654 SCI/newgui: SciGuiAnimate class created
svn-id: r45019
2009-10-13 15:28:27 +00:00
Martin Kiewitz d306e1219e SCI/newgui: priority band initialization - forgot to use priorityBandCount variable
svn-id: r44999
2009-10-12 22:23:27 +00:00
Martin Kiewitz 71686a2e7b SCI/newgui: priority band initialization now working exactly the same way as sierra sci did (fixes at least lsl3)
svn-id: r44998
2009-10-12 22:08:35 +00:00
Torbjörn Andersson 30cb28e7ef Silenced GCC warning.
svn-id: r44997
2009-10-12 20:46:32 +00:00
Martin Kiewitz 1821ea1bd3 SCI/newgui: addToPic (list) replaced priority with z, to fix drawing coordinates of static cels within a picture
svn-id: r44995
2009-10-12 20:27:47 +00:00
Martin Kiewitz 291e479daf SCI/newgui: background of noupdate cels is now correctly saved (was typo) solves sticky cel problem
svn-id: r44989
2009-10-12 15:52:50 +00:00
Filippos Karapetis cfc3af3466 Minimize dependencies in the new gui
svn-id: r44988
2009-10-12 15:41:19 +00:00
Max Horn ab1f2dac77 SCI: Fix warnings, cleanup
svn-id: r44978
2009-10-12 11:49:32 +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 50faafc622 SCI/newgui: priority band initialization fix
svn-id: r44974
2009-10-12 10:33:36 +00:00
Filippos Karapetis ebb188c415 Move the line drawing code to SciGuiScreen()
svn-id: r44969
2009-10-12 08:25:38 +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
Torbjörn Andersson 409a1bd0a6 Removed unused variable.
svn-id: r44949
2009-10-11 21:18:43 +00:00
Martin Kiewitz 8fe74a1a7e SCI/newgui: support for textedit control (mouse support not yet implemented)
svn-id: r44948
2009-10-11 20:46:04 +00:00
Filippos Karapetis cfc7b741f9 Use BitsShow() for partial screen updates
svn-id: r44944
2009-10-11 20:20:28 +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
Martin Kiewitz ba9a9422b4 SCI/newgui: list control implemented
svn-id: r44929
2009-10-11 15:41:52 +00:00
Martin Kiewitz 353fe8ae56 SCI/newgui: SciGuiGfx::BitsFree() implemented, currently used in kAnimate, Bits-methods renamed
svn-id: r44903
2009-10-11 09:47:12 +00:00
Willem Jan Palenstijn 76ea099d23 SCI: Remove superfluous casts; fix warning.
svn-id: r44895
2009-10-11 08:07:59 +00:00