diff options
author | 2025-05-22 11:50:36 +0200 | |
---|---|---|
committer | 2025-05-22 11:50:36 +0200 | |
commit | 47ab4de4487037b06b41744713f6a5012e119f46 (patch) | |
tree | b78b6f090f5ab68b58da8e3872415d0db2f308c8 /src/main/engine/engine.h | |
parent | 0a847cc16afb59b0b9f9f36bfffa43b912536e8a (diff) | |
download | tris-47ab4de4487037b06b41744713f6a5012e119f46.tar.gz tris-47ab4de4487037b06b41744713f6a5012e119f46.zip |
Change color of the background on winning
Diffstat (limited to 'src/main/engine/engine.h')
-rw-r--r-- | src/main/engine/engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/engine/engine.h b/src/main/engine/engine.h index d6fe1d1..f77fc4e 100644 --- a/src/main/engine/engine.h +++ b/src/main/engine/engine.h @@ -33,9 +33,11 @@ typedef struct { list_t *circles; void (*draw_frame)(); float ortho_left, ortho_right, ortho_top, ortho_bottom; + Color *rendering_background; } Engine;; Engine *engine_new(int width, int height); +void engine_set_rendering_background(Engine *engine, float r, float g, float b, float a); void engine_draw_circle(float cx, float cy, float r, int num_segments, int outline); void engine_draw_line(float x1, float y1, float x2, float y2); void engine_loop(void); |