Crossfire Server, Trunk
CFWorld Namespace Reference

Functions

def getdiff (loc1, loc2)
 
def getdir (v)
 
def getdist (loc)
 
def loc_from_ob (ob)
 

Variables

int bigmapxsize = 50
 
int bigmapysize = 50
 
 world_len = len(world_prefix) + len('xxx_xxx')
 
string world_prefix = "/world/world_"
 
 world_prefix_len = len(world_prefix)
 
string world_sep = '_'
 

Function Documentation

◆ getdiff()

def CFWorld.getdiff (   loc1,
  loc2 
)

Definition at line 24 of file CFWorld.py.

Referenced by rhyzian_amulet.gettext(), and finding.on_apply().

+ Here is the caller graph for this function:

◆ getdir()

def CFWorld.getdir (   v)

Definition at line 27 of file CFWorld.py.

Referenced by finding.describe_vec(), and rhyzian_amulet.gettext().

+ Here is the caller graph for this function:

◆ getdist()

def CFWorld.getdist (   loc)

Definition at line 36 of file CFWorld.py.

References make_face_from_files.int.

Referenced by finding.describe_vec(), and rhyzian_amulet.gettext().

+ Here is the caller graph for this function:

◆ loc_from_ob()

def CFWorld.loc_from_ob (   ob)

Definition at line 15 of file CFWorld.py.

References make_face_from_files.int, and split().

Referenced by finding.on_apply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ bigmapxsize

int CFWorld.bigmapxsize = 50

Definition at line 11 of file CFWorld.py.

◆ bigmapysize

int CFWorld.bigmapysize = 50

Definition at line 12 of file CFWorld.py.

◆ world_len

CFWorld.world_len = len(world_prefix) + len('xxx_xxx')

Definition at line 9 of file CFWorld.py.

◆ world_prefix

string CFWorld.world_prefix = "/world/world_"

Definition at line 7 of file CFWorld.py.

◆ world_prefix_len

CFWorld.world_prefix_len = len(world_prefix)

Definition at line 8 of file CFWorld.py.

◆ world_sep

string CFWorld.world_sep = '_'

Definition at line 10 of file CFWorld.py.