diff --git a/src/render.c b/src/render.c
index 254b87eb6b8e4f907778af90bcd372781adfc4bb..b0f2485ac1a3d4b07c15b309d8109e64164b2ebd 100644 (file)
--- a/src/render.c
+++ b/src/render.c
#include "memory.h"
#include "files.h"
#include "error.h"
+#include "game.h"
+#include "sound.h"
+#include "music.h"
// game
static vgaimg *scrnh[3]; // TITLEPIC INTERPIC ENDPIC
};
// walls
#define ANIT 5
+static int WD, HT;
+static int w_o, w_x, w_y;
static vgaimg *walp[256];
static int walh[256];
static byte walani[256];
static int max_textures;
static vgaimg *horiz;
-extern byte bright[256]; // vga.c
-extern byte mixmap[256][256]; // vga.c
-extern byte clrmap[256*12]; // vga.c
-
-extern int g_trans; // game.c
-extern byte transdraw; // game.c
-extern int sky_type; // view.c
-extern int lt_time, lt_type, lt_side, lt_ypos, lt_force; // game.c
-
-extern byte savname[7][24]; // files.c
-extern char g_music[8]; // game.c
-extern short snd_vol; // sound.c
-extern short mus_vol; // music.c
-
/* --- misc --- */
static void *Z_getspr (char n[4], int s, int d, char *dir) {
}
R_setgamma(gammaa);
V_setrect(0, SCRW, 0, SCRH);
- V_setscr(scrbuf);
+// V_setscr(scrbuf);
V_clr(0, SCRW, 0, SCRH, 0);
R_alloc();
}