summaryrefslogtreecommitdiff
path: root/src/include/graphic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/graphic.h')
-rw-r--r--src/include/graphic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/graphic.h b/src/include/graphic.h
index 2e40301..32046aa 100644
--- a/src/include/graphic.h
+++ b/src/include/graphic.h
@@ -6,6 +6,9 @@
#include "data_ress.h"
#include "data_localgame.h"
+#define SCREEN_BPP 32
+#define MY_SDLSURFACE_OPTS SDL_HWSURFACE|SDL_HWACCEL|SDL_SRCCOLORKEY|SDL_ASYNCBLIT|SDL_RLEACCEL
+
Uint32 getPixel(SDL_Surface *s, int x, int y);
Uint32 getPixel8BitPalette(SDL_Surface *s, int x, int y);
int isTransparent(SDL_Surface *s, int x, int y);