void the_end(CVideo &video, std::string text, unsigned int duration)
Displays a simple fading screen with any user-provided text.
static UNUSEDNOWARN std::string _(const char *str)
SDL_Rect draw_text(surface &dst, const SDL_Rect &area, int size, const SDL_Color &color, const std::string &txt, int x, int y, bool use_tooltips, int style)
Function to draw text on a surface.