Renamed namespaces to all lowercase
[supertux.git] / src / badguy / willowisp.cpp
index bb48cb4..7549593 100644 (file)
@@ -26,6 +26,7 @@
 #include "supertux/game_session.hpp"
 #include "supertux/object_factory.hpp"
 #include "supertux/sector.hpp"
+#include "util/reader.hpp"
 
 static const float FLYSPEED = 64; /**< speed in px per second */
 static const float TRACK_RANGE = 384; /**< at what distance to start tracking the player */
@@ -277,7 +278,7 @@ WillOWisp::expose(HSQUIRRELVM vm, SQInteger table_idx)
     return;
 
   std::cout << "Expose me '" << name << "'\n";
-  Scripting::WillOWisp* interface = static_cast<Scripting::WillOWisp*> (this);
+  scripting::WillOWisp* interface = static_cast<scripting::WillOWisp*> (this);
   expose_object(vm, table_idx, interface, name);
 }
   
@@ -288,7 +289,7 @@ WillOWisp::unexpose(HSQUIRRELVM vm, SQInteger table_idx)
     return;
 
   std::cout << "UnExpose me '" << name << "'\n";
-  Scripting::unexpose_object(vm, table_idx, name);
+  scripting::unexpose_object(vm, table_idx, name);
 }
 
 IMPLEMENT_FACTORY(WillOWisp, "willowisp");