projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b552aa3
)
key control changed to new system
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Fri, 29 Aug 2008 04:22:38 +0000
(
00:22
-0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Fri, 29 Aug 2008 04:22:38 +0000
(
00:22
-0400)
src/config/config.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/config/config.cpp
b/src/config/config.cpp
index
7d71e8a
..
2df8b74
100644
(file)
--- a/
src/config/config.cpp
+++ b/
src/config/config.cpp
@@
-47,29
+47,29
@@
void cfg::clean()
bool cfg::pause()
{
bool cfg::pause()
{
- return input::wasPressed(
SDLK_p
);
+ return input::wasPressed(
key::pause
);
}
bool cfg::unPause()
{
}
bool cfg::unPause()
{
- return input::wasPressed(
SDLK_p
);
+ return input::wasPressed(
key::pause
);
}
bool cfg::endGame()
{
}
bool cfg::endGame()
{
- return input::wasReleased(
SDLK_ESCAPE
);
+ return input::wasReleased(
key::end
);
}
bool cfg::mouseWellFollow()
{
}
bool cfg::mouseWellFollow()
{
- return input::isPressed(
SDLK_f
);
+ return input::isPressed(
key::follow
);
}
bool cfg::mouseWellOn()
{
}
bool cfg::mouseWellOn()
{
- return input::wasPressed(
SDLK_SPACE
);
+ return input::wasPressed(
key::well
);
}
bool cfg::mouseWellOff()
{
}
bool cfg::mouseWellOff()
{
- return input::wasReleased(
SDLK_SPACE
);
+ return input::wasReleased(
key::well
);
}
/// ***** Private Methods *****
}
/// ***** Private Methods *****