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
49fe66f
..
0b233a1
100644
(file)
--- a/
src/config/keys.h
+++ b/
src/config/keys.h
@@
-19,30
+19,14
@@
#ifndef KEYS_H
#define KEYS_H
#ifndef KEYS_H
#define KEYS_H
+#include <bear/debug.h>
+using namespace bear;
+
#include <SDL/SDL.h>
#include <map>
#include <string>
#include <SDL/SDL.h>
#include <map>
#include <string>
-#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
{
/// ***** Header Methods *****
namespace key
{
@@
-51,7
+35,7
@@
namespace key
extern SDLKey follow;
extern SDLKey well;
extern SDLKey follow;
extern SDLKey well;
- typedef std::map<std::string, SDLKey*
, comparestrings
> inputMap;
+ typedef std::map<std::string, SDLKey*> inputMap;
extern inputMap sdlMap;
extern inputMap sdlMap;