Commit graph

  • 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. Jan Borsodi 2010-09-24 15:28:14 +0200
  • d97dad7a86 Initial work on the Class Create dialog. Jan Borsodi 2010-09-22 20:59:13 +0200
  • 283e0df3a0 send skill updates to GUI sub-system Marc Zinnschlag 2010-09-21 17:42:07 +0200
  • 404aacae1b Call setPlayerClass when the class has been chosen. Jan Borsodi 2010-09-21 15:44:48 +0200
  • cd3e976b7c Added birthsign dialog and spell effect widget. Jan Borsodi 2010-09-21 12:34:47 +0200
  • 3e611b5d4c Added widget for spells, updated race dialog to use that. Jan Borsodi 2010-09-20 13:36:55 +0200
  • 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. Jan Borsodi 2010-09-20 13:17:02 +0200
  • 647129c866 The type used for Stat/DynamicStat templates are now stored as a typedef. Added some convenience constructors for initializing Stat/DynamicStat objects. Jan Borsodi 2010-09-20 13:10:15 +0200
  • a05046026e More direct pixel functions. Nicolay Korslund 2010-09-19 12:36:19 +0200
  • 593ac7b240 Added pixel() to Rend2D::Sprite Nicolay Korslund 2010-09-19 11:57:09 +0200
  • eec34e9f0e Added dialog for picking class from a list. Jan Borsodi 2010-09-19 04:29:22 +0200
  • 07b1b21b29 Fixed incorrect comparison with current race, should use the ID not the name. Jan Borsodi 2010-09-19 04:28:12 +0200
  • 54996684aa Merge branch 'master' into gui-windows Jan Borsodi 2010-09-19 02:04:36 +0200
  • 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. Jan Borsodi 2010-09-19 02:01:01 +0200
  • afe545f953 Merge remote branch 'korslund/master' Jan Borsodi 2010-09-18 21:39:05 +0200
  • 7bfae798e8 Changed indentation of stats window class from 2 spaces and to 4 spaces. Jan Borsodi 2010-09-18 21:36:16 +0200
  • 4f296896e1 Moved code for the stats window from the header file and to the cpp file. Jan Borsodi 2010-09-18 21:34:49 +0200
  • 001fc0c6e8 The content of the skill list in the stat window is now scrollable with a vertical scroller. Jan Borsodi 2010-09-18 21:24:05 +0200
  • 573917f3e1 Removed the need to configure the misc skills, they are now automatically set to any skills not part of the major/minor group. Jan Borsodi 2010-09-18 19:26:45 +0200
  • 9a0aea1718 Changed name of function use to set birth sign in stats window. Jan Borsodi 2010-09-18 18:44:20 +0200
  • cf20233d7e Merge remote branch 'zini/newchar' into gui-windows Jan Borsodi 2010-09-18 18:32:10 +0200
  • ccdff570ad Factions now has a rank value in the stats window. Jan Borsodi 2010-09-18 18:21:37 +0200
  • 6f1a41c1bd The skill values are now stored in the stats window instead of fetching the current player stats. Values can be set with setValue(). Jan Borsodi 2010-09-18 18:04:53 +0200
  • 7cd40fc7e4 made engine framelistener more crash-resistant Marc Zinnschlag 2010-09-18 08:39:21 +0200
  • 41ef0bc08f Added possibility to configure stat page to show factions, birth sign as well as reputation and bounty. Jan Borsodi 2010-09-18 02:24:42 +0200
  • 9683a7094d Added faction, birth sign, reputation and bounty to stat screen. All values are currently hardcoded. Jan Borsodi 2010-09-18 01:53:54 +0200
  • 46e828dbd9 Split code for generating skill list into reusable methods, this makes it easier to add other items to the list. Jan Borsodi 2010-09-18 01:44:40 +0200
  • 0868e76ffb Added display of skills in stat window, the skills are configured with MWGui::WindowManager::configureSkills(). Jan Borsodi 2010-09-18 01:30:23 +0200
  • 3d01e51254 Added text skin SandBrightText which is a slightly brighter version of SandText, used for group labels in skill list. Jan Borsodi 2010-09-18 01:29:36 +0200
  • b05236250a Added skin MW_HLine which is used to display a horizintal line separator. Jan Borsodi 2010-09-18 01:28:53 +0200
  • be8f852663 implemented skill value handling during character creation (untested) Marc Zinnschlag 2010-09-16 10:45:08 +0200
  • 3e170002e2 Merge remote branch 'zinnschlag/cell' Nicolay Korslund 2010-09-16 10:25:11 +0200
  • 71e5a15298 Minor improvement to to_utf8 Nicolay Korslund 2010-09-16 10:24:45 +0200
  • bd983717de fixed compile problem (gcc related?) Marc Zinnschlag 2010-09-15 22:22:27 +0200
  • 8de9619579 Merge commit 'amos/gui-windows' into newchar Marc Zinnschlag 2010-09-15 22:20:00 +0200
  • ff6315a8a6 Improved parameter name for size sent to text input dialog. Jan Borsodi 2010-09-15 21:48:55 +0200
  • 3cf8472ddc Centre race dialog on screen. Jan Borsodi 2010-09-15 21:48:10 +0200
  • 31a728bf07 Made sure name and race dialog is properly reset when opening again. Jan Borsodi 2010-09-15 21:36:32 +0200
  • 1d69689f77 Uppercase OK. Jan Borsodi 2010-09-15 19:55:09 +0200
  • dbc3a43f13 Adjusting y coord of ok button is wrong, should be width. Jan Borsodi 2010-09-15 19:50:11 +0200
  • 8770e4bc92 Made sure text edit widget gets focus when dialog is reopened. Jan Borsodi 2010-09-15 19:48:37 +0200
  • 84acab03ec Avoid delegates being called repeatedly when pressing enter in name dialog. Jan Borsodi 2010-09-15 19:44:53 +0200
  • 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. Jan Borsodi 2010-09-15 19:37:06 +0200
  • 5802930500 Text edit field now gets focus when the dialog is shown. Jan Borsodi 2010-09-15 16:12:36 +0200
  • 2527fe92a7 implemented creature/NPC level Marc Zinnschlag 2010-09-15 15:32:35 +0200
  • d910baebe6 adjust player's attributes according to class boni Marc Zinnschlag 2010-09-15 15:23:38 +0200
  • de04ae0900 class name wasn't displayed correctly Marc Zinnschlag 2010-09-15 15:12:42 +0200
  • 243c9712a6 set player attributes according to race and gender Marc Zinnschlag 2010-09-15 15:10:13 +0200
  • 53df82e293 fixed race name (was using internal ID as display name) Marc Zinnschlag 2010-09-15 15:01:02 +0200
  • 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. Jan Borsodi 2010-09-15 14:48:19 +0200
  • fff4bc29f4 store results of character creation and update GUI Marc Zinnschlag 2010-09-15 14:33:02 +0200
  • 30e0d713ed Changed list of skill names to contain the ID of the names instead, the actual names are then fetched from GMST. Jan Borsodi 2010-09-15 13:44:24 +0200
  • 5b0cb097cf calculate dynamic stats during character creation Marc Zinnschlag 2010-09-15 13:41:39 +0200
  • c0b9424bcf added framework for character creation Marc Zinnschlag 2010-09-15 13:31:26 +0200
  • 869bc4d084 Silence the compiler. Jan Borsodi 2010-09-15 13:16:54 +0200
  • b037780a7d Disable the invenory window for now, it's not complete and gives compiler warnings. Jan Borsodi 2010-09-15 13:15:58 +0200
  • 3f1b90e732 When a dialog is done and no new is to be shown we return to Game mode. Jan Borsodi 2010-09-15 13:10:47 +0200
  • 850b8eb6a7 Race dialog uses the ID of the race object instead of the name when referencing it. Jan Borsodi 2010-09-15 13:04:57 +0200
  • 0dafd30dfc The race dialog now fetches strings from GMST. Jan Borsodi 2010-09-15 12:56:44 +0200
  • a676763aa6 Dialog now goes to next dialog if the "next" button is shown, this follows Morrowind's behavior. Jan Borsodi 2010-09-15 12:44:43 +0200
  • 3cc57a058a The label for the name dialog is now fetched from the GMST store. Jan Borsodi 2010-09-15 12:41:53 +0200
  • 9dffa75a15 handle name change during character creation Marc Zinnschlag 2010-09-15 12:22:06 +0200
  • edb2df7d27 Merge remote branch 'zini/newchar' into gui-windows Jan Borsodi 2010-09-14 23:27:43 +0200
  • e47568ea2e Merge branch 'master' into gui-windows Jan Borsodi 2010-09-14 23:27:35 +0200
  • 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. Jan Borsodi 2010-09-14 12:34:02 +0200
  • 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. Jan Borsodi 2010-09-14 12:29:26 +0200
  • 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. Jan Borsodi 2010-09-14 23:17:08 +0200
  • 85ded0edc3 Update description of the race dialog file. Jan Borsodi 2010-09-14 22:15:35 +0200
  • cd9bb37f1f Change name of ifdef guard to reflect new filename. Jan Borsodi 2010-09-14 22:13:26 +0200
  • 18cdb3cccc Removed prefix from mw_layout.hpp. Jan Borsodi 2010-09-14 22:10:15 +0200
  • 4675402e0b Updated code to use the new name for the race dialog. Jan Borsodi 2010-09-14 22:01:45 +0200
  • 93608ca892 Removed prefix from filename and changed name as only the race dialog will be placed in it. Jan Borsodi 2010-09-14 22:00:57 +0200
  • 415426c30b Convert tabs to spaces. Jan Borsodi 2010-09-14 21:55:41 +0200
  • 7c17e27be4 Set mode back to GM_Game when mode was not handled. Jan Borsodi 2010-09-14 21:44:42 +0200
  • fb0f8d9386 Removed race dialog activation from the inventory mode for real this time. Jan Borsodi 2010-09-14 21:42:32 +0200
  • ae4d5291b2 Change text for ok button to next when showNext is true, also adjust position/sizes. Jan Borsodi 2010-09-14 21:41:00 +0200
  • 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. Jan Borsodi 2010-09-14 21:27:40 +0200
  • 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. Jan Borsodi 2010-09-14 19:33:40 +0200
  • 670174004a Extra check in case of invalid index values. Jan Borsodi 2010-09-14 15:30:47 +0200
  • b1451c4349 Only show playable races. Jan Borsodi 2010-09-14 15:00:04 +0200
  • cb98bd1a79 Spellpower list is now fetched from the ESM store. Jan Borsodi 2010-09-14 14:30:12 +0200
  • 8f6d24bea4 Race dialog now gets the list of races and skills from the ESM store. Jan Borsodi 2010-09-14 14:16:26 +0200
  • 1c79a62957 Added a static list of skill names to ESM::Skill. Jan Borsodi 2010-09-14 14:12:19 +0200
  • 004541f5cf Tested and applied Chris' sound patch. Nicolay Korslund 2010-09-14 13:27:20 +0200
  • a077e2cb2c changed character creation interface to enforce a Redemption-compatible implementation Marc Zinnschlag 2010-09-14 09:34:00 +0200
  • e411c6e833 added callback-interface for character creation Marc Zinnschlag 2010-09-13 22:59:28 +0200
  • e88f67bb3c Merged public functions for controlling gender, face and hair with the event function, no need to have both. Jan Borsodi 2010-09-13 21:21:21 +0200
  • e60b1f88d2 Added unique names for skill/power sub-widgets. Jan Borsodi 2010-09-12 14:28:17 +0200
  • 4d36cf2b55 Changed some variable names to follow Morrowind naming. Jan Borsodi 2010-09-12 14:14:54 +0200
  • beee17b36f Implemented race dialog for character creation, it currently only contains hardcoded values. Jan Borsodi 2010-09-12 14:06:10 +0200
  • 0d100f7551 Added new skins for VScroll, HScroll, List and MultiList. Textures for these widgets are read from mwgui.png, this is only a temporary measure until we can use the dds files properly. Jan Borsodi 2010-09-12 14:05:42 +0200
  • 0e1a761167 Added initial implementation of inventory window, contains basic layout with hardcoded values. Jan Borsodi 2010-09-10 03:29:29 +0200
  • 7345f2307f Improved OpenAL includes. Hacked std_stream to make seek() able to recover from eof(). Nicolay Korslund 2010-09-13 10:52:26 +0200
  • 9a2f128f58 improved record searching Marc Zinnschlag 2010-09-12 09:44:12 +0200
  • 0414d7f862 load skill and magic effect records Marc Zinnschlag 2010-09-12 09:34:45 +0200
  • 6a12ce313e Fixed uninit var in loadland.hpp Nicolay Korslund 2010-09-11 15:52:20 +0200
  • 814d721e33 build external cell names from name of region instead of from internal region id Marc Zinnschlag 2010-09-11 15:12:42 +0200
  • db2b238328 adjusted coordinates for coc/coe for exteriors (place player in the middle of the cell instead of at the border) Marc Zinnschlag 2010-09-11 12:21:55 +0200
  • 5f84b680af implemented exterior coc Marc Zinnschlag 2010-09-11 11:55:28 +0200
  • 0eae9d1504 Removed -Werror again Nicolay Korslund 2010-09-10 19:34:38 +0200