projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished changes to deps directory building
[physics.git]
/
src
/
config
/
keys.h
diff --git
a/src/config/keys.h
b/src/config/keys.h
index
9244a6f
..
0b233a1
100644
(file)
--- a/
src/config/keys.h
+++ b/
src/config/keys.h
@@
-19,18
+19,27
@@
#ifndef KEYS_H
#define KEYS_H
#ifndef KEYS_H
#define KEYS_H
+#include <bear/debug.h>
+using namespace bear;
+
#include <SDL/SDL.h>
#include <SDL/SDL.h>
+#include <map>
+#include <string>
+
/// ***** Header Methods *****
namespace key
{
/// ***** Header Methods *****
namespace key
{
- void init();
- void clean();
+ extern SDLKey pause;
+ extern SDLKey end;
+ extern SDLKey follow;
+ extern SDLKey well;
- static SDLKey pause;
- static SDLKey end;
- static SDLKey follow;
- static SDLKey well;
+ typedef std::map<std::string, SDLKey*> inputMap;
+
+ extern inputMap sdlMap;
+
+ void init();
}
#endif // KEYS_H
}
#endif // KEYS_H