Commit Graph

677 Commits

Author SHA1 Message Date
GAMMACASE
06d774a9ec Correct is_pod_v usage 2025-02-18 19:45:42 +03:00
GAMMACASE
4f250e6e81 Correct FCVAR flags being int32 & handle ConVarRefAbstract invalidation 2025-02-18 19:45:42 +03:00
GAMMACASE
3ea4c04302 Replace is_literal_type_v usage with is_pod_v
(cherry picked from commit 1569602dfa)
2025-02-15 13:16:39 -05:00
Nicholas Hastings
fc3909c6b6 Add/update protos 2025-02-15 13:05:56 -05:00
Benoist
4be45e926c
CS2 ConVar RE (#154)
* progress report

* clean up flags

* progress report

* remove some debug

* Template the convar class

* progress report

* undo automatic symbol change

* Get rid of ConCommandRefAbstract

* remove debug

* reorganise the headers, and add templated getter/setters

* finish templating job

* fix copyright symbol

* dont break metamod compilation

* template the entire ConVar class

* template change callback

* Use MAX_SPLITSCREEN_CLIENTS for IConVar definition

* split convarhandle once more + template iconvar

* Renaming IConVar and depollute ICVar

* remove static_assert + IDA comments

* renaming struct properties

* undo icommandline change

* make reglist simpler

* Destroy ConCommandBase

* move some functions to baseconvardata

* put cvar values into its own struct

* revise struct

* remove padding

* add back unknown

* finish templating

* fix wrong ret value

* review changes

* small mistake

* setup times changed

* expose handle

* add character_t include to icvar

* Streamline build for others

This commit will be reverted eventually

* Update command completion cb signatures

* Update ConVarValueInfo_t & CConVarBaseData

* Update CCommand

* Update ICvar

* Update ConCommand & cb structs

* Fix few typos

* Add ConVarRefAbstract & update ConVar api

Also a lot of small code reshufflings/cleanup

* Add CCvar

* Cleanup CONVAR_WORK_FINISHED defines

* Few small corrections

* Remove ConCommandBase declaration

* Add concommand/convar register callbacks

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2025-02-15 16:26:37 +00:00
GAMMACASE
680daff5f1 Update CKeyValues_Data 2025-01-23 19:16:17 +03:00
GAMMACASE
533426bc89 Initialize CBufferStringN::m_FixedData 2025-01-16 13:22:50 +03:00
GAMMACASE
d18bab819c Refactor CBufferString 2025-01-16 01:44:00 +03:00
GAMMACASE
33bef10acd Update KeyValues3
Add table member getters/setters & small refactor to other methods
2025-01-15 20:34:37 +03:00
GAMMACASE
f60481c2ae Add KeyValues3 flags related methods 2025-01-15 19:35:19 +03:00
GAMMACASE
4bc240d46a Add CKeyValues3Iterator 2025-01-15 19:14:33 +03:00
GAMMACASE
49191ff748 Update KeyValues3 member & method namings 2025-01-15 18:48:45 +03:00
GAMMACASE
64f3cac5e9 Update IKeyValuesSystem & obsolete public/vstdlib 2025-01-15 17:19:41 +03:00
GAMMACASE
a26ca82e87 Fix CSchemaType::IsA gcc compilation 2025-01-15 16:32:57 +03:00
Nyano
b066d7a11f
Update IVEngineServer2 & INetChannel & INetChannelInfo (#297) 2025-01-15 12:58:01 +03:00
GAMMACASE
4c74b3f66e Correct KeyValues3 array methods 2025-01-15 02:00:51 +03:00
GAMMACASE
192f7339e9 Correct CSchemaSystemTypeScope::m_AtomicsCollectionOfT 2025-01-14 21:59:08 +03:00
GAMMACASE
0ad4360c7f Update CSchemaType 2025-01-14 00:15:40 +03:00
Vladimir
f3b44f206d
Update KeyValues3Context & its allocation lifecycle (#289)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
Co-authored-by: Nyano <dison2233@126.com>
2025-01-01 22:36:06 +03:00
GAMMACASE
769c1ef1b7 Fix clang enum warning
Fixes -Wdeprecated-anon-enum-enum-conversion warnings on clang
2024-12-31 21:13:01 +03:00
Alex
a658a0f7ef
Update CNetworkGameServerBase::ConnectClient args (#290) 2024-12-22 22:21:50 +03:00
GAMMACASE
14e77af283 Update CKeyValues3Context size
Made separately to resolve issues related to CGameEntitySystem and other structs that depend on CKeyValues3Context size, while more concrete update to it is underway
2024-12-20 23:26:19 +03:00
Nyano
8563376c23
Fix CUtlSortVector::QuickSort issues on windows (#283) 2024-11-21 14:01:11 +03:00
Nyano
aeaf0cab87
Update INetChannelInfo (#281) 2024-11-13 12:10:43 +03:00
GAMMACASE
d8dea09acb Update INetChannelInfo 2024-11-02 10:44:28 +03:00
hzqst
8efd4c7507
Update INetChannelInfo, INetChannel & INetworkMessageProcessingPreFilter (#279) 2024-10-30 11:26:59 +03:00
GAMMACASE
7a3acd1ddd Update protobufs 2024-10-16 03:41:12 +03:00
zer0.k
fc4b98f1a7
Fix UtlSortVector member initialization order (#275) 2024-10-09 14:01:07 +03:00
GAMMACASE
16c1ee14de Update ISource2Server 2024-10-08 00:00:16 +03:00
GAMMACASE
09bd9e1872 Fix missing definition in interfaces.lib\.a 2024-10-07 23:04:00 +03:00
GAMMACASE
158405cdcd Update interfaces.lib/.a 2024-10-07 22:00:12 +03:00
GAMMACASE
12040e4bee Update protobufs 2024-10-07 21:58:14 +03:00
GAMMACASE
e311e59189 Update CSplitString 2024-10-07 03:40:38 +03:00
GAMMACASE
f8b8fe219b Update CEntityKeyValues 2024-10-07 01:33:33 +03:00
GAMMACASE
9be8cba344 Cleanup CEntitySystem code 2024-10-06 03:59:03 +03:00
GAMMACASE
6c829238b4 Update CEntitySystem & EventQueuePrioritizedEvent_t 2024-10-05 05:11:24 +03:00
ipsvn
1f1d1580fd
Update CEntitySystem vtable (#273) 2024-10-04 23:35:06 +03:00
GAMMACASE
6af29ea849 Correct return types of V_atoi & V_atof 2024-10-04 23:27:01 +03:00
xen
3c7b355da8
Update IGameSystem (#271) 2024-10-04 16:21:08 +03:00
Poggu
05e47e5611
Correct CSplitString constructors (#272)
Fixes potential crashes and invalid member access
2024-10-04 16:18:59 +03:00
GAMMACASE
9f1d960f6a Improve CUtlStringToken string constructor
Prevent hashing attempts on emtpy or null strings
2024-10-04 03:25:10 +03:00
GAMMACASE
40a9bb9c02 Add V_strcasecmp & V_strncasecmp back 2024-10-04 00:49:05 +03:00
Vladimir
994fb7be03
Update ICommandLine interface & CUtlStringToken (#268)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2024-10-04 00:39:08 +03:00
GAMMACASE
f93146f5f6 Correct V_stristr & V_strnistr args 2024-10-03 23:22:34 +03:00
GAMMACASE
af6a741eee Update KeyValues::SaveToFile 2024-10-03 23:12:08 +03:00
number201724
10dd072737
Update INetChannelInfo (#269) 2024-10-03 22:52:51 +03:00
GAMMACASE
96571c1827 Move strtools to tier0 & update tier1 2024-10-03 22:38:28 +03:00
GAMMACASE
8cc409e37f Update tier0 2024-10-03 17:09:14 +03:00
Poggu
ffbc15d41e
Update CSplitString (#267) 2024-10-03 16:55:30 +03:00
Alex
d2709c880c
Enable memoverride in variant.h (#266) 2024-09-28 18:57:46 +03:00