void keep_in_bounds(Vector& vector);
void shake();
+private:
/**
* The camera basically provides lookahead on the left or right side
* or is undecided.
LOOKAHEAD_NONE, LOOKAHEAD_LEFT, LOOKAHEAD_RIGHT
};
+private:
Vector translation;
Sector* sector;
Vector cached_translation;
// autoscroll mode
- std::auto_ptr<Path> autoscroll_path;
- std::auto_ptr<PathWalker> autoscroll_walker;
+ std::unique_ptr<Path> autoscroll_path;
+ std::unique_ptr<PathWalker> autoscroll_walker;
// shaking
Timer shaketimer;