848 Commits

Author SHA1 Message Date
Kawe Mazidjatari
daa931ef64 Use appropriate type for CFactory::GetVersionIndex
svInterfaceName.length() is size_t, and substr takes size_t.
2022-06-18 17:52:32 +02:00
Kawe Mazidjatari
e110aa5832 RTech decompress cleanup
Cast to proper types
2022-06-17 18:42:13 +02:00
Kawe Mazidjatari
8463811bb0 Remove unnecessary cast for string format 2022-06-17 18:29:17 +02:00
Kawe Mazidjatari
87e3313e22 FileSystem improvements
Deref g_pFullFileSystem (most engine functions use this pointer instead of the direct address of g_pFileSystem_Stdio).
2022-06-16 21:19:04 +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
a8c29f2abc Create speed.cfg 2022-06-15 02:17:55 +02:00
Kawe Mazidjatari
26b51681e9 Use proper types 2022-06-15 02:07:27 +02:00
Kawe Mazidjatari
ae1d0516c2 Use proper types 2022-06-15 02:06:30 +02:00
Kawe Mazidjatari
8f3e01795c Use proper types 2022-06-15 02:04:03 +02:00
Kawe Mazidjatari
4899d789b2 Update VPK configs 2022-06-15 01:46:34 +02:00
Kawe Mazidjatari
1a8ece6445 Update playlists 2022-06-15 01:46:12 +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
a1331d2b8b Fix CUtlMemoryPool size 2022-06-15 01:23:28 +02:00
Kawe Mazidjatari
3de4b4c4ed Fade suggest panel among with base panel 2022-06-14 22:37:43 +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
89cdcdc848 Rename 'pak_decompress' to 'rtech_decompress'
RTech method
2022-06-14 22:29:42 +02:00
Kawe Mazidjatari
252c6dd818 R5Net cleanup and optimizations 2022-06-14 22:29:08 +02:00
Kawe Mazidjatari
869aab686c Cast to proper type 2022-06-14 22:28:53 +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
5683a928d0 Default to no map and playlist 2022-06-14 01:44:13 +02:00
Kawe Mazidjatari
9fd39d4e21 CModule class optimizations
Module segments are now part of the class to eliminate unnecessary re-inits and copies.
2022-06-13 23:34:06 +02:00
PixieCore
133c40940f __FUNCTION__ usage in RTech commands. 2022-06-13 20:42:14 +02:00
Kawe Mazidjatari
27eae42b10 RCON client improvement
Use 3rd argument as password instead of 'rcon_password' ConVar if arg count is > 2.
2022-06-13 01:03:36 +02:00
Kawe Mazidjatari
723976d9cb CLogSystem improvements
Draw the RUI console overlay and logging etc in CEngineVGui::Paint.
cl_showfps is no longer required to render the log system.
2022-06-12 17:50:12 +02:00
Kawe Mazidjatari
162e709190 General cleanup and improvements 2022-06-12 17:41:26 +02:00
Kawe Mazidjatari
6451aaba2b Fix dedicated server compiler error 2022-06-12 13:34:07 +02:00
Kawe Mazidjatari
6c1f8da177 Launcher improvements
Load 'startup_launcher.cfg' when launching with the GUI launcher
2022-06-12 13:30:37 +02:00
Kawe Mazidjatari
79372aa485 Prefix internal function pointers with 'v_' 2022-06-12 13:24:30 +02:00
Kawe Mazidjatari
25e858dc27 Rename hooks
Prefix hooks with 'V' to fix clash with the VFTable methods.
2022-06-12 12:49:57 +02:00
Kawe Mazidjatari
cdf257ad32 Dedicated VPK switch improvements
Check for 'vpk\\server_mp_common.bsp.pak000_000.vpk' presence instead of 'vpk\\client_frontend.bsp.pak000_000.vpk' absence before switching to server VPK's.
2022-06-12 12:42:07 +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
97ca335a21 Update VPK cfg files 2022-06-12 12:23:55 +02:00
Kawe Mazidjatari
c029d7e846 Rename VPK ConCommand's 2022-06-12 12:22:12 +02:00
Kawe Mazidjatari
4cf43e0d61 Fix invalid pointer for 'VPK_Mount_f'
g_pFullFileSystem is a pointer to g_pFileSystem_Stdio in the compiled module.
Inherit CBaseFileSystem for CFileSystem_Stdio (second VFTable pointer).
Additional cleanup.
2022-06-12 12:14:31 +02:00
Amos
e07f59adbe Fix detach bug in PRX 2022-06-09 13:30:36 +02:00
Amos
ef68ef96fa Update vgui_debugpanel.cpp
Cleanup and cast loop int to proper type
2022-06-09 13:30:21 +02:00
Amos
3683a9d108 Optimizations
Remove extraneous 'c_str()' calls
2022-06-09 11:38:31 +02:00
Kawe Mazidjatari
aaf6e46871 ImGui panel improvements
Slight optimizations and cleanup.
Added fade-in effect.
2022-06-09 02:22:01 +02:00
Kawe Mazidjatari
dab5133e07 Rename 2022-06-08 23:35:46 +02:00
Amos
e461412fde Optimizations 2022-06-08 14:35:44 +02:00
Amos
d909878624 Optimizations 2022-06-08 14:03:04 +02:00