… | |
… | |
606 | * practical reason to exceed this */ |
606 | * practical reason to exceed this */ |
607 | #define LOS_MAX 4 /* max. los value for non-blocked spaces */ |
607 | #define LOS_MAX 4 /* max. los value for non-blocked spaces */ |
608 | #define LOS_BLOCKED 100 /* fully blocked spaces */ |
608 | #define LOS_BLOCKED 100 /* fully blocked spaces */ |
609 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |
609 | #define BRIGHTNESS(xyz) (xyz)->glow_radius>MAX_LIGHT_RADII? \ |
610 | MAX_LIGHT_RADII:(xyz)->glow_radius; |
610 | MAX_LIGHT_RADII:(xyz)->glow_radius; |
|
|
611 | // player position in blocked_los code |
|
|
612 | #define LOS_X0 (MAP_CLIENT_X / 2 - 1) |
|
|
613 | #define LOS_Y0 (MAP_CLIENT_Y / 2 - 1) |
|
|
614 | |
611 | |
615 | |
612 | #define F_BUY 0 |
616 | #define F_BUY 0 |
613 | #define F_SELL 1 |
617 | #define F_SELL 1 |
614 | #define F_TRUE 2 /* True value of item, unadjusted */ |
618 | #define F_TRUE 2 /* True value of item, unadjusted */ |
615 | #define F_NO_BARGAIN 4 /* combine with F_BUY or F_SELL to disable bargaining calc */ |
619 | #define F_NO_BARGAIN 4 /* combine with F_BUY or F_SELL to disable bargaining calc */ |