gTileFreeWalk Class Reference

List of all members.

Public Member Functions

mixed GroundCacheGetHeightForInterpolation (mixed xloc, mixed yloc)
 ##### ##### ##### ##### ##### groundcache
mixed CollideWithWallMid (mixed x, mixed y)
 ##### ##### ##### ##### ##### collision
mixed CollideWithWallEdge (mixed x, mixed y)
mixed UpdateGroundCache (mixed xloc, mixed yloc, mixed zloc)
mixed IvalidateCacheAround (mixed xloc, mixed yloc, mixed radius)
 triggers a rescan of the collision information around the given location
mixed ScanGroundIfNeeded (mixed xloc, mixed yloc, mixed zloc, mixed rx, mixed ry, mixed rz)
 scans the ground if clientpos entered a new tile, calculates walls
mixed GetClientSideSpeed (mixed dx, mixed dy, mixed dz)
mixed NotifyPlayerMobileTeleport (mixed mobile)
 ##### ##### ##### ##### ##### implementation (currently uo specific, will later be inserted from extern)
mixed NotifyPlayerMobileUpdate (mixed mobile)
mixed Impl_SetLastRequestedUOPos (mixed xloc, mixed yloc, mixed zloc)
mixed Impl_SetLastConfirmedUOPos (mixed xloc, mixed yloc, mixed zloc)
mixed SetPosFromPacketVideo (mixed xloc, mixed yloc, mixed zloc, mixed fulldir)
mixed Impl_SetToPlayerPos (mixed mobile)
mixed UOPosToLocal (mixed xloc, mixed yloc, mixed zloc)
mixed LocalToUOPos (mixed x, mixed y, mixed z)
mixed Impl_WalkRequestStep (mixed bRunRequested)
mixed StuckFix (mixed lx, mixed ly, mixed lz)
mixed SetViewDir (mixed dx, mixed dy)
mixed Impl_StepPlayer (mixed fRequestedSpeed, mixed bRunRequested)
 fRequestedSpeed is the speed requested by the mousepos/keyboard, might not be reached, e.g. when walking against a wall
mixed PathPoint_ReachPos (mixed x, mixed y, mixed z)
mixed PathPoint_GetNth (mixed n)
 n=1 for first = next
mixed PathPoint_Has (mixed n)
mixed PathPoint_RemoveNth (mixed n)
mixed PathPoint_Push (mixed x, mixed y, mixed z)
mixed PathPoint_IsStairPoint (mixed x1, mixed y1, mixed x2, mixed y2, mixed x3, mixed y3)
 checks if p1 p2 p3 build a stair
mixed RoundPos (mixed x, mixed y, mixed z)
mixed SetPos_ClientSide (mixed x, mixed y, mixed z)
mixed SetPos_LastConfirmed (mixed x, mixed y, mixed z)
mixed SetPos_LastRequested (mixed x, mixed y, mixed z)
mixed SetPos_All (mixed xloc, mixed yloc, mixed zloc)
 used for teleport and init
mixed DebugMarkerGroup_Clear (mixed groupname)
mixed DebugMarkerGroup_AddGfx (mixed groupname, mixed gfx)
mixed DebugMarkerGroup_AddSphere (mixed groupname, mixed x, mixed y, mixed z, mixed fRad, mixed r, mixed g, mixed b)
mixed DebugMarkerGroup_AddCylinder (mixed groupname, mixed x, mixed y, mixed z, mixed fRad, mixed fHeight, mixed r, mixed g, mixed b)
mixed DebugMarkerGroup_AddWall (mixed groupname, mixed x1, mixed y1, mixed z1, mixed x2, mixed y2, mixed z2, mixed h, mixed r, mixed g, mixed b)
 up=+z
mixed DelDebugMarker (mixed markername)
mixed SetDebugMarker (mixed markername, mixed x, mixed y, mixed z, mixed dx, mixed dy, mixed dz, mixed r, mixed g, mixed b)
mixed UpdateDebugMarker (mixed mymarker, mixed matname)


Detailed Description

Definition at line 1601 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed gTileFreeWalk::GroundCacheGetHeightForInterpolation ( mixed  xloc,
mixed  yloc 
) [inline]

##### ##### ##### ##### ##### groundcache

Definition at line 1604 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::CollideWithWallMid ( mixed  x,
mixed  y 
) [inline]

##### ##### ##### ##### ##### collision

Definition at line 1607 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::CollideWithWallEdge ( mixed  x,
mixed  y 
) [inline]

Definition at line 1609 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::UpdateGroundCache ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

Definition at line 1611 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::IvalidateCacheAround ( mixed  xloc,
mixed  yloc,
mixed  radius 
) [inline]

