Kawe Mazidjatari
aaec14c3d4
Update member names on currently commented saveAll body
2022-07-18 12:42:00 +02:00
Kawe Mazidjatari
57bb9dffce
Update dtNavMesh, dtNavMeshParams and dtMeshTile structures
...
dtNavMesh is now almost fully mapped out (most members should be correct, the only unsure ones are the unknowns and the mesh/tile flags).
dtNavMeshParams has one new field (I think the last field determines the precomputed malloc size, but I'm not very sure. It would make sense with the inline loop in 'Detour_LevelInit()' setting a certain field in each tile to -1).
dtMeshTile has one extra field (currently unknown) and the renamed unk0 field was is a pointer to the end of the 'polys' array.
2022-07-18 12:38:41 +02:00
Kawe Mazidjatari
0026723aef
Add g_pNavMeshQuery signature to SDK
2022-07-17 12:55:38 +02:00
Kawe Mazidjatari
ab8d0b8f57
Improve CHostState::FrameUpdate parameter types and names
2022-07-17 12:16:31 +02:00
PixieCore
746e7e9996
CMaterialGlue changes.
...
* Reversed more of the class and fixed up member names.
2022-07-16 12:33:02 +02:00
PixieCore
a8b74ec93a
memaddr and module const cleanup.
2022-07-15 19:43:29 +02:00
PixieCore
e0792af1ce
Remove ClientClass from dedicated.
...
* We should consider removing cdll_engine_int.h from dedicated fully.
2022-07-15 19:22:02 +02:00
Kawe Mazidjatari
f8592f3d64
Update project build order
...
Build 'librecast' and 'libdetour' before 'gamesdk'.
2022-07-14 21:21:02 +02:00
rexx
7973034bd0
temp navmesh debug drawing
2022-07-14 18:19:34 +01:00
rexx
ddae4d4775
update dtNavMesh and dtMeshTile structs
2022-07-13 19:48:19 +01:00
rexx
39c49c5b58
Update vgui_debugpanel.cpp
2022-07-13 19:47:16 +01:00
rexx
35515f1ef5
fix clientsdk compilation
2022-07-13 19:46:55 +01:00
Kawe Mazidjatari
46a3535b27
Update dtMeshTile structure
...
Actual size is 0x78 (header2 also gets assigned to the header pointer in r5apex.exe + F43FFA).
2022-07-13 12:08:10 +02:00
Kawe Mazidjatari
c79cfa4968
Declare GetNavMeshForHull()
2022-07-13 11:44:38 +02:00
Kawe Mazidjatari
2dd66662b2
Add g_pNavMesh to SDK
...
Add g_pNavMesh to SDK and a simple wrapper for obtaining NavMesh from array.
2022-07-13 11:42:07 +02:00
Kawe Mazidjatari
f4ea846284
RenderUtils cleanup.
2022-07-12 21:02:10 +02:00
Kawe Mazidjatari
bd3fe5b445
Public IVDebugOverlay VFTable interface.
...
New public interface to add debug overlays on the go (memory is managed by the game module).
3 new commands:
* line.
* sphere.
* capsule.
2022-07-12 17:46:47 +02:00
Kawe Mazidjatari
7de9dfd2d9
Add missing field to OverlayBox_t
2022-07-12 15:38:51 +02:00
Kawe Mazidjatari
c9c002d27a
Improve readability for DebugDrawHemiSphere angle math
2022-07-12 15:06:44 +02:00
Kawe Mazidjatari
0496d5d66b
Improve DebugDrawSphere
2022-07-12 14:52:12 +02:00
Kawe Mazidjatari
521cbad760
Proper SSE structure for OverlayBox_t::Transforms
2022-07-12 12:28:23 +02:00
Kawe Mazidjatari
d47eaf98a0
Improve segmentation math for DebugDrawHemiSphere
...
Use actual number of segments per semi.
2022-07-11 21:43:57 +02:00
Kawe Mazidjatari
2ffb1da730
Default bZBuffer for all shapes to true;
2022-07-11 21:31:54 +02:00
Kawe Mazidjatari
e8a0c5e752
Add cvar for debug overlay z-buffer.
...
Only OverlayLine_t has a field to determine whether or not to ignore the z-buffer.
Added ConVar 'r_debug_overlay_zbuffer' to allow setting z-buffer for all overlays.
2022-07-11 21:23:26 +02:00
Kawe Mazidjatari
27ff727949
Use Vector3D for capsule and hemisphere radius.
2022-07-11 20:45:14 +02:00
Kawe Mazidjatari
ffa9f12e2b
New DebugDraw shapes in SDK
...
DebugDrawCapsule and DebugDrawHemiSphere.
Hooked up to DrawOverlay (OverlayType_t::OVERLAY_CAPSULE).
2022-07-11 20:35:20 +02:00
Kawe Mazidjatari
28de4a96bf
Rename to DrawAIScriptNodes
2022-07-11 12:22:35 +02:00
Kawe Mazidjatari
96abdf619c
Rebuild 'ai_script_nodes_draw'
...
Originally stripped from retail.
2022-07-11 12:00:08 +02:00
rexx
56dc7ffb70
fix incorrect default MS host
2022-07-10 17:56:43 +01:00
Kawe Mazidjatari
cf0ab4aa45
Light cleanup
2022-07-10 17:40:22 +02:00
Kawe Mazidjatari
cf232be7bf
Switch hostname out for default
2022-07-10 17:22:48 +02:00
Kawe Mazidjatari
a808a2a50f
Show devmenu on dev_default on release launch.
v2.0.8_rc3
v2.0.8_rc2
2022-07-10 15:41:48 +02:00
Kawe Mazidjatari
39094ab11b
Change v_RenderBox prototype to take const reference on transforms.
2022-07-10 14:39:03 +02:00
Kawe Mazidjatari
856b386945
Debug overlay improvements and new render utilities.
...
Fixed internal RenderBox transforms (origin and angles are packed in xmm registers).
Added new render utilities in the SDK similar to the script ones.
2022-07-10 14:30:28 +02:00
PixieCore
2be140f09d
Update rtech_utils.cpp
2022-07-10 13:24:48 +02:00
PixieCore
afc312d86d
Removed s_pBitsPerPixelWord and implemented it properly.
2022-07-10 13:11:48 +02:00
PixieCore
0eec5c6361
Updated RTech.
...
* Further cleanup of RTech::CreateDXTexture.
* New field in RTechTextureInfo_t which counts the total streamed mips.
* Added a few comments.
2022-07-09 10:41:02 +02:00
Kawe Mazidjatari
59eeec656a
Guard RTech::CreateDXTexture out for S0/S1
2022-07-08 23:50:38 +02:00
Kawe Mazidjatari
e14934d244
Fix persistence state for s0/s1 builds
...
CVEngineServer::IsPersistenceAvailable() is inline with Persistence_SetXP in S0 and S1. the virtual function never gets fired.
The approach for S0/S1 will call CVEngineServer::IsPersistenceAvailable() when Persistence_SetXP() is ran (the first function to ever use pClient->m_nPersistenceState after the SendServerInfo query).
2022-07-08 23:42:28 +02:00
PixieCore
c4977a39aa
Add field to RTechTextureInfo_t.
2022-07-08 23:38:33 +02:00
rexx
d64079fd6b
enable CreateDXTexture hook
2022-07-08 22:33:43 +01:00
PixieCore
931670e0ac
Moved dxgiFormat further down.
2022-07-08 23:19:53 +02:00
PixieCore
d51ceddf38
RTech::CreateDXTexture cleanup.
...
* Separated RPakTextureHeader_t and made an RTech version.
* Fixed up RTechTextureInfo_t struct.
* Still needs testing with 4K textures.
2022-07-08 23:18:15 +02:00
PixieCore
6d916ae2c9
Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev
2022-07-08 20:31:33 +02:00
PixieCore
ff7ae51718
RTech::CreateDXTexture works now.
...
* Will clean up the function next.
2022-07-08 20:31:27 +02:00
Kawe Mazidjatari
6b7a1f62e6
Fix declaration
...
Add missing optimizations belonging to previous commit.
2022-07-08 20:18:40 +02:00
Kawe Mazidjatari
bbf7896218
Move GetBoxCorners to mathlib
...
Renamed to 'PointsFromAngledBox' (no longer adds origin by default).
2022-07-08 20:17:30 +02:00
Kawe Mazidjatari
75abedc711
New custom math functions
...
* AngleCompose (compose angle from 2 angles).
* AngleLerp (linearly interpolate first angle to second).
* AngleInverse (invert input angle).
2022-07-08 16:25:20 +02:00
Kawe Mazidjatari
86c9ac5292
Upgrade mathlib to latest
...
Latest SourceSDK MathLib with minor modifications.
2022-07-08 00:55:01 +02:00
Kawe Mazidjatari
d8a45ae563
Overlay improvements
...
* Move render utils to dedicated file.
* Implement more render/mesh utils.
* Added structure for OverlayTriangle_t, OverlaySweptBox_t and OverlayCapsule_t.
OverlayCapsule_t has been modified to accommodate the size in r5 (2 new vectors).
2022-07-07 21:31:00 +02:00