printf("Stereo separation increased to %f\n", stereoseparation);
}
- /* Devtools */
- if (devtools && !mainmenu) {
- ProcessDevInput();
- }
-}
-
-void Game::ProcessDevInput()
-{
- if (!devtools || mainmenu) {
- return;
- }
-
/* Console */
if (Input::isKeyPressed(consolekey)) {
console = !console;
}
}
+ /* Devtools */
+ if (devtools && !mainmenu && !console) {
+ ProcessDevInput();
+ }
+}
+
+void Game::ProcessDevInput()
+{
+ if (!devtools || mainmenu || console) {
+ return;
+ }
+
if (Input::isKeyDown(SDL_SCANCODE_LALT)) {
/* Enable editor */
if (Input::isKeyPressed(SDL_SCANCODE_M) && !Input::isKeyDown(SDL_SCANCODE_LSHIFT)) {