From 9eee43d3bb24000077602a62dfdfeee2606f1589 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 24 Feb 2022 17:55:57 +0100 Subject: Add support for keyboard and mouse --- src/gfx/sdl-1.2/inc/gfx/port.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gfx') diff --git a/src/gfx/sdl-1.2/inc/gfx/port.h b/src/gfx/sdl-1.2/inc/gfx/port.h index 3dbc23b..add8b8c 100644 --- a/src/gfx/sdl-1.2/inc/gfx/port.h +++ b/src/gfx/sdl-1.2/inc/gfx/port.h @@ -2,6 +2,7 @@ #define GFX_SDL_H #include +#include #ifdef __cplusplus extern "C" @@ -13,6 +14,7 @@ struct sprite SDL_Surface *s; short x, y, w, h; unsigned char u, v; + bool transparent; }; struct quad @@ -22,6 +24,7 @@ struct quad short y0, y1, y2, y3; unsigned char u0, u1, u2, u3; unsigned char v0, v1, v2, v3; + bool transparent; SDL_Surface *s; }; @@ -29,6 +32,7 @@ struct rect { unsigned char r, g, b; short x, y, w, h; + bool stp; }; struct stp_4line -- cgit v1.2.3