moved defines

This commit is contained in:
Felix Wallin 2010-10-16 23:35:33 +02:00
parent d192483764
commit c4368bf8af
2 changed files with 12 additions and 11 deletions

View File

@ -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;

View File

@ -188,17 +188,6 @@ int try_move(int i, int x, int y, int nx, int ny)
return 1;
}
#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
static unsigned direction_to_map(float dx, float dy)
{