1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

27 Commits

Author SHA1 Message Date
e0e3380c9f Update ICvar, ConVarData & ConVarValueInfo_t 2025-08-15 02:38:48 +03:00
36df1737c0 Update CNetworkGameServerBase 2025-08-09 15:07:50 +03:00
4f01115f08 Update ISource2GameClients (#330) 2025-08-08 14:43:38 +03:00
e32289e065 Update ICvar 2025-07-31 19:55:58 +03:00
6f4d1c36cf Update ConVarValueInfo_t 2025-07-31 19:55:46 +03:00
bd6fe1a547 Update ICvar interface 2025-07-31 17:28:47 +03:00
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
a8c0e4f903 A lot of minor edits/fixes 2023-09-27 16:54:58 +00:00
34ed3d0ce4 Update ICvar interface 2023-09-27 16:54:58 +00:00
2c9f711bbd Update ConCommand/ConCommandBase/CCommand/ConCommandHandle 2023-09-27 16:54:58 +00:00
5dd1b962bb Fix RegisterCommand params 2023-09-27 16:54:58 +00:00
7c0eabfd64 Fix return type on TakeConVarSnapshot 2023-09-27 16:54:58 +00:00
8cf41ac590 Update ICvar 2023-09-27 16:54:58 +00:00
e56c443c09 Update ICvar, ConVar & ConCommand classes 2023-09-27 16:54:58 +00:00
11fc23faa0 Update ICreationListenerCallbacks class 2023-09-27 16:54:58 +00:00
e0a0248b17 Restructure convar.h and icvar.h 2023-09-27 16:54:58 +00:00
f93cf9311b Remove iconvar.h 2023-09-27 16:54:58 +00:00
dcfee62c58 Further ICVar reversal 2023-09-27 16:54:58 +00:00
f0d39355d6 Small struct and class adjastments 2023-09-27 16:54:58 +00:00
2460e77afe ConVar rework initial 2023-09-27 16:54:58 +00:00
cd9b331641 Start of Source2 work. 2015-07-09 13:07:26 -04:00
84ff4858a8 More fixes for GCC and Clang builds. 2014-03-02 00:56:59 -06:00
755381dc49 Various fixes for building static libs on Mac OS X and Linux. 2014-03-01 13:28:50 -06:00
012383f7c5 Added missing virtual destructor to ICVarIteratorInternal. 2013-03-01 17:33:45 -05:00
4fb33274fb Fixed compiler error in icvar.h when memalloc.h wasn't included (bug 5159). 2011-11-03 14:02:10 -05:00
e208562b7e IMemAlloc::Free now used in ICvar::Iterator destructor. 2010-07-22 14:36:34 -05:00
c0a96ff1e8 Added original SDK code for Alien Swarm. 2010-07-22 01:46:14 -05:00