mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: reverse some fields
This commit is contained in:
parent
bcf994e210
commit
0e54998a36
@ -103,6 +103,9 @@ enum dtTileFlags
|
|||||||
{
|
{
|
||||||
/// The navigation mesh owns the tile memory and is responsible for freeing it.
|
/// The navigation mesh owns the tile memory and is responsible for freeing it.
|
||||||
DT_TILE_FREE_DATA = 0x01,
|
DT_TILE_FREE_DATA = 0x01,
|
||||||
|
|
||||||
|
/// The navigation mesh owns the offmesh connection memory and is responsible for freeing it.
|
||||||
|
DT_OFFMESH_FREE_DATA = 0x02,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Vertex flags returned by dtNavMeshQuery::findStraightPath.
|
/// Vertex flags returned by dtNavMeshQuery::findStraightPath.
|
||||||
@ -326,7 +329,7 @@ struct dtMeshTile
|
|||||||
int dataSize; ///< Size of the tile data.
|
int dataSize; ///< Size of the tile data.
|
||||||
int flags; ///< Tile flags. (See: #dtTileFlags)
|
int flags; ///< Tile flags. (See: #dtTileFlags)
|
||||||
dtMeshTile* next; ///< The next free tile, or the next tile in the spatial grid.
|
dtMeshTile* next; ///< The next free tile, or the next tile in the spatial grid.
|
||||||
void* unused;
|
void* unknownVTableInstance; // See [r5apex_ds + F437D9] for usage
|
||||||
private:
|
private:
|
||||||
dtMeshTile(const dtMeshTile&);
|
dtMeshTile(const dtMeshTile&);
|
||||||
dtMeshTile& operator=(const dtMeshTile&);
|
dtMeshTile& operator=(const dtMeshTile&);
|
||||||
|
@ -206,7 +206,7 @@ dtNavMesh::dtNavMesh() :
|
|||||||
m_orig[2] = 0;
|
m_orig[2] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
dtNavMesh::~dtNavMesh()
|
dtNavMesh::~dtNavMesh() // TODO: see [r5apex_ds + F43720] to re-implement this correctly
|
||||||
{
|
{
|
||||||
for (int i = 0; i < m_maxTiles; ++i)
|
for (int i = 0; i < m_maxTiles; ++i)
|
||||||
{
|
{
|
||||||
@ -1021,7 +1021,7 @@ dtStatus dtNavMesh::addTile(unsigned char* data, int dataSize, int flags,
|
|||||||
tile->data = data;
|
tile->data = data;
|
||||||
tile->dataSize = dataSize;
|
tile->dataSize = dataSize;
|
||||||
tile->flags = flags;
|
tile->flags = flags;
|
||||||
tile->unused = nullptr;
|
tile->unknownVTableInstance = nullptr;
|
||||||
|
|
||||||
connectIntLinks(tile);
|
connectIntLinks(tile);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user