Commit Graph
32 Commits
Author SHA1 Message Date
GAMMACASE e430ed64e7 Update ICvar missing arg 2026-10-06 21:21:45 +03:00
GAMMACASE 3d6cce128b Update ICvar & CCvar 2026-06-27 15:03:53 +03:00
TrueProfesional 553ff70b34 Fix -Wshadow compilation errors (#373) 2026-03-20 18:08:47 +03:00
GAMMACASE bc258dd1da Replace CThreadMutex with CAtomicMutex 2026-03-20 18:08:44 +03:00
GAMMACASE b6ef458c93 Update ICvar & Cvar structs 2026-03-20 18:08:40 +03:00
GAMMACASE 71efa4b6bd Update ICvar, ConVarData & ConVarValueInfo_t 2026-03-20 18:08:22 +03:00
GAMMACASE 850ef33985 Update CNetworkGameServerBase 2025-08-12 16:53:23 +03:00
zer0.k 13543fe483 Update ISource2GameClients (#330) 2025-08-12 16:53:22 +03:00
GAMMACASE e1080568a2 Update ICvar interface 2025-05-30 16:41:24 +03:00
GAMMACASE 7c6a7f9edb Update ICvar 2025-02-19 22:38:30 +03:00
GAMMACASE 050bcda98a Update ConVarValueInfo_t 2025-02-19 22:19:24 +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 <[email protected]>
Co-authored-by: GAMMACASE <[email protected]>
2025-02-15 16:26:37 +00:00
GAMMACASE a8c0e4f903 A lot of minor edits/fixes 2023-09-27 16:54:58 +00:00
GAMMACASE 34ed3d0ce4 Update ICvar interface 2023-09-27 16:54:58 +00:00
Nick Hastings 2c9f711bbd Update ConCommand/ConCommandBase/CCommand/ConCommandHandle 2023-09-27 16:54:58 +00:00
Nick Hastings 5dd1b962bb Fix RegisterCommand params 2023-09-27 16:54:58 +00:00
Nick Hastings 7c0eabfd64 Fix return type on TakeConVarSnapshot 2023-09-27 16:54:58 +00:00
GAMMACASE 8cf41ac590 Update ICvar 2023-09-27 16:54:58 +00:00
GAMMACASE e56c443c09 Update ICvar, ConVar & ConCommand classes 2023-09-27 16:54:58 +00:00
GAMMACASE 11fc23faa0 Update ICreationListenerCallbacks class 2023-09-27 16:54:58 +00:00
GAMMACASE e0a0248b17 Restructure convar.h and icvar.h 2023-09-27 16:54:58 +00:00
GAMMACASE f93cf9311b Remove iconvar.h 2023-09-27 16:54:58 +00:00
GAMMACASE dcfee62c58 Further ICVar reversal 2023-09-27 16:54:58 +00:00
GAMMACASE f0d39355d6 Small struct and class adjastments 2023-09-27 16:54:58 +00:00
GAMMACASE 2460e77afe ConVar rework initial 2023-09-27 16:54:58 +00:00
Nicholas Hastings cd9b331641 Start of Source2 work. 2015-07-09 13:07:26 -04:00
Scott Ehlert 84ff4858a8 More fixes for GCC and Clang builds. 2014-03-02 00:56:59 -06:00
Scott Ehlert 755381dc49 Various fixes for building static libs on Mac OS X and Linux. 2014-03-01 13:28:50 -06:00
Nicholas Hastings 012383f7c5 Added missing virtual destructor to ICVarIteratorInternal. 2013-03-01 17:33:45 -05:00
Scott Ehlert 4fb33274fb Fixed compiler error in icvar.h when memalloc.h wasn't included (bug 5159). 2011-11-03 14:02:10 -05:00
Scott Ehlert e208562b7e IMemAlloc::Free now used in ICvar::Iterator destructor. 2010-07-22 14:36:34 -05:00
Scott Ehlert c0a96ff1e8 Added original SDK code for Alien Swarm. 2010-07-22 01:46:14 -05:00