mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: setup project for using shared sdk code
Allows Recast editor to use shared SDK code.
This commit is contained in:
parent
fa352344f3
commit
d9c6ec7786
20
src/thirdparty/recast/Pch.h
vendored
20
src/thirdparty/recast/Pch.h
vendored
@ -17,9 +17,16 @@
|
||||
#include <fstream>
|
||||
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
// Required for shared SDK code.
|
||||
#include <regex>
|
||||
#include <mutex>
|
||||
|
||||
#include "common/experimental.h"
|
||||
|
||||
#include "thirdparty/fastlz/fastlz.h"
|
||||
@ -47,4 +54,17 @@
|
||||
#include "NavEditor/Include/imgui.h"
|
||||
#include "NavEditor/Include/imguiRenderGL.h"
|
||||
|
||||
// SDK types
|
||||
#include "common/sdkdefs.h"
|
||||
|
||||
typedef uint8_t byte;
|
||||
typedef int8_t int8;
|
||||
typedef uint8_t uint8;
|
||||
typedef int16_t int16;
|
||||
typedef uint16_t uint16;
|
||||
typedef int32_t int32;
|
||||
typedef uint32_t uint32;
|
||||
typedef int64_t int64;
|
||||
typedef uint64_t uint64;
|
||||
|
||||
#endif // DTPCH_H
|
||||
|
@ -53,4 +53,9 @@ rdAssertFailFunc* rdAssertFailGetCustom();
|
||||
|
||||
#endif
|
||||
|
||||
// This is required to make the navmesh editor work with external code.
|
||||
#ifndef Assert
|
||||
# define Assert rdAssert
|
||||
#endif // !Assert
|
||||
|
||||
#endif // RECASTDETOURASSERT_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user