7 Commits

Author SHA1 Message Date
Amos
877fb9a077 Fix redefinition compiler error 2021-10-24 13:37:43 -07:00
Amos
6fb9e8004a Additional patches for dedicated
New patches disabling extra stuff
Improve code readability
2021-10-24 12:50:23 -07:00
Amos
f6c6ab6768 Additional dedicated server patches. Pending big overhaul
'Changelevel 'concommand works consistently and indefinitely now

Huge strip down in resource usage. Few things to be fixed still so idle mem usage is still balooned due to a temporary solution brought in place to prevent crashing when loading texture and material assets.

Stripping texture and material assets preloading from the root caused issues in 'CStudioRenderContext' and 'ModelLoader'. This needs to be addressed in the future

Exact line of the issue: Line 177 in opcodes.cpp:
"gCSourceAppSystemGroup_Create.Offset(0x384).Patch({ 0x90, 0x90, 0x90 }); // PrecacheMaterial"
2021-10-23 12:47:54 -07:00
Amos
a4273fedfd Alpha dedicated 2021-10-21 15:56:45 -07:00
rexx
26d78c584e temp dedi patches 2021-09-25 22:54:11 +01:00
Amos
b42e85b1f4 First work-in-progress dedicated implementation
Based on MrSteyk's dedicated patch.
Additional patches targets the disabling of the client.dll library and VGUI. The disabling of the client.dll library initialization caused several issues to be investigated still (currently loops fine in _Host_RunFrame()). but executing a map command currently makes it only load the mp_common VPK before getting stuck somewhere. Setting hoststate to a valid map with HS_NEW_GAME (manually) does something to the engine but does not force the server to load anything yet.

Added enums and classes from r5dev project.
2021-09-12 16:41:30 -07:00
Amos
d45e6446df Initial project setup for dedicated server
* Move shared utils to shared directory
* Partial cleanup of existing codebase
* Add precompiled header for debug configurations
2021-07-26 03:32:37 -07:00