… | |
… | |
602 | #define MAX_LIGHT_RADIUS 9 /* max radius 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 LOS_MAX 4 /* max. los value for non-blocked spaces */ |
|
|
608 | #define LOS_BLOCKED 100 /* fully blocked spaces */ |
607 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |
609 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |
608 | MAX_LIGHT_RADII:(xyz)->glow_radius; |
610 | MAX_LIGHT_RADII:(xyz)->glow_radius; |
609 | |
611 | |
610 | #define F_BUY 0 |
612 | #define F_BUY 0 |
611 | #define F_SELL 1 |
613 | #define F_SELL 1 |