#include <algorithm>
#include <iostream>
#include <stdexcept>
-#include <cmath>
+#include <math.h>
#include "tilemap.hpp"
#include "video/drawing_context.hpp"
set_x_offset(v.x);
set_y_offset(v.y);
}
-
+
std::string draw_target_s = "normal";
reader.get("draw-target", draw_target_s);
if (draw_target_s == "normal") draw_target = DrawingContext::NORMAL;
width = new_width;
}
-void
-TileMap::set_solid(bool solid)
+void
+TileMap::set_solid(bool solid)
{
this->solid = solid;
}
}
}
-void
+void
TileMap::fade(float alpha, float seconds)
{
this->alpha = alpha;