summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skill_menu.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert crosstraining into an enhancer bonusBrendan Hickey2014-06-121-1/+1
| | | | | Remove traditional crosstraining. Replace it with a 20% skillpoint enhancer bonus.
* Remove more antitraining.Neil Moore2014-06-101-1/+1
| | | | | Including skill descriptions, the skill menu flag, the penalty multiplier constant, and a comment.
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Don't lose the skill training when disconnected during !exp (#6361).Raphael Langella2012-11-041-2/+1
| | | | | When loading the save, go back to the skill menu. The title is a bit generic since we can't know if the XP was from a card or a potion.
* Fix SkillMenu crashes.Neil Moore2012-10-091-0/+1
| | | | | Not everything was being reset, causing crashes the second time the menu was entered.
* Skill menu: map shift-click and right-click to single select.Raphael Langella2012-10-081-1/+11
| | | | Does the same as shift-letter.
* Make the SkillMenu object a global variable.Raphael Langella2012-10-081-4/+2
| | | | Better that than a static member of 2 (and soon 3) other classes.
* Scale the skill menu tiles.Raphael Langella2012-10-081-2/+9
| | | | | Scale up with the tile_cell_pixels option, and scale down when the resolution is too low (instead of disabling tiles).
* Use std namespace.Raphael Langella2012-08-261-8/+8
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Use shift+letter instead of ctrl+letter to single-select skills.Raphael Langella2012-04-241-1/+1
| | | | | | ctrl+letter doesn't work for several letters in console and in webtiles. If more than 26 skills can be trained, the 27th+ are mapped to numbers (and they cannot be single-selected with shift number).
* Unprotect PrecisionMenu::clear_selections.Raphael Langella2012-04-221-1/+0
|
* Add a decimal to the skill level display.Raphael Langella2011-09-211-1/+2
|
* Fix some issues with mastered skills and potions of experience.Raphael Langella2011-09-181-0/+1
|
* Allow choosing skills to train after using a card/potion of experience.Raphael Langella2011-07-221-16/+24
| | | | | | | The skill menu is shown and the player can toggle skills and use focus. The level reached by each skill is showned. This is to prevent players from having to adjust skills before quaff iding or drawing from wonders in case of experience.
* Save skill menu states as normal members of Player instead of using props.Raphael Langella2011-07-221-18/+0
| | | | | It doesn't make sense to use props since it's not temporary at all. Also simplify a bit the code and future proof the handling of invalid states.
* Merge branch 'webtiles'Adam Borowski2011-07-101-1/+1
|
* New feature: focus skill. Double the training weight of focus skills.Raphael Langella2011-07-091-0/+2
| | | | | | Works in both manual and automatic modes. Fix a bug in auto mode when none of the enabled skills have been exercised recently. And also fix #4241.
* Add an in-game help for the new skill system.Raphael Langella2011-07-071-6/+12
| | | | | Also simplify a bit the code for the skill screen layout. I didn't purge the do switch from the code because I might use it for something else later.
* Prevent exiting the skill menu with all skills disabled.Raphael Langella2011-07-061-0/+1
|
* New skill training system.Raphael Langella2011-07-041-2/+0
| | | | | | | Exercised are stored in a queue and skills are trained immediately when XP is gained. There's a manual mode in which only the selected skills are trained. No XP pool. No victory dancing.
* New skill menu switches.Raphael Langella2011-07-041-75/+105
| | | | And a lot of rewritting and cleaning up.
* Move the skill menu into its own file.Raphael Langella2011-07-041-0/+148