Jan Borsodi
|
b05236250a
|
Added skin MW_HLine which is used to display a horizintal line separator.
|
14 years ago |
Marc Zinnschlag
|
be8f852663
|
implemented skill value handling during character creation (untested)
|
14 years ago |
Marc Zinnschlag
|
bd983717de
|
fixed compile problem (gcc related?)
|
14 years ago |
Marc Zinnschlag
|
8de9619579
|
Merge commit 'amos/gui-windows' into newchar
|
14 years ago |
Jan Borsodi
|
ff6315a8a6
|
Improved parameter name for size sent to text input dialog.
|
14 years ago |
Jan Borsodi
|
3cf8472ddc
|
Centre race dialog on screen.
|
14 years ago |
Jan Borsodi
|
31a728bf07
|
Made sure name and race dialog is properly reset when opening again.
|
14 years ago |
Jan Borsodi
|
1d69689f77
|
Uppercase OK.
|
14 years ago |
Jan Borsodi
|
dbc3a43f13
|
Adjusting y coord of ok button is wrong, should be width.
|
14 years ago |
Jan Borsodi
|
8770e4bc92
|
Made sure text edit widget gets focus when dialog is reopened.
|
14 years ago |
Jan Borsodi
|
84acab03ec
|
Avoid delegates being called repeatedly when pressing enter in name dialog.
|
14 years ago |
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.
|
14 years ago |
Jan Borsodi
|
5802930500
|
Text edit field now gets focus when the dialog is shown.
|
14 years ago |
Marc Zinnschlag
|
2527fe92a7
|
implemented creature/NPC level
|
14 years ago |
Marc Zinnschlag
|
d910baebe6
|
adjust player's attributes according to class boni
|
14 years ago |
Marc Zinnschlag
|
de04ae0900
|
class name wasn't displayed correctly
|
14 years ago |
Marc Zinnschlag
|
243c9712a6
|
set player attributes according to race and gender
|
14 years ago |
Marc Zinnschlag
|
53df82e293
|
fixed race name (was using internal ID as display name)
|
14 years ago |
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?).
|
14 years ago |
Marc Zinnschlag
|
fff4bc29f4
|
store results of character creation and update GUI
|
14 years ago |
Jan Borsodi
|
30e0d713ed
|
Changed list of skill names to contain the ID of the names instead, the actual names are then fetched from GMST.
|
14 years ago |
Marc Zinnschlag
|
5b0cb097cf
|
calculate dynamic stats during character creation
|
14 years ago |
Marc Zinnschlag
|
c0b9424bcf
|
added framework for character creation
|
14 years ago |
Jan Borsodi
|
869bc4d084
|
Silence the compiler.
|
14 years ago |
Jan Borsodi
|
b037780a7d
|
Disable the invenory window for now, it's not complete and gives compiler warnings.
|
14 years ago |
Jan Borsodi
|
3f1b90e732
|
When a dialog is done and no new is to be shown we return to Game mode.
|
14 years ago |
Jan Borsodi
|
850b8eb6a7
|
Race dialog uses the ID of the race object instead of the name when referencing it.
|
14 years ago |
Jan Borsodi
|
0dafd30dfc
|
The race dialog now fetches strings from GMST.
|
14 years ago |
Jan Borsodi
|
a676763aa6
|
Dialog now goes to next dialog if the "next" button is shown, this follows Morrowind's behavior.
|
14 years ago |
Jan Borsodi
|
3cc57a058a
|
The label for the name dialog is now fetched from the GMST store.
|
14 years ago |
Marc Zinnschlag
|
9dffa75a15
|
handle name change during character creation
|
14 years ago |
Jan Borsodi
|
edb2df7d27
|
Merge remote branch 'zini/newchar' into gui-windows
|
14 years ago |
Jan Borsodi
|
e47568ea2e
|
Merge branch 'master' into gui-windows
|
14 years ago |
Jan Borsodi
|
e34b86e5c2
|
Added new define CAELUM_STATIC which will disable all dllexport for the caelum project. Made sure the define is set for both openmw and caelum.
|
14 years ago |
Jan Borsodi
|
4416e71a0a
|
Fix for linker warnings on windows, this makes sure headers of MyGUI does not use dllexport for windows as we are supposed to link statically to the library.
|
14 years ago |
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.
|
14 years ago |
Jan Borsodi
|
85ded0edc3
|
Update description of the race dialog file.
|
14 years ago |
Jan Borsodi
|
cd9bb37f1f
|
Change name of ifdef guard to reflect new filename.
|
14 years ago |
Jan Borsodi
|
18cdb3cccc
|
Removed prefix from mw_layout.hpp.
|
14 years ago |
Jan Borsodi
|
4675402e0b
|
Updated code to use the new name for the race dialog.
|
14 years ago |
Jan Borsodi
|
93608ca892
|
Removed prefix from filename and changed name as only the race dialog will be placed in it.
|
14 years ago |
Jan Borsodi
|
415426c30b
|
Convert tabs to spaces.
|
14 years ago |
Jan Borsodi
|
7c17e27be4
|
Set mode back to GM_Game when mode was not handled.
|
14 years ago |
Jan Borsodi
|
fb0f8d9386
|
Removed race dialog activation from the inventory mode for real this time.
|
14 years ago |
Jan Borsodi
|
ae4d5291b2
|
Change text for ok button to next when showNext is true, also adjust position/sizes.
|
14 years ago |
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.
|
14 years ago |
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.
|
14 years ago |
Jan Borsodi
|
670174004a
|
Extra check in case of invalid index values.
|
14 years ago |
Jan Borsodi
|
b1451c4349
|
Only show playable races.
|
14 years ago |
Jan Borsodi
|
cb98bd1a79
|
Spellpower list is now fetched from the ESM store.
|
14 years ago |