#include "video/drawing_context.hpp"
-#include "obstack/obstackpp.hpp"
#include "supertux/gameconfig.hpp"
#include "supertux/globals.hpp"
+#include "util/obstackpp.hpp"
#include "video/drawing_request.hpp"
#include "video/lightmap.hpp"
#include "video/renderer.hpp"
delete renderer;
delete lightmap;
- renderer = new_renderer();
- lightmap = new_lightmap();
+ renderer = VideoSystem::new_renderer();
+ lightmap = VideoSystem::new_lightmap();
}
void
}
void
-DrawingContext::draw_filled_rect(const Rect& rect, const Color& color,
+DrawingContext::draw_filled_rect(const Rectf& rect, const Color& color,
int layer)
{
draw_filled_rect(rect, color, 0.0f, layer);
}
void
-DrawingContext::draw_filled_rect(const Rect& rect, const Color& color, float radius, int layer)
+DrawingContext::draw_filled_rect(const Rectf& rect, const Color& color, float radius, int layer)
{
DrawingRequest* request = new(obst) DrawingRequest();