1691 Commits

Author SHA1 Message Date
Kawe Mazidjatari
e43da9ee61 Format playlist 2022-10-20 20:03:28 +02:00
Kawe Mazidjatari
bd44caa11d Merge pull request #89 from kralrindo/master
update playlist
2022-10-20 20:03:08 +02:00
Kawe Mazidjatari
bc1c922f96 Format playlist v2.2_rc1 2022-10-20 20:00:57 +02:00
Kawe Mazidjatari
331dcb7531
Merge pull request #89 from kralrindo/master
update playlist
2022-10-20 19:58:56 +02:00
kralrindo
34b6275f9a
Merge branch 'Mauler125:master' into master 2022-10-20 20:20:31 +03:00
kralrindo
c0ce950ded update playlist 2022-10-20 20:20:03 +03:00
Kawe Mazidjatari
0871cba9d7 Add mp_rr_arena_skygarden to navmesh build system 2022-10-20 17:05:20 +02:00
Kawe Mazidjatari
698cc457fd Add mp_rr_arena_skygarden to navmesh build system 2022-10-20 17:05:10 +02:00
Kawe Mazidjatari
d2ab5b8d38 Merge pull request #88 from kralrindo/master
update playlist
2022-10-20 16:57:37 +02:00
Kawe Mazidjatari
0e5073d5e4 Update playlists_r5_patch.txt
Use regular beta watermark version
2022-10-20 16:57:37 +02:00
kralrindo
991c0cacc3 update playlist 2022-10-20 16:57:37 +02:00
Kawe Mazidjatari
1bafc3c75c Add mp_rr_arena_skygarden to VPK build system 2022-10-20 16:55:42 +02:00
Kawe Mazidjatari
bf9fc9862c
Merge pull request #88 from kralrindo/master
update playlist
2022-10-20 16:55:10 +02:00
Kawe Mazidjatari
207f400d49
Update playlists_r5_patch.txt
Use regular beta watermark version
2022-10-20 16:54:41 +02:00
kralrindo
bd81b66ce6 update playlist 2022-10-20 17:35:03 +03:00
Kawe Mazidjatari
f3f97339d1 Improve playlist formatting 2022-10-20 16:24:46 +02:00
Kawe Mazidjatari
63e50ec2ae Merge pull request #87 from kralrindo/master
add volt and sentinel into playlist
2022-10-20 16:21:59 +02:00
kralrindo
3642951bea add volt and sentinel into playlist 2022-10-20 16:21:59 +02:00
Kawe Mazidjatari
4509bc385b CConsole::SuggestPanel inprovements
* Cache m_vSuggest.size().
* Use const reference to m_vSuggest[i].
2022-10-20 15:22:20 +02:00
Kawe Mazidjatari
f6e0fd8d92 Remove extraneous string copy constructor 2022-10-20 15:07:40 +02:00
Kawe Mazidjatari
f887ac509e Use StringRTrim to trim convar string before building console summary 2022-10-20 14:57:45 +02:00
Kawe Mazidjatari
49658c498f Fix private server modal size not being set correctly
ImGui::PopStyleVar() had to be called before ISurface::DrawSurface().
2022-10-20 14:37:21 +02:00
Kawe Mazidjatari
c7d828610d Fix server browser not claiming focus on window apparition
The console draws focus as it does SetKeyboardFocusHere(-1) (on the previous widget, which is the input text field). We don't do this in the server browser, so we must explicitly claim focus by calling SetNextWindowFocus() once before the next frame gets renderer.
2022-10-20 14:23:24 +02:00
Kawe Mazidjatari
4bc0aaf1e6 Fix launcher command line for client.dll
Launcher command line did not pass "-noworkerdll" which is required if the game is launched as game client only.
2022-10-20 14:23:24 +02:00
Kawe Mazidjatari
3dc330e5df Add minimize button to SDK launcher 2022-10-20 14:23:24 +02:00
Kawe Mazidjatari
cb1b81f778
Merge pull request #87 from kralrindo/master
add volt and sentinel into playlist
2022-10-20 12:32:19 +02:00
Kawe Mazidjatari
5f84803ac6 ImGui and DirectX code improvements
* Fix history duplication by removing trailing white space characters from submitted commands in console.
* Fix out of range exception caused by caching svConVar.size() in CConsole::BuildSummary while we are modifying it.
* Fixed memory leak  caused by extraneous Strdup calls in CConsole.
* Renamed variables and structure members, static vars in id3dx.cpp are not prefixed with s_, IBrowser_Config is now m_BrowserConfig.
* Performed code cleanup in id3dx.cpp.
2022-10-20 12:29:50 +02:00
Kawe Mazidjatari
31845425d6 Only enable/disable input system on open/close events
Previously we enabled/disabled the input system each frame, depending on the state of the ImGui windows. This commit changes the behavior into only enabling/disabling when the menu's are closed (either through the keyboard or the close button).

