… | |
… | |
597 | #define EXIT_Y(xyz) (xyz)->stats.sp |
597 | #define EXIT_Y(xyz) (xyz)->stats.sp |
598 | #define EXIT_ALT_X(xyz) (xyz)->stats.maxhp |
598 | #define EXIT_ALT_X(xyz) (xyz)->stats.maxhp |
599 | #define EXIT_ALT_Y(xyz) (xyz)->stats.maxsp |
599 | #define EXIT_ALT_Y(xyz) (xyz)->stats.maxsp |
600 | |
600 | |
601 | /* for use by the lighting code */ |
601 | /* for use by the lighting code */ |
602 | #define MAX_LIGHT_RADII 4 /* max radii for 'light' object, really |
602 | #define MAX_LIGHT_RADIUS 9 /* max radius for 'light' object, really |
603 | * large values allow objects that can |
603 | * large values allow objects that can |
604 | * slow down the game */ |
604 | * slow down the game */ |
605 | #define MAX_DARKNESS 5 /* maximum map darkness, there is no |
605 | #define MAX_DARKNESS 5 /* maximum map darkness, there is no |
606 | * practical reason to exceed this */ |
606 | * practical reason to exceed this */ |
607 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |
607 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |