Commit Graph

482 Commits (8b2252e7a17af51c6c838d159e6708c671eee5fb)

Author SHA1 Message Date
Jan-Peter Nilsson 2e7e79f596 Make ReviewDialog use the new WindowBase 14 years ago
Jan-Peter Nilsson 5db021e99b Make TextInputDialog use the new WindowBase 14 years ago
Jan-Peter Nilsson e551c60e75 Make RaceDialog use the new WindowBase 14 years ago
Jan-Peter Nilsson 933af72d60 Make BirthDialog use the new WindowBase 14 years ago
Jan-Peter Nilsson 6bf10c93c8 Create a base class for dialog windows 14 years ago
Jan-Peter Nilsson 1ff81354eb Remove unused variables 14 years ago
Jan-Peter Nilsson cb3fa7c3b2 Remove unused variables 14 years ago
Jan-Peter Nilsson 6f608f1400 Make loose functions part of the InfoBoxDialog class 14 years ago
Jan-Peter Nilsson 9d57b4f0d6 Do not store StaticTextPtr in WidgetPtr and use setTextColour 14 years ago
Jan-Peter Nilsson bb212e20f4 Do not store StaticTextPtr in WidgetPtr and use setTextColour 14 years ago
Jan-Peter Nilsson e5509ce7b1 Use arrays in CreateClassDialog 14 years ago
Jan-Peter Nilsson 528c39f1bd Use arrays in PickClassDialog 14 years ago
Jan-Peter Nilsson ef54401407 Use arrays in SelectSkillDialog 14 years ago
Jan-Peter Nilsson d7b76809ac Remove unnecessary member variables from SelectAttributeDialog 14 years ago
Jan-Peter Nilsson be5562cb2c Added dialouge window 14 years ago
Jan-Peter Nilsson 54319b0117 Use the input manager to enable the dialog 14 years ago
Jan-Peter Nilsson 700e379d56 Fix some compiler warnings 14 years ago
Jason Hooks a7c3a29ffd Music Player with directory mp3 lookup 14 years ago
Jason Hooks 74aba13053 Music Player 14 years ago
Jason Hooks ffaaad188a using theirs 14 years ago
Jan Borsodi f8b96703e6 Added all questions for the generate class dialogs and implemented calculation of class based on the answers given. There are some combinations which does not yield a class yet, will need to figure out the remaining combinations. 14 years ago
Jan Borsodi 51f26e059a Make sure player is updated after birthsign is set. 14 years ago
Jan Borsodi cefd5fb338 Reputation and bounty was not initialized to 0. 14 years ago
Jan Borsodi 38b434771a Merge remote branch 'zini/master' into gui-windows 14 years ago
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. 14 years ago
Jan Borsodi cf9b90386c Do not set the birth sign ID if it is empty. 14 years ago
Jan Borsodi a0447bcd95 Made sure review dialog is removed before going to previous dialogs. 14 years ago
Jan Borsodi 1c6b9a9b7b Activated buttons in review dialog to go to the respective dialogs. 14 years ago
Jan Borsodi 025af1717f Removed gameWindowSize parameter from all dialogs that had it, instead this is fetched via the environment variable. 14 years ago
Jan Borsodi 12fe9305a6 Further unification of dialog API, all dialogs now have an open() method which updates gui content and makes it visible. 14 years ago
Jan Borsodi e39f700372 Removed unnecessary methods. 14 years ago
Jan Borsodi 2bf29c17f5 Made sure current player name is shown in name dialog. 14 years ago
Jan Borsodi e6ad68b8d0 Avoid exception if class ID is not found, instead don't show any fields in the gui. 14 years ago
Jan Borsodi aaa80d1eb0 Made sure race and class dialog shows the current player values. 14 years ago
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. 14 years ago
Jan Borsodi 06f226f2d8 Updated WindowManager to use the new removeDialog function. 14 years ago
Jan Borsodi f756e171cc Made sure dialog garbage is also cleaned up on destruction. 14 years ago
Jan Borsodi 1f7659cb12 Only set the class and race IDs if they contain a non-empty string. 14 years ago
Jan Borsodi 6d71094f3b Updated description dialog (from create class) to use WindowManager::removeDialog. 14 years ago
Jan Borsodi 506f61d254 Added a method to remove a dialog safely, first hides the dialog then schedules for deletion in the garbage list. 14 years ago
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.
14 years ago
Marc Zinnschlag 38ab9f7a3d Merge branch 'newchar'
Conflicts:
	components/esm_store/store.hpp
