X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fconfig%2Fkeys.h;h=49fe66fbdaf9a3f7840f8c23877bbddf1664452b;hp=42fd37887a1894f1030fba64b8215c5c71882911;hb=338e728a60fc9135b534be4e8ad0bb43997a1ea4;hpb=598fa0d50dedfcb47a8d88144ce9e37583aec23d diff --git a/src/config/keys.h b/src/config/keys.h index 42fd378..49fe66f 100644 --- a/src/config/keys.h +++ b/src/config/keys.h @@ -21,6 +21,28 @@ #include +#include +#include + +#include "../debug.h" + +class comparestrings +{ + public: + bool operator() + ( + const std::string& a, + const std::string& b + ) + { + cout << a << endl; + cout << b << endl; + cout << endl; + + return a.compare(b) < 0; + } +}; + /// ***** Header Methods ***** namespace key { @@ -28,6 +50,12 @@ namespace key extern SDLKey end; extern SDLKey follow; extern SDLKey well; + + typedef std::map inputMap; + + extern inputMap sdlMap; + + void init(); } #endif // KEYS_H