aboutsummaryrefslogtreecommitdiff
path: root/src/gfx/sdl-1.2
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx/sdl-1.2')
-rw-r--r--src/gfx/sdl-1.2/inc/gfx/port.h4
1 files changed, 4 insertions, 0 deletions
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 <SDL/SDL.h>
+#include <stdbool.h>
#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