diff options
author | Kiyoshi Kyokai <kiyoshi.kyokai@gmail.com> | 2005-02-20 22:57:12 +0000 |
---|---|---|
committer | Kiyoshi Kyokai <kiyoshi.kyokai@gmail.com> | 2005-02-20 22:57:12 +0000 |
commit | f59f38910b5ed7acb22cb9713431a4e8343b0c4b (patch) | |
tree | bf9dc21c4ef00124873a8f862aaebdeb4c3d445f /src/game.cpp | |
parent | 7ce021a8e4fce72af6e79cad22243bdd50bb8656 (diff) | |
download | mana-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.gz mana-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.bz2 mana-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.xz mana-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.zip |
Added basic functionality for the new skill dialog. Class support, initialization, creation, deconstruction, etc. You can activate it with ALT+n.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index e9edee54..d53ddcc2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -220,6 +220,10 @@ void do_input() statsWindow->setVisible(!statsWindow->isVisible()); used = true; } + else if (keysym.sym == SDLK_n) { + newSkillWindow->setVisible(!newSkillWindow->isVisible()); + used = true; + } else if (keysym.sym == SDLK_k) { skillDialog->setVisible(!skillDialog->isVisible()); used = true; |