diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-07-15 08:21:06 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-07-15 08:21:06 +0000 |
commit | 13cb522b404a97172255df898d7674fe6b16cedd (patch) | |
tree | b9cd647a456349984ea038e9b172bff24b7bd5f4 /src/main.cpp | |
parent | c44f66d94c9a26e2a13e59334abe18c63f925b74 (diff) | |
download | mana-client-13cb522b404a97172255df898d7674fe6b16cedd.tar.gz mana-client-13cb522b404a97172255df898d7674fe6b16cedd.tar.bz2 mana-client-13cb522b404a97172255df898d7674fe6b16cedd.tar.xz mana-client-13cb522b404a97172255df898d7674fe6b16cedd.zip |
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
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |