- void draw_text(Font* font, const std::string& text, const Vector& position,
- int allignment, int layer,
- Uint32 drawing_effect = NONE_EFFECT, int alpha = 255);
+ void draw_text(const Font* font, const std::string& text,
+ const Vector& position, FontAlignment alignment, int layer,
+ uint32_t drawing_effect = NONE_EFFECT);
+
+ /// Draws text on screen center (feed Vector.x with a 0).
+ /// This is the same as draw_text() with a screen->w/2 position and
+ /// alignment set to LEFT_ALLIGN
+ void draw_center_text(const Font* font, const std::string& text,
+ const Vector& position, int layer,
+ uint32_t drawing_effect = NONE_EFFECT);