summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics.c b/graphics.c
index 4282e5c..5874116 100644
--- a/graphics.c
+++ b/graphics.c
@@ -3,8 +3,14 @@
#include "powder.h"
#include "graphics.h"
#include "font.h"
+#include "utils.h"
+#include <math.h>
#include <SDL/SDL.h>
+unsigned cmode = 3;
+SDL_Surface *sdl_scrn;
+int sdl_scale = 1;
+
pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f)
{
int i,j,x,y,w,h,r,g,b,c;