ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/define.h
(Generate patch)

Comparing deliantra/server/include/define.h (file contents):
Revision 1.91 by root, Thu Dec 4 01:07:35 2008 UTC vs.
Revision 1.93 by root, Fri Dec 19 22:47:29 2008 UTC

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;
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
609 615
610#define F_BUY 0 616#define F_BUY 0
611#define F_SELL 1 617#define F_SELL 1
612#define F_TRUE 2 /* True value of item, unadjusted */ 618#define F_TRUE 2 /* True value of item, unadjusted */
613#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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines