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 (...) |
Definition at line 1104 of file lua_pseudo_code.cpp.
| 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] |
| mixed cLocation_L::GetBoundRad | ( | ... | ) | [inline] |
| mixed cLocation_L::SetBoundRad | ( | ... | ) | [inline] |
| mixed cLocation_L::DeleteAllObjects | ( | ... | ) | [inline] |
| 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.
1.5.6