Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
IntermediateValues.h
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#ifndef _INTERMEDIATE_VALUES_H
7
#define _INTERMEDIATE_VALUES_H
8
9
#include "
PathCommon.h
"
10
#include "
TerrainBuilder.h
"
11
#include "Recast.h"
12
#include "DetourNavMesh.h"
13
14
namespace
MMAP
15
{
16
// this class gathers all debug info holding and output
17
struct
IntermediateValues
18
{
19
rcHeightfield*
heightfield
;
20
rcCompactHeightfield*
compactHeightfield
;
21
rcContourSet*
contours
;
22
rcPolyMesh*
polyMesh
;
23
rcPolyMeshDetail*
polyMeshDetail
;
24
25
IntermediateValues
() :
heightfield
(NULL),
compactHeightfield
(NULL),
26
contours
(NULL),
polyMesh
(NULL),
polyMeshDetail
(NULL) {}
27
~IntermediateValues
();
28
29
void
writeIV
(
uint32
mapID,
uint32
tileX,
uint32
tileY);
30
31
void
debugWrite
(FILE* file,
const
rcHeightfield* mesh);
32
void
debugWrite
(FILE* file,
const
rcCompactHeightfield* chf);
33
void
debugWrite
(FILE* file,
const
rcContourSet* cs);
34
void
debugWrite
(FILE* file,
const
rcPolyMesh* mesh);
35
void
debugWrite
(FILE* file,
const
rcPolyMeshDetail* mesh);
36
37
void
generateObjFile
(
uint32
mapID,
uint32
tileX,
uint32
tileY,
MeshData
&meshData);
38
};
39
}
40
#endif
uint32
std::uint32_t uint32
Definition
Define.h:77
PathCommon.h
TerrainBuilder.h
MMAP
Definition
MMapFactory.cpp:12
MMAP::IntermediateValues::compactHeightfield
rcCompactHeightfield * compactHeightfield
Definition
IntermediateValues.h:20
MMAP::IntermediateValues::heightfield
rcHeightfield * heightfield
Definition
IntermediateValues.h:19
MMAP::IntermediateValues::contours
rcContourSet * contours
Definition
IntermediateValues.h:21
MMAP::IntermediateValues::polyMeshDetail
rcPolyMeshDetail * polyMeshDetail
Definition
IntermediateValues.h:23
MMAP::IntermediateValues::generateObjFile
void generateObjFile(uint32 mapID, uint32 tileX, uint32 tileY, MeshData &meshData)
Definition
IntermediateValues.cpp:189
MMAP::IntermediateValues::IntermediateValues
IntermediateValues()
Definition
IntermediateValues.h:25
MMAP::IntermediateValues::~IntermediateValues
~IntermediateValues()
Definition
IntermediateValues.cpp:10
MMAP::IntermediateValues::debugWrite
void debugWrite(FILE *file, const rcHeightfield *mesh)
Definition
IntermediateValues.cpp:59
MMAP::IntermediateValues::writeIV
void writeIV(uint32 mapID, uint32 tileX, uint32 tileY)
Definition
IntermediateValues.cpp:19
MMAP::IntermediateValues::polyMesh
rcPolyMesh * polyMesh
Definition
IntermediateValues.h:22
MMAP::MeshData
Definition
TerrainBuilder.h:49
src
tools
mmaps_generator
IntermediateValues.h
Generated on
for Project SkyFire Core by
1.17.0