#include <iostream>
#include <fstream>
#include <cmath>
#include <windows.h>
const int res_X = 120;
const int res_Y = 48;
const int fov = 60;
const int mouse_speed = 100;
const double torad = M_PI / 180;
POINT point0;
int config[8];
double dst, t;
char buff[res_X * res_Y];
WORD cbuff[res_X * res_Y];
char grad1[19];
char grade2[19];
double pl[8];
int map[16][16];
int ext;
int hmap[res_X];
int tmap[res_X];
int typemap[res_X];
double lmap[res_X];
int texl[8][32][32];
int texlk[8][32][32];
int texln[8][32][32];
double sintab[3600];
int pal[16][3];
void init()
{
pl[0] = 7.5; pl[1] = 7.5;
for (int i = 0; i < 16; i++)
{
map[i][15] = 1;
map[0][i] = 1;
map[15][i] = 1;
};
map[8][8] = 1;
map[4][4] = 1;
map[4][5] = 1;
map[5][4] = 2;
for (int x = 0; x < 32; x++)
}
To embed this project on your website, copy the following code and paste it into your website's HTML: