cLocation_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
 object methods exported to lua
mixed GetBoundRad (...)
 for lua : float GetBoundRad ()
mixed SetBoundRad (...)
 for lua : void SetBoundRad (float)
mixed DeleteAllObjects (...)
 for lua : void DeleteAllObjects ()
mixed StepAllObjects (...)
 for lua : void StepAllObjects (iCurTime,fPhysStepTime,bIncResyncCounterLow=false)
mixed SendResyncs (...)
mixed StoreResyncs (...)
mixed IntersectSphere (...)
mixed Intersect2DRect (...)

Static Public Member Functions

static mixed CreateLocation (...)


Detailed Description

Definition at line 1104 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed cLocation_L::CreateLocation (   ...  )  [inline, static]

static methods exported to lua for lua : cLocation* CreateLocation ();

Definition at line 1108 of file lua_pseudo_code.cpp.

mixed cLocation_L::Destroy (   ...  )  [inline]

object methods exported to lua

Definition at line 1111 of file lua_pseudo_code.cpp.

mixed cLocation_L::GetBoundRad (   ...  )  [inline]

for lua : float GetBoundRad ()

Definition at line 1114 of file lua_pseudo_code.cpp.

mixed cLocation_L::SetBoundRad (   ...  )  [inline]

for lua : void SetBoundRad (float)

Definition at line 1117 of file lua_pseudo_code.cpp.

mixed cLocation_L::DeleteAllObjects (   ...  )  [inline]

for lua : void DeleteAllObjects ()

Definition at line 1120 of file lua_pseudo_code.cpp.

mixed cLocation_L::StepAllObjects (   ...  )  [inline]

for lua : void StepAllObjects (iCurTime,fPhysStepTime,bIncResyncCounterLow=false)

Definition at line 1123 of file lua_pseudo_code.cpp.

mixed cLocation_L::SendResyncs (   ...  )  [inline]

iAddr is a light userdata representing the ip address, e.g. from net_L.cpp : cConnection_L::GetRemoteAddress for lua : int SendResyncs (cUDP_SendSocket*,iAddr,iPort,iMinLastChangeTime) returns the number of resyncs sent

Definition at line 1128 of file lua_pseudo_code.cpp.

mixed cLocation_L::StoreResyncs (   ...  )  [inline]

stores resync packets in a fifo for transmissin other than udp, see also SendResyncs for lua : int StoreResyncs (cFIFO*,iMinLastChangeTime) returns the number of resyncs stored

Definition at line 1133 of file lua_pseudo_code.cpp.

mixed cLocation_L::IntersectSphere (   ...  )  [inline]

lists all objects intersecting the given sphere as table with one-based indices earlyoutrad using location GetBoundRad() only works correctly after physstep and before any other movement leave earlyoutrad nil to disable early out check set earlyoutrad = -1 (or < 0) to use location mfBoundingRad for lua : idtable IntersectSphere (x,y,z,rad,earlyoutrad=nil)

Definition at line 1140 of file lua_pseudo_code.cpp.

mixed cLocation_L::Intersect2DRect (   ...  )  [inline]

lists all objects whose projected gfx3d boundrad intersects the given 2d rect as table with one-based indices for lua : idtable Intersect2DRect (x0,y0,x1,y1,maxdist=0) idlist[id] = distance

Definition at line 1145 of file lua_pseudo_code.cpp.


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

Generated on Wed Feb 8 06:00:25 2012 for lua by  doxygen 1.5.6