14 years ago
Marc Zinnschlag 493b1ff081 gcc compatibility fix 14 years ago
Marc Zinnschlag cc86fe54d5 Merge remote branch 'amos/gui-windows' into newchar 14 years ago
Jan Borsodi 3e5f278882 Fixed birthsign and skill list in review dialog, they were not properly set. 14 years ago
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. 14 years ago
Jan Borsodi 1c1d33e723 Initial work on the stat review dialog. 14 years ago
Jan Borsodi c45811770a Added a custom widget for displaying dynamic stats (health, magicka, fatigue). Can show a title/label, graphical bar and detailed text. 14 years ago
Marc Zinnschlag a8c974d2e7 added set/get/mod instructions for skills 14 years ago
Jan Borsodi 76ab7302b1 Fixed crash when entering the birth dialog two or more times. Array should not have been static. 14 years ago
Jan Borsodi 0cc8f84393 Finished handling of Create Class dialog, now a new class is created and set in the mechanics manager. 14 years ago
Jan Borsodi 232164bfb0 Implemented the final dialog for Generate Class which shows the class that was chosen by the game based on the players chosen questions. The class is currently hardcoded to Acrobat. 14 years ago
Jan Borsodi b364d47b0b Implemented the Class Choice dialog which allows the player to choose between three ways to define a class.
Added a generic infobox dialog which displays some text and a set of buttons (vertical only for now), this is used for the Class Choice dialogs and the dialogs which shows various questions the player must choose from. The questions are currently hardcoded.
Added more gui states to handle the extra class dialogs (Generate, Pick or Create).
14 years ago
Marc Zinnschlag 1c4db82a0e added --script-all switch 14 years ago
Marc Zinnschlag 8659ce3a82 extended --start switch for exterior cell support 14 years ago
Marc Zinnschlag 6fe6f3d282 adjust initial magicka based on Fortify Maximum Magicka effect 14 years ago
Marc Zinnschlag 98405a5716 implemented magic effects from abilities (effects are not applied yet) 14 years ago
Marc Zinnschlag eeca39220b added spell list to creature stats (for now only type Ability; magic effects not applied yet), generate spell list according to race and birthsign during character creation 14 years ago
Jan Borsodi 3af1c66f8d Switched to correct GMST values in the Create Class dialog. 14 years ago
Jan Borsodi 8acf04fc08 Added dialog for editing description in custom class dialog. 14 years ago
Marc Zinnschlag 49f68e08bf Redemption compatibility fix 14 years ago
Marc Zinnschlag 12a15e3fb7 implemented class effects on player skills 14 years ago
Marc Zinnschlag 19fdd48f75 fixed a bug in class-part of setting initial skills 14 years ago
Marc Zinnschlag 9a0618fbb8 fixed a comment 14 years ago
Marc Zinnschlag 5260cb2d16 first set of additional doxygen comments 14 years ago
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. 14 years ago
Jan Borsodi d97dad7a86 Initial work on the Class Create dialog. 14 years ago
Marc Zinnschlag 283e0df3a0 send skill updates to GUI sub-system 14 years ago
Jan Borsodi 404aacae1b Call setPlayerClass when the class has been chosen. 14 years ago
Jan Borsodi cd3e976b7c Added birthsign dialog and spell effect widget. 14 years ago
Jan Borsodi 3e611b5d4c Added widget for spells, updated race dialog to use that. 14 years ago
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. 14 years ago
Jan Borsodi 647129c866 The type used for Stat/DynamicStat templates are now stored as a typedef. Added some convenience constructors for initializing Stat/DynamicStat objects. 14 years ago
Jan Borsodi eec34e9f0e Added dialog for picking class from a list. 15 years ago
Jan Borsodi 07b1b21b29 Fixed incorrect comparison with current race, should use the ID not the name. 15 years ago
Jan Borsodi 54996684aa Merge branch 'master' into gui-windows 15 years ago
Jan Borsodi 64fce8d321 Added an option (USE_DEBUG_CONSOLE) to cmake file to disable the console for debug builds on windows. If set to false all debug output is redirect to the debug output of Visual Studio. 15 years ago
Jan Borsodi 7bfae798e8 Changed indentation of stats window class from 2 spaces and to 4 spaces. 15 years ago
Jan Borsodi 4f296896e1 Moved code for the stats window from the header file and to the cpp file. 15 years ago
Jan Borsodi 001fc0c6e8 The content of the skill list in the stat window is now scrollable with a vertical scroller. 15 years ago
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. 15 years ago
Jan Borsodi 9a0aea1718 Changed name of function use to set birth sign in stats window. 15 years ago
Jan Borsodi cf20233d7e Merge remote branch 'zini/newchar' into gui-windows 15 years ago
Jan Borsodi ccdff570ad Factions now has a rank value in the stats window. 15 years ago
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(). 15 years ago
Marc Zinnschlag 7cd40fc7e4 made engine framelistener more crash-resistant 15 years ago
Jan Borsodi 41ef0bc08f Added possibility to configure stat page to show factions, birth sign as well as reputation and bounty. 15 years ago
Jan Borsodi 9683a7094d Added faction, birth sign, reputation and bounty to stat screen. All values are currently hardcoded. 15 years ago
Jan Borsodi 46e828dbd9 Split code for generating skill list into reusable methods, this makes it easier to add other items to the list. 15 years ago
Jan Borsodi 0868e76ffb Added display of skills in stat window, the skills are configured with MWGui::WindowManager::configureSkills(). 15 years ago
Marc Zinnschlag be8f852663 implemented skill value handling during character creation (untested) 15 years ago
Nicolay Korslund 3e170002e2 Merge remote branch 'zinnschlag/cell' 15 years ago
Marc Zinnschlag bd983717de fixed compile problem (gcc related?) 15 years ago
Marc Zinnschlag 8de9619579 Merge commit 'amos/gui-windows' into newchar 15 years ago
Jan Borsodi ff6315a8a6 Improved parameter name for size sent to text input dialog. 15 years ago
Jan Borsodi 3cf8472ddc Centre race dialog on screen. 15 years ago
Jan Borsodi 31a728bf07 Made sure name and race dialog is properly reset when opening again. 15 years ago
Jan Borsodi 1d69689f77 Uppercase OK. 15 years ago
Jan Borsodi dbc3a43f13 Adjusting y coord of ok button is wrong, should be width. 15 years ago
Jan Borsodi 8770e4bc92 Made sure text edit widget gets focus when dialog is reopened. 15 years ago