Make Tux run automatically. As before, if he is carrying something Tux
[supertux.git] / src / object / camera.hpp
index 16e3203..73e6d3c 100644 (file)
@@ -42,7 +42,7 @@ class PathWalker;
 class Camera : public GameObject, public Serializable, public ScriptInterface
 {
 public:
-  Camera(Sector* sector);
+  Camera(Sector* sector, std::string name = "");
   virtual ~Camera();
 
   /// parse camera mode from lisp file
@@ -62,8 +62,8 @@ public:
   {
   }
 
-  virtual void expose(HSQUIRRELVM vm, int table_idx);
-  virtual void unexpose(HSQUIRRELVM vm, int table_idx);
+  virtual void expose(HSQUIRRELVM vm, SQInteger table_idx);
+  virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx);
 
   // shake camera in a direction 1 time
   void shake(float speed, float x, float y);
@@ -124,4 +124,3 @@ private:
 };
 
 #endif /*SUPERTUX_CAMERA_H*/
-