15 Commits

Author SHA1 Message Date
Kawe Mazidjatari
5551909ac7 Explicitly cast to types to suppress warnings in navmesh tool 2023-04-03 14:49:18 +02:00
Kawe Mazidjatari
c06f9cfe60 Fix naveditor compiler warning
Use correct format specifier for size types, and return a value in 'sdl_init'.
2023-02-26 19:35:33 +01:00
Kawe Mazidjatari
1e76624c9b Increase viewport scroll speed for the recast editor
Due to the large scale of the Apex maps, and the modifications done to the library, this had to be increased significantly.
2022-11-25 00:08:10 +01:00
Kawe Mazidjatari
6ef89a19ba Final sample -> editor rename 2022-10-22 22:51:39 +02:00
Kawe Mazidjatari
61ff7e5079 Remane NavMesh "Sample" files to "Editor" 2022-10-22 22:51:39 +02:00
Kawe Mazidjatari
28299b4c59 NavMesh rename from "Sample" to "Editor"
This commit only contains a rename, the logic has not been modified.
Renamed everything named "Sample" to "Editor" as its no longer a sample.
2022-10-22 22:34:47 +02:00
Kawe Mazidjatari
ba97662c99 Recast editor cleanup and improvements
* Removed Samples button and dialogue.
* Removed SoloMesh.
* Removed TempObstacles.
* Limit 'Verts Per Poly' to 6 (DT_VERTS_PER_POLYGON).
* Moved hulldef constant and handler to TileMesh.
* Set m_tileSize based on hull (small = 32, med_short = 32, medium = 32, large = 64, extra_large = 64).
2022-07-26 15:45:40 +02:00
Kawe Mazidjatari
112a530d5a Improve Recast & Detour and NavMesh generation
* Add missing dtQueryFilter field (some flag used in the engine but not sure yet what it does).
* Set tile->polysEnd and tile->offMeshConsEnd to end of polys and offMeshCons array pointer (if ever needed).
* Set camera perspective to 75 (previous 50).
* Improve theme.
* Lowered the climb height for all hulls (this improves NavMesh generation around low obstacles, previously it would create a poly connecting the ground on the side with the surface of the object around where it connects with the ground, causing AI to take this route instead and kind of 'glitch' onto the surface).
2022-07-26 14:23:02 +02:00
Kawe Mazidjatari
5b9b0164b1 Remove 'bool* is_tf2' from class 'Sample' 2022-07-20 16:44:28 +02:00
Kawe Mazidjatari
31b95f41e8 Don't initialize SDL when running naveditor from the commandline
+ some additional cleanup.
TODO: get logging working on command line
2022-04-22 02:33:26 +02:00
Amos
7e24c31e94 Forgot this one 2022-03-16 01:36:57 +01:00
Amos
7cd73893f4 Build navmesh files to game directory
And additional compiler improvements
2022-03-13 22:20:02 +01:00
Amos
3cf36b5d61 Increase compile performance even more for NavMesh Editor
Cleaned up redundant includes
Reordered required ones
2022-03-13 03:00:07 +01:00
Amos
b3f064d009 Create precompiled header for NavMesh Editor and restructure project filter 2022-03-13 02:22:55 +01:00
Amos
d71b949468 Add Recast & Detour navmesh editor to SDK 2022-03-13 01:15:52 +01:00