From fb5a98b72ab79949d1da7f75a3d6150c2906ef40 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Mon, 30 Aug 2021 14:48:06 +0200 Subject: gui: tech representation, menu, tile & unit info, attack info --- graphics/graphics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics/graphics.h') diff --git a/graphics/graphics.h b/graphics/graphics.h index dd7e51a..af8630a 100644 --- a/graphics/graphics.h +++ b/graphics/graphics.h @@ -19,6 +19,7 @@ class Graphics_sdl_text { Graphics_sdl_text(); int get_width (std::string str); void render_text (std::string str, vec2 off); + void render_text (std::string str, vec2 off, int r, int g, int b); SDL_Renderer* gRenderer; SDL_Texture *tex; int char_width[128]; -- cgit v1.2.3-54-g00ecf