Commit Graph

7453 Commits

Author SHA1 Message Date
Chris Apers
e050421bc2 Fixed compile error under codewarrior for PalmOS
svn-id: r11092
2003-11-03 14:55:36 +00:00
Gregory Montoir
f9b7856afb init Walk::_joeMoveBlock at the right place
svn-id: r11091
2003-11-03 14:48:07 +00:00
Gregory Montoir
ac47dbeee8 cleanup / enable cutaway calls
svn-id: r11090
2003-11-03 14:47:22 +00:00
Gregory Montoir
b6d8e8187b enable room switching
svn-id: r11089
2003-11-03 14:47:05 +00:00
Torbjörn Andersson
b3b0118292 The resource and memory managers are now created dynamically.
Renamed the resource manager's open/close methods openResource() and
closeResource() to avoid confusion. (It was I who originally shortened
their names to open() and close(), but I've changed my mind now.)

Moved more stuff into Sword2Engine.

svn-id: r11088
2003-11-03 07:47:42 +00:00
James Brown
0ece8aab8b Default to first tab
svn-id: r11087
2003-11-03 06:19:43 +00:00
James Brown
a331a298a2 Fiddling with new tab widget
svn-id: r11086
2003-11-03 05:27:53 +00:00
Joost Peters
c4d5445b00 Add partial roomname enum
svn-id: r11085
2003-11-03 03:42:20 +00:00
Jonathan Gray
1cc656412c allow the towns version of loom to do something besides incorrectly error out. This check should really check for a pc version not checking the negation of the existence of other versions
svn-id: r11084
2003-11-03 02:54:11 +00:00
Jonathan Gray
8735f1eff7 Look for towns font rom in game directory then current directory instead of just current directory
svn-id: r11083
2003-11-03 02:43:10 +00:00
Max Horn
5a91cb4287 alternate scroll bar look
svn-id: r11082
2003-11-03 01:32:26 +00:00
Max Horn
30c29e7dec typo / examples
svn-id: r11081
2003-11-03 01:30:47 +00:00
Max Horn
79068761f2 make light gray slightly lighter, for better contrast
svn-id: r11080
2003-11-03 01:16:29 +00:00
Max Horn
7724d9a340 distinguish selected tab by size, too (not just by color)
svn-id: r11079
2003-11-03 01:14:40 +00:00
Max Horn
4581cdfe6c tiny position tweaks
svn-id: r11078
2003-11-03 01:04:55 +00:00
Travis Howell
83813767ea Add note about kanji versions
svn-id: r11077
2003-11-03 01:01:49 +00:00
Max Horn
9f3edb11c5 added a builtin label to PopUpWidget
svn-id: r11076
2003-11-03 01:00:26 +00:00
Max Horn
cfd658cd29 added built-in label for SliderWidget
svn-id: r11075
2003-11-03 00:43:29 +00:00
Max Horn
be560b6ec6 oops
svn-id: r11074
2003-11-03 00:27:18 +00:00
Max Horn
af71b2f309 use TabWidget for GlobalOptionsDialog
svn-id: r11073
2003-11-03 00:24:04 +00:00
Max Horn
528c9f4513 automatically compute tab width
svn-id: r11072
2003-11-03 00:18:33 +00:00
Max Horn
56bc737086 Widget::handleCommand delegates unhandled commands to the boss
svn-id: r11071
2003-11-03 00:17:12 +00:00
Paweł Kołodziejski
1fd0ecdcce update
svn-id: r11070
2003-11-02 22:40:29 +00:00
Paweł Kołodziejski
99447628ac fixed warning
svn-id: r11069
2003-11-02 22:38:04 +00:00
Max Horn
1d9ac7b91b more changes to allow widget nesting to fully work
svn-id: r11068
2003-11-02 22:31:20 +00:00
Joost Peters
95db1c18db Remove old FIXME
svn-id: r11067
2003-11-02 21:44:31 +00:00
Max Horn
6abd397bf4 fix compile error
svn-id: r11066
2003-11-02 21:40:41 +00:00
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