walking3 Class Reference

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

List of all members.

Static Public Member Functions

static mixed GetNearestGroundLevel (mixed xloc, mixed yloc, mixed iStartZ, mixed iDir, mixed bIgnoreDoors)
 returns newZ or nil if (bMoveIsOk=bClientSidePassable)
static mixed W3_ItemIsMovable (mixed item)
 old : Movable runuo:ImplFlag.Movable , probably true for dynamic, false for static (door? probably for ghosts)
static mixed W3_ForAllMultiPartsAtPos (mixed xloc, mixed yloc, mixed fun, mixed param)
static mixed W3_ForAllItemsAtPos (mixed xloc, mixed yloc, mixed fun, mixed param)
 considers statics, dynamics and multis
static mixed W3_GetAverageZ (mixed xloc, mixed yloc)
 returns min,avg,max of 4 vertices
static mixed W3_CheckMobileOnPosition (mixed xloc, mixed yloc, mixed zloc)
static mixed W3_MobileBlockCheckNeeded (mixed mobile)
static mixed W3_CheckMovement (mixed mobile, mixed posx, mixed posy, mixed posz, mixed d)
static mixed W3_IsOK_Fun (mixed item, mixed param)
static mixed W3_IsDoor (mixed flags, mixed iTileTypeID)
static mixed W3_IsOK (mixed ignoreDoors, mixed ourZ, mixed ourTop, mixed x, mixed y, mixed items)
 ~ private bool IsOk( bool ignoreDoors, int ourZ, int ourTop, Tile[] tiles, ArrayList items )
static mixed W3_Check_Fun (mixed item, mixed param)
static mixed W3_Check (mixed mobile, mixed items, mixed x, mixed y, mixed startTop, mixed startZ, mixed canSwim, mixed cantWalk)
static mixed W3_GetStartZ_Fun (mixed item, mixed param)
static mixed W3_GetStartZ (mixed mobile, mixed posx, mixed posy, mixed posz, mixed itemList)


Detailed Description

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

Definition at line 3043 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed walking3::GetNearestGroundLevel ( mixed  xloc,
mixed  yloc,
mixed  iStartZ,
mixed  iDir,
mixed  bIgnoreDoors 
) [inline, static]

returns newZ or nil if (bMoveIsOk=bClientSidePassable)

Definition at line 3046 of file lua_pseudo_code.cpp.

static mixed walking3::W3_ItemIsMovable ( mixed  item  )  [inline, static]

old : Movable runuo:ImplFlag.Movable , probably true for dynamic, false for static (door? probably for ghosts)

Definition at line 3049 of file lua_pseudo_code.cpp.

static mixed walking3::W3_ForAllMultiPartsAtPos ( mixed  xloc,
mixed  yloc,
mixed  fun,
mixed  param 
) [inline, static]

handles clientside and serverside multis (no difference for us, just the way they are loaded) calls fun(item,param) item : used by filterItemFun, expected : (item.artid item.bIsStatic(ghost-doors,set to false/nil), inserts item into table) item : used by W3_Check etc.. probably needs .xloc .yloc .zloc .artid

Definition at line 3055 of file lua_pseudo_code.cpp.

static mixed walking3::W3_ForAllItemsAtPos ( mixed  xloc,
mixed  yloc,
mixed  fun,
mixed  param 
) [inline, static]

considers statics, dynamics and multis

Definition at line 3058 of file lua_pseudo_code.cpp.

static mixed walking3::W3_GetAverageZ ( mixed  xloc,
mixed  yloc 
) [inline, static]

returns min,avg,max of 4 vertices

Definition at line 3061 of file lua_pseudo_code.cpp.

static mixed walking3::W3_CheckMobileOnPosition ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline, static]

Definition at line 3063 of file lua_pseudo_code.cpp.

static mixed walking3::W3_MobileBlockCheckNeeded ( mixed  mobile  )  [inline, static]

Definition at line 3065 of file lua_pseudo_code.cpp.

static mixed walking3::W3_CheckMovement ( mixed  mobile,
mixed  posx,
mixed  posy,
mixed  posz,
mixed  d 
) [inline, static]

bMoveIsOk,newZ = CheckMovement( Mobile mobile, Point3D loc, Direction d, out int newZ ) see also RunUO1.0/Scripts/Engines/Pathing/Movement.cs : CheckMovement and Check and RunUO1.0/src/Mobile.cs

Definition at line 3069 of file lua_pseudo_code.cpp.

static mixed walking3::W3_IsOK_Fun ( mixed  item,
mixed  param 
) [inline, static]

Definition at line 3071 of file lua_pseudo_code.cpp.

static mixed walking3::W3_IsDoor ( mixed  flags,
mixed  iTileTypeID 
) [inline, static]

Definition at line 3073 of file lua_pseudo_code.cpp.

static mixed walking3::W3_IsOK ( mixed  ignoreDoors,
mixed  ourZ,
mixed  ourTop,
mixed  x,
mixed  y,
mixed  items 
) [inline, static]

~ private bool IsOk( bool ignoreDoors, int ourZ, int ourTop, Tile[] tiles, ArrayList items )

Definition at line 3076 of file lua_pseudo_code.cpp.

static mixed walking3::W3_Check_Fun ( mixed  item,
mixed  param 
) [inline, static]

Definition at line 3078 of file lua_pseudo_code.cpp.

static mixed walking3::W3_Check ( mixed  mobile,
mixed  items,
mixed  x,
mixed  y,
mixed  startTop,
mixed  startZ,
mixed  canSwim,
mixed  cantWalk 
) [inline, static]

~ private bool Check( Map map, Mobile mobile, ArrayList items, int x, int y, int startTop, int startZ, bool canSwim, bool cantWalk, out int newZ ) returns moveIsOk,newZ

Definition at line 3082 of file lua_pseudo_code.cpp.

static mixed walking3::W3_GetStartZ_Fun ( mixed  item,
mixed  param 
) [inline, static]

Definition at line 3084 of file lua_pseudo_code.cpp.

static mixed walking3::W3_GetStartZ ( mixed  mobile,
mixed  posx,
mixed  posy,
mixed  posz,
mixed  itemList 
) [inline, static]

~ private void GetStartZ( Mobile mobile, Map map, Point3D loc, ArrayList itemList, out int zLow, out int zTop ) returns zLow,zTop

Definition at line 3088 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