Kawe Mazidjatari
ab8d0b8f57
Improve CHostState::FrameUpdate parameter types and names
2022-07-17 12:16:31 +02:00
rexx
7973034bd0
temp navmesh debug drawing
2022-07-14 18:19:34 +01:00
rexx
35515f1ef5
fix clientsdk compilation
2022-07-13 19:46:55 +01:00
Kawe Mazidjatari
7de9dfd2d9
Add missing field to OverlayBox_t
2022-07-12 15:38:51 +02:00
Kawe Mazidjatari
521cbad760
Proper SSE structure for OverlayBox_t::Transforms
2022-07-12 12:28:23 +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
Kawe Mazidjatari
cf0ab4aa45
Light cleanup
2022-07-10 17:40:22 +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
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
Kawe Mazidjatari
7d89a42b56
Mathlib implementation
...
SourceSDK mathlib port with light modifications.
Renamed Vector to Vector3D (to avoid confusion with std::vector (declared as vector) and Vector2D/Vector4D).
2022-07-06 21:11:32 +02:00
Kawe Mazidjatari
2af10efe23
Temporary RenderBox
2022-07-06 14:41:34 +02:00
Kawe Mazidjatari
e45cba48be
Box overlay progress
2022-07-06 11:22:37 +02:00
Kawe Mazidjatari
e05c9c787d
Draw the actual simulation tick on overlay
2022-07-03 11:03:25 +02:00
Kawe Mazidjatari
cdcc87b54b
Renamed master server related stuff
2022-07-01 10:29:27 +02:00
Kawe Mazidjatari
965b4f4367
Remove VecNetMessages and VecNetDataFragments
...
Improved and used CUtlVector class instead.
2022-06-23 19:52:58 +02:00
Kawe Mazidjatari
1b6f40d941
Fix for SVC_UserMessage
...
Removed padding that was causing the structure to misalign with the game's one.
Enabled 'SVC_UserMessage::Process()' hook (function works properly after the structure alignment).
2022-06-23 18:20:17 +02:00
Kawe Mazidjatari
85462806d1
Improve sys_utils naming
...
Stripped 'Con_NPrintf' from dedicated.
2022-06-20 15:04:27 +02:00
Kawe Mazidjatari
4095424b7c
Add clock/time function patterns
...
Added:
* Sys_GetProcessUpTime
* Plat_FloatTime
* Plat_MSTime
2022-06-20 14:58:53 +02:00
Kawe Mazidjatari
f98a575dfa
Fix S1 compiler errors
2022-06-18 21:24:02 +02:00
Kawe Mazidjatari
034df40755
CClient::GetClient improvements
2022-06-16 18:04:43 +02:00
Amos
39dd70f929
Update client.cpp comments
...
client.cpp (holding CClient) is in 'engine/client' based on asserts from the game module
2022-06-15 13:33:47 +02:00
Amos
ae35dd1b8b
Revert 'Using __FUNCTION__ in host_state.cpp'
...
Scopes don't get compiled with inline methods using '__FUNCTION__'.
2022-06-15 13:31:43 +02:00
PixieCore
fced5f7adf
Fix compilation.
2022-06-15 12:23:31 +02:00
PixieCore
93bb43544d
Using __FUNCTION__ in host_state.cpp
2022-06-15 12:22:46 +02:00
PixieCore
15f6fd3123
Few comments
2022-06-15 11:59:37 +02:00
Kawe Mazidjatari
e711c54bf9
DebugOverlay improvements
...
Use rebuild 'DestroyOverlay()'
Use 'size_t' type for MemAlloc_Internal alloc size.
2022-06-15 01:35:48 +02:00
Kawe Mazidjatari
e70e4d1a8c
Add DebugOverlay implementation
2022-06-15 01:24:29 +02:00
Kawe Mazidjatari
61e1180878
Rename type
...
Type is small enough where auto isn't needed
2022-06-14 22:33:01 +02:00
Kawe Mazidjatari
ff59db1b95
Light improvements
...
Update comments.
Proper type for 'user_creds::m_nUserID'.
Proper type for 'CClient::SetUserID'.
Added 'CClient::SetHandle'.
2022-06-14 21:53:03 +02:00
Kawe Mazidjatari
c708d73c02
Improve comments
2022-06-14 21:43:32 +02:00
Kawe Mazidjatari
e5f412bcb2
CClient improvements
...
Mapped out new fields in CClient
2022-06-14 21:41:35 +02:00
Kawe Mazidjatari
ebf4921063
Ban system improvements
...
NucleusID/OriginID is an unsigned type, changed all types to uint64_t and cleaned up redundant code.
2022-06-14 20:56:55 +02:00
Kawe Mazidjatari
7c0c541405
FileExist cleanup
...
Use fs::path constructor for all strings.
Renamed CPakFile::AsyncLoad to CPakFile::LoadAsync.
Renamed CPakFile::Load to CPakFile::LoadPak.
2022-06-12 12:40:26 +02:00
Kawe Mazidjatari
aa29c3df18
Fix server browser bug
...
Fixed bug where map list would contain multiple same entries when server vpk's are installed among the client ones.
2022-06-06 16:46:09 +02:00
Kawe Mazidjatari
84f6f37721
Rename unknown parameter
...
Unkmown parameter was socket (pServer + 0xC).
2022-05-28 23:36:29 +02:00
Kawe Mazidjatari
7bc18c8012
Align CServer structure with game's memory
...
Unknown fields have been padded to match the structure's size in memory. Iteration is now possible.
2022-05-28 23:14:01 +02:00
Kawe Mazidjatari
61c7dbf5c1
Fix memory leaks
2022-05-28 23:05:10 +02:00
Kawe Mazidjatari
e5e0d528f0
Parse playlists file directly after loading it
...
No longer need a thread that loops and waits until its loaded into memory before parsing it.
2022-05-28 17:07:30 +02:00
Kawe Mazidjatari
79d602c274
KeyValues class rebuild (see description)
...
Class has been mostly copied from the Valve SourceSDK.
Modified to fit this particular engine.
Modifications include:
* More consistent naming.
* Using c++ style casts over c style casts.
* Using c++ datatypes for assigning default.
- nullptr and size_t for pointers and size types.
2022-05-28 16:31:38 +02:00
Kawe Mazidjatari
52b8755219
FileSystem improvements
...
* Added proper pointer to g_pFileSystem_Stdio.
* Renamed existing one to g_pFullFileSystem (correct name).
* Obtain g_pFileSystem from the same constructor as g_pFileSystem_Stdio.
2022-05-27 22:38:49 +02:00
Kawe Mazidjatari
5aeac9f72a
rename 'g_szNetKey' to 'g_svNetKey'
...
sv = string variable
2022-05-27 02:24:34 +02:00
Kawe Mazidjatari
fc74a692fa
Prefix global vectors with 'g_v'
2022-05-27 02:21:54 +02:00
Kawe Mazidjatari
47d2e4c915
See description
...
* Added new function 'GetAvailablePlaylists' to all VM's.
* Moved function 'GetAvailableMaps' from UI VM to all VM's.
* Improved logic behind 'GetAvailableMaps'.
* Server browser and SQVM now rely on 'MOD_GetAllInstalledMaps'. This new function populates the global vector 'g_vAllMaps' with all installed maps.
* Improved 'KeyValues' structure to use union for shared members.
2022-05-27 02:08:51 +02:00
Kawe Mazidjatari
2f4f4ae838
Merge branch 'gui_launcher' into indev
2022-05-26 22:05:32 +02:00
Kawe Mazidjatari
7833eb9b1d
Load ui_sdk.rpak upon init
...
Load ui_sdk.rpak after ui_mp.rpak.
Moved the loading of common_sdk.rpak to after common_sp.rpak/common_mp.rpak.
This should allow overriding existing assets.
2022-05-26 02:58:46 +02:00