// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#include "camera.h"
#include <stdexcept>
#include <sstream>
-#include <math.h>
-#include "lispwriter.h"
+#include <cmath>
+
+#include "camera.h"
+#include "utils/lispwriter.h"
#include "player.h"
#include "tilemap.h"
#include "gameloop.h"
-#include "globals.h"
+#include "app/globals.h"
#include "sector.h"
+using namespace SuperTux;
+
Camera::Camera(Sector* newsector)
: sector(newsector), do_backscrolling(true), scrollchange(NONE),
auto_idx(0), auto_t(0)