gLocationPrototype Class Reference

List of all members.

Public Member Functions

mixed ServerSendSpawn (mixed con)
 sends kNetMessage_SpawnLoc : ii : (loctype_id,new_id)
mixed GetObjectList (mixed filterfun, mixed list)
 adds all objects accepted by the filterfun to list
mixed GetNearestObject (mixed ownbody, mixed filterfun)
mixed MapRayPick (mixed rx, mixed ry, mixed rz, mixed rvx, mixed rvy, mixed rvz, mixed fun)


Detailed Description

Definition at line 385 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed gLocationPrototype::ServerSendSpawn ( mixed  con  )  [inline]

sends kNetMessage_SpawnLoc : ii : (loctype_id,new_id)

Definition at line 388 of file lua_pseudo_code.cpp.

mixed gLocationPrototype::GetObjectList ( mixed  filterfun,
mixed  list 
) [inline]

adds all objects accepted by the filterfun to list

Definition at line 391 of file lua_pseudo_code.cpp.

mixed gLocationPrototype::GetNearestObject ( mixed  ownbody,
mixed  filterfun 
) [inline]

Definition at line 393 of file lua_pseudo_code.cpp.

mixed gLocationPrototype::MapRayPick ( mixed  rx,
mixed  ry,
mixed  rz,
mixed  rvx,
mixed  rvy,
mixed  rvz,
mixed  fun 
) [inline]

calls fun(obj,hitdist) for all childs that were hit by the ray, dist is relative to raylen TODO : location-local coordinate system ? or just change ray

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