Jan Borsodi
|
1d69689f77
|
Uppercase OK.
|
2010-09-15 19:55:09 +02:00 |
|
Jan Borsodi
|
dbc3a43f13
|
Adjusting y coord of ok button is wrong, should be width.
|
2010-09-15 19:50:11 +02:00 |
|
Jan Borsodi
|
8770e4bc92
|
Made sure text edit widget gets focus when dialog is reopened.
|
2010-09-15 19:48:37 +02:00 |
|
Jan Borsodi
|
84acab03ec
|
Avoid delegates being called repeatedly when pressing enter in name dialog.
|
2010-09-15 19:44:53 +02:00 |
|
Jan Borsodi
|
07dd5e5631
|
Race and name dialog are now kept in memory after ok/next is clicked, this avoids a crash where MyGUI would call into the dialog widgets after being destroyed.
|
2010-09-15 19:37:06 +02:00 |
|
Jan Borsodi
|
5802930500
|
Text edit field now gets focus when the dialog is shown.
|
2010-09-15 16:12:36 +02:00 |
|
Jan Borsodi
|
1907aeb6c6
|
The game mode is now properly restored once a dialog is finished. Previously the game mode was only set in the window manager but it has to go through the input manager firs to get correct input state. Also updated the gui script commands to also use the input manager and not the window manager.
At some point the gui mode code should be moved to a class that handles all game mode (engine?).
|
2010-09-15 14:48:19 +02:00 |
|
Jan Borsodi
|
30e0d713ed
|
Changed list of skill names to contain the ID of the names instead, the actual names are then fetched from GMST.
|
2010-09-15 13:44:24 +02:00 |
|
Jan Borsodi
|
869bc4d084
|
Silence the compiler.
|
2010-09-15 13:16:54 +02:00 |
|
Jan Borsodi
|
b037780a7d
|
Disable the invenory window for now, it's not complete and gives compiler warnings.
|
2010-09-15 13:15:58 +02:00 |
|
Jan Borsodi
|
3f1b90e732
|
When a dialog is done and no new is to be shown we return to Game mode.
|
2010-09-15 13:10:47 +02:00 |
|
Jan Borsodi
|
850b8eb6a7
|
Race dialog uses the ID of the race object instead of the name when referencing it.
|
2010-09-15 13:04:57 +02:00 |
|
Jan Borsodi
|
0dafd30dfc
|
The race dialog now fetches strings from GMST.
|
2010-09-15 12:56:44 +02:00 |
|
Jan Borsodi
|
a676763aa6
|
Dialog now goes to next dialog if the "next" button is shown, this follows Morrowind's behavior.
|
2010-09-15 12:44:43 +02:00 |
|
Jan Borsodi
|
3cc57a058a
|
The label for the name dialog is now fetched from the GMST store.
|
2010-09-15 12:41:53 +02:00 |
|
Jan Borsodi
|
481734ee20
|
Implemented a general text input dialog which can be used to get text input from the player. Used the text input dialog to implement the name dialog for the character creation.
|
2010-09-14 23:26:34 +02:00 |
|
Jan Borsodi
|
85ded0edc3
|
Update description of the race dialog file.
|
2010-09-14 23:26:34 +02:00 |
|
Jan Borsodi
|
cd9bb37f1f
|
Change name of ifdef guard to reflect new filename.
|
2010-09-14 23:26:34 +02:00 |
|
Jan Borsodi
|
18cdb3cccc
|
Removed prefix from mw_layout.hpp.
|
2010-09-14 23:26:33 +02:00 |
|
Jan Borsodi
|
4675402e0b
|
Updated code to use the new name for the race dialog.
|
2010-09-14 23:26:33 +02:00 |
|
Jan Borsodi
|
93608ca892
|
Removed prefix from filename and changed name as only the race dialog will be placed in it.
|
2010-09-14 23:26:33 +02:00 |
|
Jan Borsodi
|
415426c30b
|
Convert tabs to spaces.
|
2010-09-14 23:26:32 +02:00 |
|
Jan Borsodi
|
7c17e27be4
|
Set mode back to GM_Game when mode was not handled.
|
2010-09-14 23:26:32 +02:00 |
|
Jan Borsodi
|
fb0f8d9386
|
Removed race dialog activation from the inventory mode for real this time.
|
2010-09-14 23:26:32 +02:00 |
|
Jan Borsodi
|
ae4d5291b2
|
Change text for ok button to next when showNext is true, also adjust position/sizes.
|
2010-09-14 23:26:31 +02:00 |
|
Jan Borsodi
|
de554dffd2
|
Race dialog is now triggered by setMode(GM_Race) and not part of the inventory mode anymore. Initial implementation of the dialog management of back/ok/next buttons.
|
2010-09-14 23:26:31 +02:00 |
|
Jan Borsodi
|
a59a53882f
|
Added events for ok/back buttons on race dialog, this is now hooked to functions in the window manager. For now they simple hide the window.
|
2010-09-14 23:26:31 +02:00 |
|
Jan Borsodi
|
670174004a
|
Extra check in case of invalid index values.
|
2010-09-14 23:26:30 +02:00 |
|
Jan Borsodi
|
b1451c4349
|
Only show playable races.
|
2010-09-14 23:26:30 +02:00 |
|
Jan Borsodi
|
cb98bd1a79
|
Spellpower list is now fetched from the ESM store.
|
2010-09-14 23:26:30 +02:00 |
|
Jan Borsodi
|
8f6d24bea4
|
Race dialog now gets the list of races and skills from the ESM store.
|
2010-09-14 23:26:29 +02:00 |
|
Jan Borsodi
|
e88f67bb3c
|
Merged public functions for controlling gender, face and hair with the event function, no need to have both.
|
2010-09-13 21:52:08 +02:00 |
|
Jan Borsodi
|
e60b1f88d2
|
Added unique names for skill/power sub-widgets.
|
2010-09-13 21:52:08 +02:00 |
|
Jan Borsodi
|
4d36cf2b55
|
Changed some variable names to follow Morrowind naming.
|
2010-09-13 21:52:08 +02:00 |
|
Jan Borsodi
|
beee17b36f
|
Implemented race dialog for character creation, it currently only contains hardcoded values.
|
2010-09-13 21:52:07 +02:00 |
|
Jan Borsodi
|
0e1a761167
|
Added initial implementation of inventory window, contains basic layout with hardcoded values.
|
2010-09-13 21:52:07 +02:00 |
|
Nicolay Korslund
|
d911653846
|
Merge with athile's WIP windows build
|
2010-09-02 12:55:27 +02:00 |
|
athile
|
336fb1636c
|
Windows fixes
|
2010-08-30 11:19:45 +01:00 |
|
Marc Zinnschlag
|
08d2b80434
|
message box fix
|
2010-08-22 12:56:35 +02:00 |
|
Marc Zinnschlag
|
17135a6403
|
routed message box output through window manager
|
2010-08-22 11:22:10 +02:00 |
|
Marc Zinnschlag
|
09a258253c
|
removed custom messageBox implementation for console
|
2010-08-22 11:17:19 +02:00 |
|
Marc Zinnschlag
|
276a9db6f7
|
added missing button implementation for MessageBox
|
2010-08-22 11:14:14 +02:00 |
|
Nicolay Korslund
|
05b3140740
|
Enabled crosshairs
|
2010-08-13 23:41:58 +02:00 |
|
Marc Zinnschlag
|
b584215680
|
moved stats label <-> GMST text mapping from mwmechanics to mwgui; added missing stats window labels
|
2010-08-01 10:25:50 +02:00 |
|
Marc Zinnschlag
|
3b6b343c9b
|
added GUI update for health, magicka and fatigue
|
2010-07-28 18:48:01 +02:00 |
|
Marc Zinnschlag
|
63f686ffab
|
update attribute values in stats window
|
2010-07-27 15:59:41 +02:00 |
|
Marc Zinnschlag
|
61d09c4768
|
read attribute names from GMST instead of using hard-coded names (doesn't fully work yet, because of encoding issues)
|
2010-07-26 11:15:38 +02:00 |
|
Marc Zinnschlag
|
cf7150e585
|
implemented naked expressions in lineparser (used in console; result is send through messagebox interface)
|
2010-07-21 13:34:52 +02:00 |
|
Marc Zinnschlag
|
a87175446c
|
disable windows on startup when --new-game is used
|
2010-07-21 10:28:58 +02:00 |
|
Marc Zinnschlag
|
281f2d1136
|
added script interpreter for console
|
2010-07-21 10:08:38 +02:00 |
|