From f59f38910b5ed7acb22cb9713431a4e8343b0c4b Mon Sep 17 00:00:00 2001 From: Kiyoshi Kyokai Date: Sun, 20 Feb 2005 22:57:12 +0000 Subject: Added basic functionality for the new skill dialog. Class support, initialization, creation, deconstruction, etc. You can activate it with ALT+n. --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-60-g2f50