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
7d749fc53a
Skip space characters properly in CTextLogger
2022-06-20 13:23:38 +02:00
Kawe Mazidjatari
f52bfb139e
Remove m_bReadOnly from CTextLogger
...
User can't modify the log text, it can only be modified through code.
2022-06-20 13:23:11 +02:00
Kawe Mazidjatari
33aebfb89d
ImGui theme improvements
2022-06-20 13:05:50 +02:00
Kawe Mazidjatari
44157bdce4
Fix CConsole history navigation bug
...
Fix bug where a space character gets appended on each navigation event, even if there already is a space character.
2022-06-20 11:21:18 +02:00
Kawe Mazidjatari
43b73dc717
Improve scrollback
...
Scrollback now scrolls back pixel perfect to the exact line in view before resize.
2022-06-20 11:20:02 +02:00
Kawe Mazidjatari
28f0df81c6
Fix crash case
...
Prevent concurrent access to CTextLogger::m_Lines.
Additional cleanup.
2022-06-20 11:01:53 +02:00
Kawe Mazidjatari
1764f039cf
CConsole improvements: Add selectable logger text
...
CConsole now uses a dedicated class for logging text (modified CTextEditor class (CTextLogger)). The class uses an ImDraw list with a character vector to draw the text.
Text could be selected by double click (word), triple click (line), a selection by dragging the cursor, or everything with 'ctrl + a'.
2022-06-20 10:31:09 +02:00
Kawe Mazidjatari
1b81f2d1eb
Modify CTextLogger
...
Redact and modify CTextLogger (copy of CTextEditor) to fit logger usage.
Removed most unnecessary methods/code and members.
2022-06-20 10:17:11 +02:00
Kawe Mazidjatari
fed337fbbd
Add imgui_logger.cpp
...
A copy of CTextEditor
2022-06-20 10:14:43 +02:00
Kawe Mazidjatari
f1091fef0e
imgui_editor.cpp class rename
2022-06-20 10:05:32 +02:00
PixieCore
a2a04bfb7f
Fix other seasons.
2022-06-19 18:09:02 +02:00
PixieCore
8bf08af7b9
Start of RTech::CreateDXTexture rebuild.
...
* Currently crashes due to stack corruption.
2022-06-19 18:07:43 +02:00
Kawe Mazidjatari
20eabe4b8e
Update imgui_editor.h
2022-06-19 10:54:11 +02:00
Kawe Mazidjatari
40a0c8878a
Rename TextEditor members
2022-06-19 10:51:45 +02:00
Kawe Mazidjatari
0c11011567
Add ImGuiColorTextEdit to project
2022-06-18 23:23:29 +02:00
Kawe Mazidjatari
f98a575dfa
Fix S1 compiler errors
2022-06-18 21:24:02 +02:00
Kawe Mazidjatari
2c954da789
Light CConsole class cleanup
2022-06-18 18:11:05 +02:00
Kawe Mazidjatari
963ec33e9f
Format function parameters the same as the game
2022-06-18 17:53:59 +02:00
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
v2.0.8_rc1
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