Amos
d182652211
Check and clear console vector even if console is not drawn
...
The vector could still overflow if user plays the game for a long time while not opening the console at least once.
2022-01-16 01:32:51 +01:00
Amos
f909635526
Separate SQVM function namespaces per VM type
...
* Separate based on VM type instead.
* Allow compilation for DEDICATED.
2022-01-16 00:35:39 +01:00
IcePixelx
4da14d7dde
Cleaned up native server browser and commented functions.
2022-01-15 20:13:11 +01:00
r-ex
b366e4ce82
sq server browser clean up ( #63 )
...
* sq server browser clean up
* Properly loop through std::vector on GetAvailableMaps.
Co-authored-by: IcePixelx <41352111+PixieCore@users.noreply.github.com>
2022-01-15 18:57:18 +01:00
IcePixelx
829e122cea
SQ Serverbrowser V1 push. Clean-up following after @r-ex fixed SQ things.
2022-01-15 15:25:19 +01:00
IcePixelx
29fe6be989
Fix pre-compiled headers for imgui_utility.cpp
2022-01-14 20:59:06 +01:00
Amos
f2f8a088bf
Fix compiler error caused merge from separate branch
2022-01-14 20:51:32 +01:00
Amos
1c5df4e178
Ansi terminal color support + big optimizations on all log systems + 'Warning()' hook
...
* Ansi colors can now be enabled with the '-ansiclr- flag.
* All loggers have been optimized and are all initialized only once at process startup.
* New hook for 'Warning()' print function with warning level.
2022-01-14 20:48:16 +01:00
Amos
a14480e7cf
Update stdafx.h
2022-01-14 20:46:42 +01:00
Amos
bdc67e90cb
Set default spdlog level to trace
2022-01-14 20:46:30 +01:00
Amos
96ee434d4e
Fix missing header errors for SpdLog
2022-01-14 20:46:19 +01:00
IcePixelx
6bbb16dcb9
Fix sendrequest crash. Due to htResults being null.
2022-01-14 20:39:11 +01:00
Amos
5612c7a3a7
This seems no longer needed for dedicated servers
...
Shader/texture assets are no longer loaded where the pointer parameters to the asset unloading function won't be out of scope anymore
2022-01-12 13:11:26 +01:00
Amos
e6254e3a03
Fix issue with ImGui windows where input could loose focus and not work
...
'ImGui_ImplWin32_WndProcHandler' has to be called at all times from the HwndProc handler as it has to track all events to prevent issues with input.
2022-01-12 13:11:18 +01:00
Amos
de3b3f53bd
Optimizations + QoL improvements/cleanup
...
* IConsole overlay now clears the oldest log entries to stay under the vector limit instead of clearing the whole vector.
* IConsole code cleanup.
* IBrowser code cleanup, reordered class methods.
* Use ConVar utilities to get/set values for strings in IBrowser and IConsole.
* New ConVar's for RUI console overlay to tweak colors.
2022-01-12 02:56:17 +01:00
Amos
44102abbcc
Execute dev configs when '-devsdk' parameter is passed
2022-01-10 02:47:19 +01:00
Amos
8d1023212a
Small alignment
2022-01-10 02:24:30 +01:00
Amos
38d9d431c9
Fix potential bug where 'cm_return_false_cmdquery_all' cvar would never work
2022-01-10 02:03:31 +01:00
Amos
c0f24e64ff
Rename global cvar pointer
2022-01-10 01:31:25 +01:00
Amos
0146f22e0a
Implement CommandLine utilities
2022-01-10 01:20:44 +01:00
Amos
64c07af6e0
Cleanup to use new ConVar utilities
2022-01-09 17:17:05 +01:00
Amos
19f5010bd2
Fix compiler error + rename debug dll's
...
Rename for easier debugging and config separation
2022-01-09 16:29:36 +01:00
Amos
c292d8ad46
Implement new ConVar features
...
Slight cleanup with new ConVar features to be used throughout the SDK
2022-01-09 16:18:35 +01:00
Amos
0177c17da9
Draw simulation stats and GPU stats to debug text overlay
2022-01-09 16:14:41 +01:00
IcePixelx
21a10e201b
Typos.
2022-01-09 14:36:22 +01:00
IcePixelx
ae09372cc7
Pylon system changes.
2022-01-09 14:35:43 +01:00
Amos
98a428ace9
Fix S2 crash when launching a different version
2022-01-07 01:03:41 +01:00
Amos
c98301d175
Fix LZHAM recompiling pch for each implementation file
2022-01-06 17:30:23 +01:00
Amos
b80be10c4d
Compile LZHAM with the solution. Fix missing detours files for sdklauncher
2022-01-06 15:08:39 +01:00
Amos
a0b7bbf366
Compile Microsoft Detours with the solution
2022-01-06 02:22:28 +01:00
Amos
9a3175fb6d
Fix console input text reclaim to reflect latest ImGui changes
2022-01-06 01:52:05 +01:00
Amos
556894b3e3
Add connect command fix back
...
Accidentally removed.
2022-01-05 23:50:14 +01:00
Amos
1612c439d2
Fix project filters
2022-01-05 23:44:01 +01:00
Amos
47fdd4211d
Fix for S3
...
For some reason the same byte pattern wasn't found in the miles dll for the S3 game, even though they where identical. Changed the byte patterns to search for the last 2 bytes of the instruction as well and made the conditional jmp instructions, unconditional for making sure mileswin64.dll doesn't close the process when a debugger is found.
2022-01-05 23:43:51 +01:00
Amos
d52bd5eeec
Initial support for S1
2022-01-05 23:02:20 +01:00
IcePixelx
7c3994dfc2
dedicated refuselist
2022-01-05 19:23:53 +01:00
Amos
c486c2d593
Portability to S2 completed
...
CServer functions are evolving quite heavily over these seasons, so these need a bit of work
2022-01-05 02:11:21 +01:00
Amos
fbcea85631
Fix compiler error caused by merging commits from different branches
2022-01-04 12:11:59 +01:00
Amos
84e7729ca0
Add client and debug utilities + cleanup
2022-01-04 11:56:31 +01:00
Amos
477152b354
Fix compiler error
2021-12-31 03:45:48 +01:00
Amos
5f664d8e6b
Create signatures for all used Dedicated functions
2021-12-31 03:44:21 +01:00
Amos
2c7ced128d
Heavy dedicated cleanup
...
* Since the material mode is set to '2', all of the render loops and shader loading functions are no longer called. These have all been removed.
* Added description for patches that missed them
* Traced root caller/cause for certain patches to skip even more unnecessary code and save more memory.
2021-12-30 22:13:56 +01:00
Amos
22c0b5c867
Dedicated server improvements
2021-12-30 17:20:47 +01:00
Amos
6d4f7e345f
Fix a typo
2021-12-30 02:47:46 +01:00
Amos
39a8a8fd30
Implement patch to enable 'DrawAllOverlays()'.
2021-12-30 02:36:43 +01:00
Amos
83129e88f8
Fix LLVM compiler error
2021-12-29 22:59:34 +01:00
Amos
c48ed7f7a5
Rename dedicated variables
2021-12-29 18:06:37 +01:00
IcePixelx
d1ba2bd567
Fixed changelevel, needs more research tho.
2021-12-29 15:35:48 +01:00
Amos
4695012571
Fix 'C_PropDoor' not spawning properly on the server
2021-12-29 13:58:03 +01:00
Amos
6a9a00735a
Rename hooked command callbacks
2021-12-29 13:57:16 +01:00