1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
Commit graph

84 commits

Author SHA1 Message Date
Jan Borsodi
ee101440a2 Continued work on Class Create dialog. Added sub-dialogs for picking specialization, attribute and skill. Also added some definitions in ESM for attributes and specializations. 2010-09-24 15:28:14 +02:00
Jan Borsodi
d97dad7a86 Initial work on the Class Create dialog. 2010-09-22 20:59:13 +02:00
Jan Borsodi
404aacae1b Call setPlayerClass when the class has been chosen. 2010-09-21 15:44:48 +02:00
Jan Borsodi
cd3e976b7c Added birthsign dialog and spell effect widget. 2010-09-21 12:34:47 +02:00
Jan Borsodi
3e611b5d4c Added widget for spells, updated race dialog to use that. 2010-09-20 13:36:55 +02:00
Jan Borsodi
cd8b88dea1 Introduced custom widgets (skill and attribute) which should make it easier to make new windows. Changed race and class dialog to use the new skill and attribute widgets. 2010-09-20 13:17:02 +02:00
Jan Borsodi
eec34e9f0e Added dialog for picking class from a list. 2010-09-19 04:29:22 +02:00
Jan Borsodi
07b1b21b29 Fixed incorrect comparison with current race, should use the ID not the name. 2010-09-19 04:28:12 +02:00
Jan Borsodi
7bfae798e8 Changed indentation of stats window class from 2 spaces and to 4 spaces. 2010-09-18 21:36:16 +02:00
Jan Borsodi
4f296896e1 Moved code for the stats window from the header file and to the cpp file. 2010-09-18 21:34:49 +02:00
Jan Borsodi
001fc0c6e8 The content of the skill list in the stat window is now scrollable with a vertical scroller. 2010-09-18 21:24:05 +02:00
Jan Borsodi
573917f3e1 Removed the need to configure the misc skills, they are now automatically set to any skills not part of the major/minor group. 2010-09-18 19:26:45 +02:00
Jan Borsodi
9a0aea1718 Changed name of function use to set birth sign in stats window. 2010-09-18 18:44:20 +02:00
Jan Borsodi
ccdff570ad Factions now has a rank value in the stats window. 2010-09-18 18:31:13 +02:00
Jan Borsodi
6f1a41c1bd The skill values are now stored in the stats window instead of fetching the current player stats. Values can be set with setValue(). 2010-09-18 18:31:13 +02:00
Jan Borsodi
41ef0bc08f Added possibility to configure stat page to show factions, birth sign as well as reputation and bounty. 2010-09-18 02:24:42 +02:00
Jan Borsodi
9683a7094d Added faction, birth sign, reputation and bounty to stat screen. All values are currently hardcoded. 2010-09-18 01:53:54 +02:00
Jan Borsodi
46e828dbd9 Split code for generating skill list into reusable methods, this makes it easier to add other items to the list. 2010-09-18 01:44:40 +02:00
Jan Borsodi
0868e76ffb Added display of skills in stat window, the skills are configured with MWGui::WindowManager::configureSkills(). 2010-09-18 01:30:23 +02:00
Marc Zinnschlag
bd983717de fixed compile problem (gcc related?) 2010-09-15 22:22:27 +02:00
Marc Zinnschlag
8de9619579 Merge commit 'amos/gui-windows' into newchar 2010-09-15 22:20:00 +02:00
Jan Borsodi
ff6315a8a6 Improved parameter name for size sent to text input dialog. 2010-09-15 21:48:55 +02:00
Jan Borsodi
3cf8472ddc Centre race dialog on screen. 2010-09-15 21:48:10 +02:00
Jan Borsodi
31a728bf07 Made sure name and race dialog is properly reset when opening again. 2010-09-15 21:36:32 +02:00
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
Marc Zinnschlag
2527fe92a7 implemented creature/NPC level 2010-09-15 15:32:35 +02:00
Marc Zinnschlag
de04ae0900 class name wasn't displayed correctly 2010-09-15 15:12:42 +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
Marc Zinnschlag
fff4bc29f4 store results of character creation and update GUI 2010-09-15 14:33:02 +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
Marc Zinnschlag
9dffa75a15 handle name change during character creation 2010-09-15 12:22:06 +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