File remove-debug_fix-includes.patch of Package pingus

--- src/engine/input/xinput/xinput_driver.cpp.orig	2011-10-11 23:47:16.738519656 -0600
+++ src/engine/input/xinput/xinput_driver.cpp	2011-10-11 23:48:46.928047145 -0600
@@ -17,8 +17,8 @@
 #include "engine/input/xinput/xinput_driver.hpp"
 
 #include "engine/input/xinput/xinput_device.hpp"
-#include "pingus/debug.hpp"
 #include "pingus/globals.hpp"
+#include <iostream>
 
 namespace Input {
 
@@ -67,7 +67,6 @@ XInputDriver::setup_xinput()
     XDeviceInfo* info = XListInputDevices(sys.info.x11.display, &num_devices);
     for(int i = 0; i < num_devices; ++i) 
     {
-      pout(PINGUS_DEBUG_INPUT) << "XInputDriver: Device name='" << info[i].name << "'" << std::endl;
       // FIXME: Xinput isn't necesarrily a mouse, could be anything
       //if (info[i].use == IsXExtensionDevice)
       // {
--- src/engine/input/xinput/xinput_device.cpp.orig	2011-10-11 23:49:17.767206126 -0600
+++ src/engine/input/xinput/xinput_device.cpp	2011-10-11 23:49:17.781205782 -0600
@@ -17,6 +17,7 @@
 #include "engine/input/xinput/xinput_device.hpp"
 
 #include "engine/input/xinput/xinput_driver.hpp"
+#include <iostream>
 
 namespace Input {
 
--- src/engine/input/wiimote/wiimote_driver.cpp.orig	2011-10-11 23:47:00.482967560 -0600
+++ src/engine/input/wiimote/wiimote_driver.cpp	2011-10-12 00:01:18.199706428 -0600
@@ -17,9 +17,9 @@
 #include "engine/input/wiimote/wiimote_driver.hpp"
 
 #include "engine/input/wiimote/wiimote.hpp"
-#include "pingus/debug.hpp"
 #include "pingus/globals.hpp"
 #include "util/string_util.hpp"
+#include <iostream>
 
 namespace Input {
 
@@ -48,10 +48,6 @@ WiimoteDriver::update(float delta)
     WiimoteEvent& event = *i;
     if (event.type == WiimoteEvent::WIIMOTE_BUTTON_EVENT)
     {
-      pout(PINGUS_DEBUG_INPUT) << "WiimoteDriver: (wiimote:button (button "
-                               << event.button.button << ")) => "
-                               << event.button.down << std::endl;
-                  
       for (std::vector<ButtonBinding>::const_iterator j = button_bindings.begin();
            j != button_bindings.end();
            ++j)
@@ -64,11 +60,6 @@ WiimoteDriver::update(float delta)
     }
     else if (event.type == WiimoteEvent::WIIMOTE_AXIS_EVENT)
     {
-      pout(PINGUS_DEBUG_INPUT) << "WiimoteDriver: (wiimote:axis (axis "
-                               << event.axis.axis << ")) => " 
-                               << event.axis.pos
-                               << std::endl; // Fixme: should output string
-
       for (std::vector<AxisBinding>::const_iterator j = axis_bindings.begin();
            j != axis_bindings.end(); ++j)
       {
openSUSE Build Service is sponsored by