restore trunk
[supertux.git] / src / scripting / camera.cpp
index cb4a93b..ea90989 100644 (file)
@@ -25,7 +25,7 @@
 #include "scripting/camera.hpp"
 #include "math/vector.hpp"
 
-#define NOIMPL      log_fatal << __PRETTY_FUNCTION__ << " not implemented."
+#define NOIMPL      log_fatal << __FUNCTION__ << " not implemented."
 
 namespace Scripting
 {
@@ -35,17 +35,22 @@ namespace Scripting
 
   Camera::~Camera()
   { }
-  
+
+  void
+  Camera::reload_config()
+  {
+    camera->reload_config();
+  }
+
   void
-  Camera::shake(float , float , float )
+  Camera::shake(float speed, float x, float y)
   {
-    NOIMPL;
+    camera->shake(speed, x, y);
   }
-  
+
   void
   Camera::set_pos(float , float )
   {
-    NOIMPL;
   }
 
   void