From 4ac67a22ac4601d3ff99c0f7fb9eebf8fb2c6ad3 Mon Sep 17 00:00:00 2001 From: Stiffly Date: Mon, 2 Jun 2014 16:25:00 +0200 Subject: [PATCH] Removed temporary debug code --- src/InputManager.cpp | 15 --------------- src/InputManager.h | 3 --- 2 files changed, 18 deletions(-) diff --git a/src/InputManager.cpp b/src/InputManager.cpp index 524033e..b20e072 100644 --- a/src/InputManager.cpp +++ b/src/InputManager.cpp @@ -42,21 +42,6 @@ void InputManager::Update(double dt) } } - if(m_CurrentKeyState[GLFW_KEY_Z]) //TEMP - { - Events::PlaySFX e; - e.Resource = "Sounds/BGM/DarkHorse.mp3"; - e.Loop = true; - e.Emitter = 58; - EventBroker->Publish(e); - } - if(m_CurrentKeyState[GLFW_KEY_P]) //TEMP - { - Events::StopSound e; - e.Emitter = 58; - EventBroker->Publish(e); - } - // Mouse buttons for (int i = 0; i <= GLFW_MOUSE_BUTTON_LAST; ++i) { diff --git a/src/InputManager.h b/src/InputManager.h index fe77181..69827ba 100644 --- a/src/InputManager.h +++ b/src/InputManager.h @@ -12,9 +12,6 @@ #include "Events/LockMouse.h" #include "Events/GamepadAxis.h" #include "Events/GamepadButton.h" -#include "Events/PlaySFX.h" //Temp -#include "Events/PlayBGM.h" //Temp -#include "Events/StopSound.h" //Temp class InputManager {