Commit Graph

7426 Commits

Author SHA1 Message Date
Joost Peters
17db9a91f3 change inventory browsing to match original
svn-id: r11065
2003-11-02 21:37:20 +00:00
David Eriksson
495bba6751 Match new[] with delete[].
svn-id: r11064
2003-11-02 20:56:33 +00:00
David Eriksson
3ca74e5d4a Enable keys for panel commands.
svn-id: r11063
2003-11-02 20:42:36 +00:00
Max Horn
af19319a24 added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope
svn-id: r11062
2003-11-02 19:11:03 +00:00
Max Horn
ac4b9ccdb8 refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor)
svn-id: r11061
2003-11-02 18:57:20 +00:00
Torbjörn Andersson
7ec257ae3f Even more stuff moving into Sword2Engine. I'm tempted to make a new class
for the mouse stuff, but I need to think about that a bit more. I have a
feeling the code could be cleaned up a bit anyway...

svn-id: r11060
2003-11-02 18:50:09 +00:00
Max Horn
c58b3819bb some TODOs
svn-id: r11059
2003-11-02 17:51:34 +00:00
Max Horn
f0d2a1b91c make coordinate calculation based on position of parent -> needed for nested widgets
svn-id: r11058
2003-11-02 17:41:01 +00:00
Torbjörn Andersson
2adc147600 Moved some more "homeless" functions into Sword2Engine. (Don't worry -- I
promise I will get rid of g_sword2 later.)

svn-id: r11057
2003-11-02 17:17:10 +00:00
Gregory Montoir
c4404baa45 cleanup/remaining Walk cutaway calls
svn-id: r11056
2003-11-02 16:47:31 +00:00
Gregory Montoir
082bed6940 update
svn-id: r11055
2003-11-02 16:46:37 +00:00
Gregory Montoir
3ed8601f64 fix locking verb crash
svn-id: r11054
2003-11-02 16:46:12 +00:00
Torbjörn Andersson
db9b8070f6 More moving of stuff into classes. I had to make a few changes/cleanups to
events.cpp, so there could be regressions.

