void oapi::GraphicsClient::GetBaseStructures ( OBJHANDLE hBase,
MESHHANDLE ** mesh_bs,
DWORD * nmesh_bs,
MESHHANDLE ** mesh_as,
DWORD * nmesh_as
) const
Returns meshes for generic base objects.
Parameters:
hBase surface base handle
mesh_bs mesh list for objects rendered before shadows (NULL if none)
nmesh_bs list length of mesh_bs list
mesh_as mesh list for objects rendered after shadows (NULL if none)
nmesh_as list length of mesh_as list //
Note:
The lists contain mesh objects as well as generic object primitives
(blocks, tanks, hangars, etc.)
All generic objects are separated into objects rendered before and
after shadows, and compressed into one mesh each, such that all
objects with the same textures are merged into a single group.