Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/range.h File Reference

#include "globals.h"
#include "basics.h"

Go to the source code of this file.

Defines

#define VERY_VERY_FAR   50000;

Functions

R64 dist (Location a, Location b, LOGICAL countZ=(bool)((int) server_data.disable_z_checking==(int) 0))
R64 dist (UI32 xa, UI32 ya, SI08 za, UI32 xb, UI32 yb, SI08 zb, LOGICAL countZ=(bool)((int) server_data.disable_z_checking==(int) 0))
LOGICAL inRange (Location a, Location b, UI32 range)
 Returns distance between two points.

LOGICAL inVisRange (Location a, Location b)
LOGICAL char_inVisRange (P_CHAR a, P_CHAR b)
LOGICAL item_inVisRange (P_CHAR a, P_ITEM b)
LOGICAL inBuildRange (Location a, Location b)
LOGICAL char_inBuildRange (P_CHAR a, P_CHAR b)
LOGICAL item_inBuildRange (P_CHAR a, P_ITEM b)
LOGICAL char_inRange (P_CHAR a, P_CHAR b, UI32 range)
LOGICAL item_inRange (P_CHAR a, P_ITEM b, UI32 range)
UI32 item_dist (P_CHAR a, P_ITEM b)
LOGICAL inbankrange (int i)


Define Documentation

#define VERY_VERY_FAR   50000;
 


Function Documentation

LOGICAL char_inBuildRange P_CHAR    a,
P_CHAR    b
 

LOGICAL char_inRange P_CHAR    a,
P_CHAR    b,
UI32    range
 

LOGICAL char_inVisRange P_CHAR    a,
P_CHAR    b
 

R64 dist UI32    xa,
UI32    ya,
SI08    za,
UI32    xb,
UI32    yb,
SI08    zb,
LOGICAL    countZ = (bool) ((int) server_data.disable_z_checking == (int) 0)
[inline]
 

R64 dist Location    a,
Location    b,
LOGICAL    countZ = (bool) ((int) server_data.disable_z_checking == (int) 0)
[inline]
 

LOGICAL inbankrange int    i
 

LOGICAL inBuildRange Location    a,
Location    b
 

LOGICAL inRange Location    a,
Location    b,
UI32    range
 

Returns distance between two points.

Author:
Luxor

LOGICAL inVisRange Location    a,
Location    b
 

UI32 item_dist P_CHAR    a,
P_ITEM    b
 

LOGICAL item_inBuildRange P_CHAR    a,
P_ITEM    b
 

LOGICAL item_inRange P_CHAR    a,
P_ITEM    b,
UI32    range
 

LOGICAL item_inVisRange P_CHAR    a,
P_ITEM    b
 

SourceForge.net Logo