1608 Commits

Author SHA1 Message Date
Kawe Mazidjatari
61ff7e5079 Remane NavMesh "Sample" files to "Editor" 2022-10-22 22:51:39 +02:00
Kawe Mazidjatari
28299b4c59 NavMesh rename from "Sample" to "Editor"
This commit only contains a rename, the logic has not been modified.
Renamed everything named "Sample" to "Editor" as its no longer a sample.
2022-10-22 22:34:47 +02:00
Kawe Mazidjatari
edd1c62352 Change vperpXZ to vperpXY 2022-10-22 21:59:57 +02:00
Kawe Mazidjatari
8709a256d9 Use closestPointOnPoly instead of getPolyHeight in dtNavMeshQuery::findRandomPoint 2022-10-22 21:59:57 +02:00
Kawe Mazidjatari
56dd3802f8 Recast & Detour XZY left overs to XYZ
Height should be set on the z axis.
2022-10-22 21:47:07 +02:00
Kawe Mazidjatari
73866c860b Merge branch 'master' into indev 2022-10-21 22:12:38 +02:00
Kawe Mazidjatari
2dcae7b161
Merge pull request #90 from kralrindo/master
update playlist
v2.2_rc2
2022-10-21 22:12:02 +02:00
Kawe Mazidjatari
6f66b3fb31 Merge branch 'indev' into master 2022-10-21 22:02:23 +02:00
Kawe Mazidjatari
02fb1a3571 Add new cvar for logging missing materials
The behavior has been changed; when a material is missing and bComplain is false, nothing gets printed to the console unless 'mat_alwaysComplain' is nonzero.
2022-10-21 21:51:56 +02:00
Kawe Mazidjatari
bf9f758a98 Update version gate (VGameSDK007)
New content will break older servers and clients
2022-10-21 21:51:24 +02:00
Kawe Mazidjatari
fea176eff2 CBrowser: light cleanup 2022-10-21 21:51:24 +02:00
Kawe Mazidjatari
717a081318 Update comment in CAI_Utility::DrawNavMeshBVTree 2022-10-21 21:49:26 +02:00
Kawe Mazidjatari
5cfcc12ba5 Add new cvar for logging missing materials
The behavior has been changed; when a material is missing and bComplain is false, nothing gets printed to the console unless 'mat_alwaysComplain' is nonzero.
2022-10-21 21:49:10 +02:00
Kawe Mazidjatari
bcd379ecbf Update version gate (VGameSDK007)
New content will break older servers and clients
2022-10-21 21:29:25 +02:00
Kawe Mazidjatari
b97176a04b CBrowser: light cleanup 2022-10-21 21:28:51 +02:00
Kawe Mazidjatari
0f920ff602 Update comment in CAI_Utility::DrawNavMeshBVTree 2022-10-21 21:27:37 +02:00
kralrindo
8d005ee93c update playlist 2022-10-21 18:47:47 +03:00
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