From 13cb522b404a97172255df898d7674fe6b16cedd Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Fri, 15 Jul 2005 08:21:06 +0000 Subject: Enabling support for joypads: - Only <=6 buttons are supported - Only the first jopad is used (if you have more than one) - Axes need to be tuned - You can only move and attack with joypad Small fix in the updating system --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0778bc82..0417be56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,8 +83,8 @@ volatile int framesToDraw = 0; Sound sound; Music *bgm; -Configuration config; /**< Xml file configuration reader */ -Logger *logger; /**< Log object */ +Configuration config; /**< Xml file configuration reader */ +Logger *logger; /**< Log object */ ItemManager *itemDb; /**< Item database object */ /** @@ -313,7 +313,7 @@ void init_engine() new OkDialog("Sound Engine", err, &initWarningListener); logger->log("Warning: %s", err); } - + // Set frame counter when using fps limit int fpsLimit = (int)config.getValue("fpslimit", 0); if (fpsLimit) -- cgit v1.2.3-60-g2f50