X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fcamera.cpp;h=ea909899132a9b4ece7999a599b66fba37977b6b;hb=fea3446f05e1e7673607b835c269d3e8d1929ab3;hp=cb4a93b97db1d75766025d45c4653ba3c1f3eded;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/scripting/camera.cpp b/src/scripting/camera.cpp index cb4a93b97..ea9098991 100644 --- a/src/scripting/camera.cpp +++ b/src/scripting/camera.cpp @@ -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