diff --git a/src/view.c b/src/view.c
index 4e1fce7858c3cac07379f56376d3d304062d0fe4..77985e1ce06cc24bac80ac833ab0755e5b195d20 100644 (file)
--- a/src/view.c
+++ b/src/view.c
#include "glob.h"
#include <string.h>
#include <stdlib.h>
#include "glob.h"
#include <string.h>
#include <stdlib.h>
-#include "vga.h"
#include "memory.h"
#include "files.h"
#include "error.h"
#include "memory.h"
#include "files.h"
#include "error.h"
#include "my.h"
#include "render.h"
#include "my.h"
#include "render.h"
-int WD;
-int HT;
-
-extern map_block_t blk;
-
byte w_horiz=ON;
byte w_horiz=ON;
-int w_o,w_x,w_y,sky_type=1;
+int sky_type=1;
dword walf[256];
byte walswp[256];
byte fldb[FLDH][FLDW];
byte fldf[FLDH][FLDW];
byte fld[FLDH][FLDW];
dword walf[256];
byte walswp[256];
byte fldb[FLDH][FLDW];
byte fldf[FLDH][FLDW];
byte fld[FLDH][FLDW];
-extern int lt_time,lt_type,lt_side,lt_ypos;
-extern void *ltn[2][2];
-
void W_savegame (FILE* h) {
char s[8];
int i;
void W_savegame (FILE* h) {
char s[8];
int i;
R_end_load();
}
R_end_load();
}
-void W_init(void) {
+void W_init (void) {
DOT_init();
SMK_init();
FX_init();
DOT_init();
SMK_init();
FX_init();
PL_init();
MN_init();
R_loadsky(1);
PL_init();
MN_init();
R_loadsky(1);
- free_chunks();
}
}
-static void unpack(void *buf, int len, void *obuf) {
+static void unpack (void *buf, int len, void *obuf) {
int i = 0;
int j = 0;
unsigned char *p = buf;
int i = 0;
int j = 0;
unsigned char *p = buf;