Jan-Peter Nilsson
4e8f55b630
Make PickClassDialog use the new WindowBase
2010-11-06 11:38:29 +01:00
Jan-Peter Nilsson
ed05c5752b
Make GenerateClassResultDialog use the new WindowBase
2010-11-06 11:37:00 +01:00
Jan-Peter Nilsson
0d97200e18
Make InfoBoxDialog use the new WindowBase
2010-11-06 11:33:30 +01:00
Jan-Peter Nilsson
6c7f59725f
Make StatsWindow use the new WindowBase
2010-11-06 11:29:49 +01:00
Jan-Peter Nilsson
2e7e79f596
Make ReviewDialog use the new WindowBase
2010-11-06 11:29:03 +01:00
Jan-Peter Nilsson
5db021e99b
Make TextInputDialog use the new WindowBase
2010-11-06 11:27:53 +01:00
Jan-Peter Nilsson
e551c60e75
Make RaceDialog use the new WindowBase
2010-11-06 11:26:45 +01:00
Jan-Peter Nilsson
933af72d60
Make BirthDialog use the new WindowBase
2010-11-06 11:26:17 +01:00
Jan-Peter Nilsson
6bf10c93c8
Create a base class for dialog windows
2010-11-06 11:25:16 +01:00
Jan-Peter Nilsson
1ff81354eb
Remove unused variables
2010-11-06 01:17:05 +01:00
Jan-Peter Nilsson
cb3fa7c3b2
Remove unused variables
2010-11-06 01:17:05 +01:00
Jan-Peter Nilsson
6f608f1400
Make loose functions part of the InfoBoxDialog class
2010-11-06 01:15:56 +01:00
Jan-Peter Nilsson
9d57b4f0d6
Do not store StaticTextPtr in WidgetPtr and use setTextColour
2010-11-06 01:14:29 +01:00
Jan-Peter Nilsson
bb212e20f4
Do not store StaticTextPtr in WidgetPtr and use setTextColour
2010-11-06 01:14:29 +01:00
Jan-Peter Nilsson
e5509ce7b1
Use arrays in CreateClassDialog
2010-11-06 01:13:34 +01:00
Jan-Peter Nilsson
528c39f1bd
Use arrays in PickClassDialog
2010-11-06 01:13:34 +01:00
Jan-Peter Nilsson
ef54401407
Use arrays in SelectSkillDialog
2010-11-06 01:11:37 +01:00
Jan-Peter Nilsson
d7b76809ac
Remove unnecessary member variables from SelectAttributeDialog
2010-11-06 01:10:33 +01:00
Jan-Peter Nilsson
be5562cb2c
Added dialouge window
2010-11-06 01:09:37 +01:00
Jan-Peter Nilsson
54319b0117
Use the input manager to enable the dialog
2010-11-06 01:09:05 +01:00
Jan-Peter Nilsson
700e379d56
Fix some compiler warnings
2010-11-06 01:07:48 +01:00
Jan Borsodi
51f26e059a
Make sure player is updated after birthsign is set.
2010-10-23 01:28:30 +02:00
Jan Borsodi
cefd5fb338
Reputation and bounty was not initialized to 0.
2010-10-23 01:23:09 +02:00
Jan Borsodi
38b434771a
Merge remote branch 'zini/master' into gui-windows
2010-10-23 01:13:11 +02:00
Jan Borsodi
81e83a0813
Player member variables in WindowManager are updated directly when a dialog finishes, needed for review dialog which is shown directly after another closes.
2010-10-23 01:09:33 +02:00
Jan Borsodi
cf9b90386c
Do not set the birth sign ID if it is empty.
2010-10-23 01:01:03 +02:00
Jan Borsodi
a0447bcd95
Made sure review dialog is removed before going to previous dialogs.
2010-10-23 01:00:25 +02:00
Jan Borsodi
1c6b9a9b7b
Activated buttons in review dialog to go to the respective dialogs.
2010-10-23 01:00:07 +02:00
Jan Borsodi
debf1e3c4f
Updated all remaining dialogs to use the MW_Dialog skin and adjusted window sizes accordingly.
2010-10-23 00:23:03 +02:00
Jan Borsodi
025af1717f
Removed gameWindowSize parameter from all dialogs that had it, instead this is fetched via the environment variable.
2010-10-23 00:17:41 +02:00
Jan Borsodi
12fe9305a6
Further unification of dialog API, all dialogs now have an open() method which updates gui content and makes it visible.
2010-10-23 00:11:54 +02:00
Jan Borsodi
e39f700372
Removed unnecessary methods.
2010-10-23 00:04:00 +02:00
Jan Borsodi
2bf29c17f5
Made sure current player name is shown in name dialog.
2010-10-23 00:00:09 +02:00
Jan Borsodi
e6ad68b8d0
Avoid exception if class ID is not found, instead don't show any fields in the gui.
2010-10-22 23:52:24 +02:00
Jan Borsodi
aaa80d1eb0
Made sure race and class dialog shows the current player values.
2010-10-22 23:51:53 +02:00
Jan Borsodi
2affe7cf78
Removed earlier workaround code for dialog callbacks, no need to reset them anymore as the dialogs are cleaned up at a later point.
2010-10-22 23:38:36 +02:00
Jan Borsodi
06f226f2d8
Updated WindowManager to use the new removeDialog function.
2010-10-22 23:34:41 +02:00
Jan Borsodi
f756e171cc
Made sure dialog garbage is also cleaned up on destruction.
2010-10-22 23:21:15 +02:00
Jan Borsodi
1f7659cb12
Only set the class and race IDs if they contain a non-empty string.
2010-10-22 23:18:57 +02:00
Jan Borsodi
6d71094f3b
Updated description dialog (from create class) to use WindowManager::removeDialog.
2010-10-22 23:14:52 +02:00
Jan Borsodi
506f61d254
Added a method to remove a dialog safely, first hides the dialog then schedules for deletion in the garbage list.
2010-10-22 23:14:21 +02:00
Jan Borsodi
16aa13721a
Updated all dialogs to use a garbage list for postponed cleanup, this list is cleared in update() which is called for each frame.
...
Fixed incorrect code in onCreateClassDialogBack, should use set class from pickClassDialog.
Add private method setGuiMode() which calls the input manager, updated all gui-mode changes in WindowManager to use that.
2010-10-22 22:54:15 +02:00
Marc Zinnschlag
38ab9f7a3d
Merge branch 'newchar'
...
Conflicts:
components/esm_store/store.hpp
2010-10-22 10:27:32 +02:00
Marc Zinnschlag
f620b580f0
Merge remote branch 'upstream/master'
2010-10-22 10:23:07 +02:00
Marc Zinnschlag
493b1ff081
gcc compatibility fix
2010-10-22 10:21:42 +02:00
Marc Zinnschlag
cc86fe54d5
Merge remote branch 'amos/gui-windows' into newchar
2010-10-22 10:12:39 +02:00
Jan Borsodi
3e5f278882
Fixed birthsign and skill list in review dialog, they were not properly set.
2010-10-21 09:47:34 +02:00
Jan Borsodi
970a7a3498
Removed hardcoded values from review dialog and added functionality for setting all fields in the dialog. Window manager keeps track of player values set from the outside and passes these to the review dialog.
2010-10-21 09:28:09 +02:00
Jan Borsodi
1c1d33e723
Initial work on the stat review dialog.
2010-10-20 21:40:32 +02:00
Jan Borsodi
c45811770a
Added a custom widget for displaying dynamic stats (health, magicka, fatigue). Can show a title/label, graphical bar and detailed text.
2010-10-20 21:39:18 +02:00