This commit is contained in:
Philip
2010-10-28 19:18:06 -04:00
parent e4f9f77de9
commit bff5961d60
9 changed files with 1333 additions and 472 deletions

View File

@@ -23,7 +23,7 @@
#define HTTP_TIMEOUT 10
#define MENUSIZE 40
#define BARSIZE 14
#define BARSIZE 17
#define XRES 612
#define YRES 384
#define NPART XRES*YRES
@@ -62,6 +62,18 @@ typedef unsigned short pixel;
typedef unsigned int pixel;
#endif
#define SURF_RANGE 10
#define NORMAL_MIN_EST 3
#define NORMAL_INTERP 20
#define NORMAL_FRAC 16
#define REFRACT 0x80000000
/* heavy flint glass, for awesome refraction/dispersion
this way you can make roof prisms easily */
#define GLASS_IOR 1.9
#define GLASS_DISP 0.07
typedef unsigned char uint8;
extern int amd;
@@ -115,4 +127,4 @@ void *build_save(int *size, int x0, int y0, int w, int h);
int parse_save(void *save, int size, int replace, int x0, int y0);
void del_stamp(int d);
void sdl_seticon(void);
#endif
#endif