27 lines
732 B
C++
27 lines
732 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_WORLDGROUNDIMPORT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_WORLDGROUNDIMPORT_H
|
|
|
|
class C3dWorldRes;
|
|
class C3dAttr;
|
|
class GroundGeometry;
|
|
class ResourceMgr;
|
|
class TextureCache;
|
|
class CRenderSystemBase;
|
|
|
|
// Terrain/ground block of world import. The world owns ground;
|
|
// terrain remains borrowed from ResourceMgr. Earlier world/lighting publication
|
|
// and subsequent model/effect import are separate operations.
|
|
bool ImportWorldGround(
|
|
const C3dWorldRes& world,
|
|
ResourceMgr& resources,
|
|
TextureCache& textures,
|
|
CRenderSystemBase* renderSystem,
|
|
C3dAttr*& terrain,
|
|
GroundGeometry*& ground,
|
|
int& nearbyRange,
|
|
const float* lightDirection,
|
|
const float* diffuse,
|
|
const float* ambient
|
|
);
|
|
|
|
#endif
|