#303: Typo fixes from mathnerd314
[supertux.git] / src / object / camera.hpp
index 726a3e0..061fe4d 100644 (file)
@@ -50,7 +50,7 @@ public:
   /// write camera mode to a lisp file
   virtual void write(lisp::Writer& writer);
 
-  /// reset camera postion
+  /// reset camera position
   void reset(const Vector& tuxpos);
 
   /** return camera position */
@@ -99,7 +99,7 @@ private:
   void shake();
 
   /**
-   * The camera basically provides lookeahead on the left or right side
+   * The camera basically provides lookahead on the left or right side
    * or is undecided.
    */
   enum LookaheadMode {
@@ -113,7 +113,9 @@ private:
   // normal mode
   LookaheadMode lookahead_mode;
   float changetime;
-  float lookahead_pos;
+  Vector lookahead_pos;
+  Vector peek_pos;
+  Vector cached_translation;
 
   // autoscroll mode
   std::auto_ptr<Path> autoscroll_path;