triggers a rescan of the collision information around the given location

Definition at line 1614 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::ScanGroundIfNeeded ( mixed  xloc,
mixed  yloc,
mixed  zloc,
mixed  rx,
mixed  ry,
mixed  rz 
) [inline]

scans the ground if clientpos entered a new tile, calculates walls

Definition at line 1617 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::GetClientSideSpeed ( mixed  dx,
mixed  dy,
mixed  dz 
) [inline]

returns the movement speed, dx,dy,dz is the direction of the movement the speed is dependant on the distance of the current pos to the last confirmed pos and on the direction of the movement

Definition at line 1622 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::NotifyPlayerMobileTeleport ( mixed  mobile  )  [inline]

##### ##### ##### ##### ##### implementation (currently uo specific, will later be inserted from extern)

Definition at line 1625 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::NotifyPlayerMobileUpdate ( mixed  mobile  )  [inline]

Definition at line 1627 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::Impl_SetLastRequestedUOPos ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

Definition at line 1629 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::Impl_SetLastConfirmedUOPos ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

Definition at line 1631 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetPosFromPacketVideo ( mixed  xloc,
mixed  yloc,
mixed  zloc,
mixed  fulldir 
) [inline]

Definition at line 1633 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::Impl_SetToPlayerPos ( mixed  mobile  )  [inline]

Definition at line 1635 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::UOPosToLocal ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

Definition at line 1637 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::LocalToUOPos ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1639 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::Impl_WalkRequestStep ( mixed  bRunRequested  )  [inline]

Definition at line 1641 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::StuckFix ( mixed  lx,
mixed  ly,
mixed  lz 
) [inline]

Definition at line 1643 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetViewDir ( mixed  dx,
mixed  dy 
) [inline]

Definition at line 1645 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::Impl_StepPlayer ( mixed  fRequestedSpeed,
mixed  bRunRequested 
) [inline]

fRequestedSpeed is the speed requested by the mousepos/keyboard, might not be reached, e.g. when walking against a wall

Definition at line 1648 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_ReachPos ( mixed  x,
mixed  y,
mixed  z 
) [inline]

##### ##### ##### ##### ##### pathpoints the system remembers which path was walked clientside, and approximates it for sending to the walk requests note : pathpoints can be impassable, happens during diagonal walk, don't send walk requests to those mark position as "reached", consuming neighboring pathpoints

Definition at line 1654 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_GetNth ( mixed  n  )  [inline]

n=1 for first = next

Definition at line 1657 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_Has ( mixed  n  )  [inline]

Definition at line 1659 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_RemoveNth ( mixed  n  )  [inline]

Definition at line 1661 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_Push ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1663 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::PathPoint_IsStairPoint ( mixed  x1,
mixed  y1,
mixed  x2,
mixed  y2,
mixed  x3,
mixed  y3 
) [inline]

checks if p1 p2 p3 build a stair

Definition at line 1666 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::RoundPos ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1668 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetPos_ClientSide ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1670 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetPos_LastConfirmed ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1672 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetPos_LastRequested ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 1674 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetPos_All ( mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

used for teleport and init

Definition at line 1677 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DebugMarkerGroup_Clear ( mixed  groupname  )  [inline]

Definition at line 1679 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DebugMarkerGroup_AddGfx ( mixed  groupname,
mixed  gfx 
) [inline]

Definition at line 1681 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DebugMarkerGroup_AddSphere ( mixed  groupname,
mixed  x,
mixed  y,
mixed  z,
mixed  fRad,
mixed  r,
mixed  g,
mixed  b 
) [inline]

Definition at line 1683 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DebugMarkerGroup_AddCylinder ( mixed  groupname,
mixed  x,
mixed  y,
mixed  z,
mixed  fRad,
mixed  fHeight,
mixed  r,
mixed  g,
mixed  b 
) [inline]

Definition at line 1685 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DebugMarkerGroup_AddWall ( mixed  groupname,
mixed  x1,
mixed  y1,
mixed  z1,
mixed  x2,
mixed  y2,
mixed  z2,
mixed  h,
mixed  r,
mixed  g,
mixed  b 
) [inline]

up=+z

Definition at line 1688 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::DelDebugMarker ( mixed  markername  )  [inline]

Definition at line 1690 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::SetDebugMarker ( mixed  markername,
mixed  x,
mixed  y,
mixed  z,
mixed  dx,
mixed  dy,
mixed  dz,
mixed  r,
mixed  g,
mixed  b 
) [inline]

Definition at line 1692 of file lua_pseudo_code.cpp.

mixed gTileFreeWalk::UpdateDebugMarker ( mixed  mymarker,
mixed  matname 
) [inline]

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