uoutils Class Reference

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

List of all members.

Static Public Member Functions

static mixed CreateSimpleXMLRegistry (mixed filename, mixed bAbsolutePath)
 filename is relative to config dir by default, set bAbsolutePath=true otherwise
static mixed TileOffsetToPixelOffset (mixed tx, mixed ty)
static mixed PixelOffsetToTileOffset (mixed px, mixed py)
static mixed ApplyDir (mixed dir, mixed posx, mixed posy)
static mixed Dir2Quaternion (mixed dir)
static mixed DirWrap (mixed iDir)
static mixed DirFromPlayerToObject (mixed o)
static mixed DirFromObjectToObject (mixed a, mixed b)
static mixed DirFromLocalDxDy (mixed dx, mixed dy)
static mixed DirFromUODxDy (mixed dx, mixed dy)
static mixed GetDirXLocal (mixed dir)
 interpret dircode in ogre coordinate system
static mixed GetDirYLocal (mixed dir)
static mixed DirIsDiagonal (mixed dir)
 interpret dircode in uo coordinate system uneven numbers (1,3,5,7) are diagonal
static mixed GetDirX (mixed dir)
static mixed GetHueColor (mixed hue)
static mixed GetDirY (mixed dir)
static mixed GetItemTooltipOrLabel (mixed serial)
static mixed ClearToolTipAndLabelCache (mixed serial)
static mixed UnicodeFix (mixed text)
 hack to replace german umlauts by two letters (ae)
static mixed UniCodeDualPop (mixed fifo, mixed number_of_unicode_chars)
static mixed UOShortenName (mixed text)


Detailed Description

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

Definition at line 1020 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed uoutils::CreateSimpleXMLRegistry ( mixed  filename,
mixed  bAbsolutePath 
) [inline, static]

filename is relative to config dir by default, set bAbsolutePath=true otherwise

Definition at line 1023 of file lua_pseudo_code.cpp.

static mixed uoutils::TileOffsetToPixelOffset ( mixed  tx,
mixed  ty 
) [inline, static]

Definition at line 1025 of file lua_pseudo_code.cpp.

static mixed uoutils::PixelOffsetToTileOffset ( mixed  px,
mixed  py 
) [inline, static]

Definition at line 1027 of file lua_pseudo_code.cpp.

static mixed uoutils::ApplyDir ( mixed  dir,
mixed  posx,
mixed  posy 
) [inline, static]

Definition at line 1029 of file lua_pseudo_code.cpp.

static mixed uoutils::Dir2Quaternion ( mixed  dir  )  [inline, static]

Definition at line 1031 of file lua_pseudo_code.cpp.

static mixed uoutils::DirWrap ( mixed  iDir  )  [inline, static]

Definition at line 1033 of file lua_pseudo_code.cpp.

static mixed uoutils::DirFromPlayerToObject ( mixed  o  )  [inline, static]

Definition at line 1035 of file lua_pseudo_code.cpp.

static mixed uoutils::DirFromObjectToObject ( mixed  a,
mixed  b 
) [inline, static]

Definition at line 1037 of file lua_pseudo_code.cpp.

static mixed uoutils::DirFromLocalDxDy ( mixed  dx,
mixed  dy 
) [inline, static]

Definition at line 1039 of file lua_pseudo_code.cpp.

static mixed uoutils::DirFromUODxDy ( mixed  dx,
mixed  dy 
) [inline, static]

Definition at line 1041 of file lua_pseudo_code.cpp.

static mixed uoutils::GetDirXLocal ( mixed  dir  )  [inline, static]

interpret dircode in ogre coordinate system

Definition at line 1044 of file lua_pseudo_code.cpp.

static mixed uoutils::GetDirYLocal ( mixed  dir  )  [inline, static]

Definition at line 1046 of file lua_pseudo_code.cpp.

static mixed uoutils::DirIsDiagonal ( mixed  dir  )  [inline, static]

interpret dircode in uo coordinate system uneven numbers (1,3,5,7) are diagonal

Definition at line 1049 of file lua_pseudo_code.cpp.

static mixed uoutils::GetDirX ( mixed  dir  )  [inline, static]

Definition at line 1051 of file lua_pseudo_code.cpp.

static mixed uoutils::GetHueColor ( mixed  hue  )  [inline, static]

use this instead of Uo16Color2Rgb returns r,g,b,a

Definition at line 1055 of file lua_pseudo_code.cpp.

static mixed uoutils::GetDirY ( mixed  dir  )  [inline, static]

Definition at line 1057 of file lua_pseudo_code.cpp.

static mixed uoutils::GetItemTooltipOrLabel ( mixed  serial  )  [inline, static]

Definition at line 1059 of file lua_pseudo_code.cpp.

static mixed uoutils::ClearToolTipAndLabelCache ( mixed  serial  )  [inline, static]

Definition at line 1061 of file lua_pseudo_code.cpp.

static mixed uoutils::UnicodeFix ( mixed  text  )  [inline, static]

hack to replace german umlauts by two letters (ae)

Definition at line 1064 of file lua_pseudo_code.cpp.

static mixed uoutils::UniCodeDualPop ( mixed  fifo,
mixed  number_of_unicode_chars 
) [inline, static]

Definition at line 1066 of file lua_pseudo_code.cpp.

static mixed uoutils::UOShortenName ( mixed  text  )  [inline, static]

Definition at line 1068 of file lua_pseudo_code.cpp.


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

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