svn-id: r11053
2003-11-02 15:58:45 +00:00
Max Horn
e9ae86bb76 introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)
svn-id: r11052
2003-11-02 14:50:53 +00:00
Joost Peters
70a1d43815 add missing inventory functions
svn-id: r11051
2003-11-02 14:49:51 +00:00
Max Horn
5c387a67ae ask before removing a game config
svn-id: r11050
2003-11-02 11:32:18 +00:00
Paweł Kołodziejski
81cca1b95e updated
svn-id: r11049
2003-11-02 10:22:27 +00:00
Max Horn
a7eb1b5207 forgot to commit this, sorry guys
svn-id: r11048
2003-11-02 10:18:10 +00:00
Paweł Kołodziejski
e99983e127 updated
svn-id: r11047
2003-11-02 10:15:00 +00:00
Paweł Kołodziejski
9588a6fd31 fixed warnings
svn-id: r11046
2003-11-02 10:12:08 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
f2c4bbbdbf TODOs
svn-id: r11044
2003-11-02 02:14:51 +00:00
Max Horn
31f64369ff merged detectGames() into LauncherDialog::handleCommand()
svn-id: r11043
2003-11-01 23:45:39 +00:00
Max Horn
4c2387639d cleanup
svn-id: r11042
2003-11-01 23:41:35 +00:00
Max Horn
72699c3d2b fixed Widget::draw for bordered items to adjust _h; removed unused label param from SliderWidget constructor; cleanup
svn-id: r11041
2003-11-01 22:21:18 +00:00
Max Horn
2d7eef223e renamed 'timer' to duration; minimal doxygen comments
svn-id: r11040
2003-11-01 22:20:14 +00:00
Max Horn
c62e33b10a amiga checkbox is pointless in the in-game settings dialog (you should set this option either in the launcher or directly in the config file); got rid of queryCustomString/string_map_table_custom: we only used them in a very few spots anyway, and until we actually decide to localize ScummVM, they don't gain us anything
svn-id: r11039
2003-11-01 22:19:24 +00:00
Max Horn
17597164b9 amiga checkbox is obsolete (will be replaced by a platform popup
svn-id: r11038
2003-11-01 22:18:17 +00:00
Max Horn
186125ffb6 fix potential crash
svn-id: r11037
2003-11-01 22:11:33 +00:00
Max Horn
adbaab7ef9 added doxygen comment
svn-id: r11036
2003-11-01 21:23:48 +00:00
Gregory Montoir
561d4c09d8 use input->delay instead of system->delay
svn-id: r11035
2003-11-01 21:20:36 +00:00
Max Horn
72bee75297 modified MessageDialog to allow for custom button texts
svn-id: r11034
2003-11-01 21:15:33 +00:00
Max Horn
f7ab7f6207 cleanup: new MessageDialog subclass TimedMessageDialog
svn-id: r11033
2003-11-01 20:52:41 +00:00
Gregory Montoir
e6eb3e234d don't do dynalum if palette scroll is disabled
svn-id: r11032
2003-11-01 20:46:35 +00:00
Gregory Montoir
885fd48a66 rename Queen::GameSettings to Queen::GameConfig
svn-id: r11031
2003-11-01 20:45:45 +00:00
Gregory Montoir
3e267ba5f9 make doxygen happy
svn-id: r11030
2003-11-01 20:44:53 +00:00
Max Horn
b6d5f750d5 small fix: if one specifies fullscreen=true in the 'scummvm' config section but fullscreen=false in the game specific config section, ScummVM now properly disables fullscreen mode; also, don't use setvbuf with a NULL bufer and a non-zero size param, that's not portable -> use setlinebuf instead
svn-id: r11029
2003-11-01 19:13:48 +00:00
Max Horn
235047d526 made SDL backend use config manager
svn-id: r11028
2003-11-01 19:12:11 +00:00
Torbjörn Andersson
ae9fe77479 Instead of having a function that reverses the panning table, we now have a
function that creates the panning table. The difference is that you now
have to tell whether you want one for normal or reverse stereo, so you are
not dependent on the previous state of the table.

(I still think it may be possible to get rid of the panning table
completely, but that's for later cleanups.)

svn-id: r11027
2003-11-01 18:12:04 +00:00
Torbjörn Andersson
0435658b96 Create the gui object dynamically
svn-id: r11026
2003-11-01 17:08:23 +00:00
Torbjörn Andersson
94edf540ef More moving of stuff into classes
svn-id: r11025
2003-11-01 16:55:20 +00:00
Max Horn
078091e7f4 cleanup of game detector functions
svn-id: r11024
2003-11-01 16:39:26 +00:00
Max Horn
7fc1e3ec92 get rid of ScummGameSettings::detectname
svn-id: r11023
2003-11-01 16:25:25 +00:00
Max Horn
2c2866641b cleanup
svn-id: r11022
2003-11-01 16:03:13 +00:00
Max Horn
6a50ad9fbd avoid using detectname
svn-id: r11021
2003-11-01 16:02:14 +00:00
Max Horn
ca69882256 Patch #820010: Support Kanji version
svn-id: r11020
2003-11-01 15:19:30 +00:00
Max Horn
9f33b3abbe possible fix for bug #833854 - I rechecked the assembly, there actually is a check for box flag 0x20 in there. However, that flag has a differeing meaning in older engine versions, so I put a version check in and updated the comments. Please test.
svn-id: r11019
2003-11-01 01:17:15 +00:00
Torbjörn Andersson
4952fb11ac Fix warning
svn-id: r11018
2003-10-31 20:59:55 +00:00
Gregory Montoir
d1ff236f3c use Command class
svn-id: r11017
2003-10-31 13:47:28 +00:00
Gregory Montoir
23188d5188 initial version of Command class
svn-id: r11016
2003-10-31 13:46:45 +00:00