18 Commits

Author SHA1 Message Date
Kawe Mazidjatari
89978d795e Add missing include guards
Last few files which do not have include guards.
2023-02-12 19:50:45 +01:00
Kawe Mazidjatari
f0f6a096b8 Final header files rename from sample -> editor 2022-10-22 22:55:22 +02:00
Kawe Mazidjatari
6ef89a19ba Final sample -> editor rename 2022-10-22 22:51:39 +02:00
Kawe Mazidjatari
9289356794 Rename "Sample" enumerants to "Editor" 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
88a29f2770 Improve crowd speed/acceleration/braking
Changed to values comparable to game.
Added sliders for acceleration and speed.
2022-07-27 20:08:17 +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
7481cefd78 Ability to load navmeshes from game directory
Load navmeshes from '..\\maps\\navmesh\\' first before attempting to load from root.
2022-07-20 15:21:21 +02:00
Kawe Mazidjatari
e5f445e9c8 NavEditor cleanup
Moved functions and structures to their own files.
2022-07-20 15:07:51 +02:00
Kawe Mazidjatari
9f27b58f95 Improve struct member naming consistency
Improved alignment of class 'Sample' and improved naming consistency.
2022-07-18 19:32:36 +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
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