compass Class Reference

file : ../lua/lib.compass.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed ParseUOAutomapFile (mixed file, mixed markers)
 opens the given file and parses uo automap stuff
static mixed LoadUOAutomapFiles (mixed directory, mixed markers)
 loads all files in a directory and tries to parse uo automap stuff
static mixed MarkCurrentPosition (mixed name)
static mixed SetPositionMarker (mixed mapindex, mixed name, mixed xloc, mixed yloc, mixed r, mixed g, mixed b, mixed a)
static mixed DeletePositionMarker (mixed mapindex, mixed name)
static mixed GenerateDetailMultiImage (mixed minx, mixed miny, mixed maxx, mixed maxy)
 creates detailed multi image of given area in uoloc
static mixed UpdateDetailMapCacheIfNeeded (mixed xloc, mixed yloc)
 param : compass-center-pos (player or cam)
static mixed SetCompassMapIndex (mixed iMapIndex)
static mixed ZoomCompass (mixed factor)
static mixed GetRelativeCompasUOPositionInPx (mixed xloc, mixed yloc)
 returns the relative position in px (from the compass center) of a given uo location in tiles


Detailed Description

file : ../lua/lib.compass.lua (this is just a pseudo class used for grouping global functions)

Definition at line 1977 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed compass::ParseUOAutomapFile ( mixed  file,
mixed  markers 
) [inline, static]

opens the given file and parses uo automap stuff

Definition at line 1980 of file lua_pseudo_code.cpp.

static mixed compass::LoadUOAutomapFiles ( mixed  directory,
mixed  markers 
) [inline, static]

loads all files in a directory and tries to parse uo automap stuff

Definition at line 1983 of file lua_pseudo_code.cpp.

static mixed compass::MarkCurrentPosition ( mixed  name  )  [inline, static]

Definition at line 1985 of file lua_pseudo_code.cpp.

static mixed compass::SetPositionMarker ( mixed  mapindex,
mixed  name,
mixed  xloc,
mixed  yloc,
mixed  r,
mixed  g,
mixed  b,
mixed  a 
) [inline, static]

Definition at line 1987 of file lua_pseudo_code.cpp.

static mixed compass::DeletePositionMarker ( mixed  mapindex,
mixed  name 
) [inline, static]

Definition at line 1989 of file lua_pseudo_code.cpp.

static mixed compass::GenerateDetailMultiImage ( mixed  minx,
mixed  miny,
mixed  maxx,
mixed  maxy 
) [inline, static]

creates detailed multi image of given area in uoloc

Definition at line 1992 of file lua_pseudo_code.cpp.

static mixed compass::UpdateDetailMapCacheIfNeeded ( mixed  xloc,
mixed  yloc 
) [inline, static]

param : compass-center-pos (player or cam)

Definition at line 1995 of file lua_pseudo_code.cpp.

static mixed compass::SetCompassMapIndex ( mixed  iMapIndex  )  [inline, static]

Definition at line 1997 of file lua_pseudo_code.cpp.

static mixed compass::ZoomCompass ( mixed  factor  )  [inline, static]

factor > 1 increases sight radius zoom map in compass, called from lib.input.lua on keypress (,.)

Definition at line 2001 of file lua_pseudo_code.cpp.

static mixed compass::GetRelativeCompasUOPositionInPx ( mixed  xloc,
mixed  yloc 
) [inline, static]

returns the relative position in px (from the compass center) of a given uo location in tiles

Definition at line 2004 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6