X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fui.h;h=088fb8288129d6f8f2fb930e08dd0c30cb9b13fa;hp=1ed6c279a45e29465b6e79071df49ff3878a9b27;hb=c790c297ef925b7f2257ad41e2123cf86305822c;hpb=c64bd959ffb4034cb288780f13a351b00fb22ca0 diff --git a/src/ui.h b/src/ui.h index 1ed6c27..088fb82 100644 --- a/src/ui.h +++ b/src/ui.h @@ -1,8 +1,16 @@ #ifndef UI_H_ #define UI_H_ +#include +#include + void set_message_timeout(long timeout); void show_message(const char *fmt, ...); +void show_message(long timeout, const Vec3 &color, const char *fmt, ...); +void show_messagev(long timeout, const Vec3 &color, const char *fmt, va_list ap); + +void print_text(const Vec2 &pos, const Vec3 &color, const char *fmt, ...); +void print_textv(const Vec2 &pos, const Vec3 &color, const char *fmt, va_list ap); void draw_ui();