I added a simple callback to ImGui::Begin which will be called when the close button on the ImGui panel is pressed and the callback pointer isn't nullptr, this was required as there was otherwise no way to determine when the close button was clicked.
2022-10-20 12:29:50 +02:00
Kawe Mazidjatari
44f2f87460 CConsole: heavy cleanup
* Move all default assignments to constructor.
* Rename cvar 'con_max_size_logvector' to 'con_max_lines'.
* Rename cvar 'con_max_size_history' to 'con_max_history'.
* Use array indexes instead of hardcoding context prefixes.
* Added netcon context prefix to help legend.
* Added public method to obtain history as string vector.
* Added public method to clear history.
* Internal CConsole::AddLog no longer locks the mutex.
* CConsole::LoadFlagIcons accesses resource vector by reference.
* Implemented "HELP", "HISTORY" and "CLEAR" as real console commands: "con_help", "con_history", "con_clearlines".
* Added a new command "con_clearhistory" (clears the dev console submission history).
2022-10-20 12:29:50 +02:00
Kawe Mazidjatari
d113774a6d Console improvements and new command
* Commented "ImGui::SetItemDefaultFocus()", this seems to somewhat fix the issue where the input field does not claim focus on console invocation.
* Added command "con_removeline" (removes lines from start to end index).
2022-10-20 12:29:49 +02:00
Kawe Mazidjatari
ad844269b8 Update ai_networkmanager.cpp 2022-10-20 12:29:49 +02:00
kralrindo
5bb1178391 add volt and sentinel into playlist 2022-10-19 02:13:26 +03:00
Kawe Mazidjatari
19d514d7f4 Pak_ListPaks_f cleanup
* Get RPakLoadedInfo_t as const reference from g_pLoadedPakInfo array.
* Improve formatting.
2022-10-16 15:41:23 +02:00
Kawe Mazidjatari
ae8f0cb2ab RTech_Decompress_f cleanup
Improve log and code readability.
2022-10-16 15:31:21 +02:00
Kawe Mazidjatari
9e9f29f4db CMDLCache: fix bug and light cleanup
* Fixed bug where we did not reset m_pErrorHDR to nullptr (m_pEmptyHDR was reset twice).
* Light code cleanup.
2022-10-15 00:07:51 +02:00
Kawe Mazidjatari
84dbc529d7 Reorder tier1 header include in mdlcache.cpp 2022-10-14 02:31:10 +02:00
Kawe Mazidjatari
47beb282f2 RTech cleanup and improvements
* Combined members of TextureHeader_t and RTechTextureInfo_t.
* Renamed 's_pRTechBytesPerPixel' to 's_pBytesPerPixel' and declared const.
* Renamed 'dxgiToRPakFormat' to 's_DxgiToTxtrTable' and declared const.
* Renamed 'rpakToDxgiFormat' to 's_TxtrToDxgiTable' and declared const.
* Moved 'g_DxgiToTxtrTable' and 'g_TxtrToDxgiTable' to 'texture.g.h'.
* Moved 's_pBytesPerPixel' to 'texture.g.h'.
* Fixed defect where we used the [] operator on a std::map that should be const (s_TxtrToDxgiTable), replaced with the const version of std::map::at.
2022-10-13 21:59:06 +02:00
Marvin D
2059e23738 TraceRay with filter 2022-10-13 17:03:51 +02:00
Marvin D
82c60c466a CEngineTrace init 2022-10-13 16:48:56 +02:00
Kawe Mazidjatari
fb7f77f7cb Fix dedicated.dll compile errors 2022-10-13 02:41:09 +02:00
Kawe Mazidjatari
50fee7414d Missing material error logging
This commit implements missing material error logging.
When a material does not exist, it will get replaced with an error material, we log which material is missing, and with which error material it gets replaced with.
This commit also comes with some updates regarding the CMaterialGlue class, and some new types used by this class from the RePak project.
2022-10-13 02:22:50 +02:00
Kawe Mazidjatari
f16d538aee CPackedStore: light optimizations
* Don't call copy constructor on entry blocks when building the directory file.
* Don't call copy constructor for string when we don't want to sanitize the directory file name.
2022-10-12 23:39:26 +02:00
Amos
05ef7be4f4 Update IConVar.cpp 2022-10-12 16:20:45 +02:00
Amos
780b968bc7 CPackedStore::GetDirectoryFile optimizations
Break when we have a locale, or found the context.
Removed extraneous logic/vars.
2022-10-11 16:31:00 +02:00
Amos
142c0d1de5 CPackedStore: fix directory file name sanitizer
The sanitizer can retrieve the directory file name from the block file name if this is passed instead. This was broken in the previous system. Sanitization can be opted out if the 3rd parameter of the 'fs_vpk_unpack' command is omitted.
2022-10-11 15:37:34 +02:00
Kawe Mazidjatari
addf815873 BHit_f light cleanup 2022-10-11 01:32:43 +02:00
Kawe Mazidjatari
2675fca219 Use Q_stricmp macro 2022-10-11 01:24:08 +02:00
Kawe Mazidjatari
dac63ee5ef Add FCVAR_REPLICATED console flag icon 2022-10-11 01:22:21 +02:00
Kawe Mazidjatari
74f8c15481 Add assert for recursive shutdown 2022-10-11 01:21:26 +02:00
Kawe Mazidjatari
530b645a4d Additional AI Network render optimizations
* Make box's mins and maxs static const.
* Use SSE to pack 4 indices into 1 128bit register, and shuffle to prevent duplication. Only 2 indices are used at the moment.
2022-10-11 01:20:59 +02:00