Commit Graph
101 Commits
Author SHA1 Message Date
Michal 5b0bac14e4 Reset cvar/cmd reg list roots in ConVar_Unregister (#429) 2026-09-25 22:03:56 +03:00
GAMMACASE 733bdd4e0e Extend ConVar_Unregister to actually unregister all cvars/cmds 2026-09-25 17:46:06 +03:00
GAMMACASE eb07582a80 Expose ConCommand/ConVarRegList to convar.h 2026-09-24 19:26:28 +03:00
GAMMACASE 14fb2ab68b Fix invalid memory access on CKeyValues3Table resize 2026-08-18 19:24:38 +03:00
GAMMACASE b6f05e3742 Obsolete tier1.lib/.a & optimize murmurhash2 inlining 2026-07-17 17:54:07 +03:00
Juniper f51059ea43 Transition CCommandBuffer to tier0 (#399) 2026-07-17 17:54:06 +03:00
JuniperandGAMMACASE a6b56d5af6 Transition CUtlMemory to CUtlVectorMemory & add CUtlVectorBase (#401)
Co-authored-by: GAMMACASE <[email protected]>
2026-07-17 17:54:06 +03:00
GAMMACASE ab11e58622 Fix initialization order of KeyValues3 members 2026-06-27 18:29:06 +03:00
Michal 71d53abceb Replace CKeyValues3Context with CKV3Arena (#370) 2026-03-20 18:08:45 +03:00
ipsvn b64de8fc17 Replace unsigned long with uint32 in bitbuf (#364) 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 25144b8afa Fix CKeyValues3Table::CopyFrom not updating m_nCount 2025-10-21 14:03:11 +03:00
GAMMACASE b18c8d285a Fix CKeyValues3Context::AllocString returning nullptr on empty strings 2025-08-12 16:53:22 +03:00
Alex 646d08fe4d Correct multiple consts declarations x2 (#327) 2025-08-12 16:52:57 +03:00
GAMMACASE 5f055a725d Update CKeyValues3Table & CKV3MemberName 2025-08-12 16:52:56 +03:00
GAMMACASE 31cf1efba3 Separate common method from kv3 headers 2025-06-05 16:34:12 +03:00
GAMMACASE e1080568a2 Update ICvar interface 2025-05-30 16:41:24 +03:00
Pavel Djundik bb26f8301c Remove register from generichash (#309) 2025-05-17 16:13:50 -04:00
Nick Hastings e4cf9ea19b Fix file encoding 2025-05-17 14:14:47 -04:00
GAMMACASE fbe93e1528 Fix invalid memory access in ConVarRefAbstract::SetValueInternal 2025-03-19 00:35:07 +03:00
GAMMACASE afcef9c62c Correct CKeyValues3Context::Clear/Purge 2025-03-19 00:35:06 +03:00
GAMMACASE 9a90836ad5 Correct FCVAR flags being int32 & handle ConVarRefAbstract invalidation 2025-02-18 19:46:53 +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 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 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 4c74b3f66e Correct KeyValues3 array methods 2025-01-15 02:00:51 +03:00
f3b44f206d Update KeyValues3Context & its allocation lifecycle (#289)
Co-authored-by: GAMMACASE <[email protected]>
Co-authored-by: Nyano <[email protected]>
2025-01-01 22:36:06 +03:00
GAMMACASE 96571c1827 Move strtools to tier0 & update tier1 2024-10-03 22:38:28 +03:00
vanz696 aaaaaf040b Update CUtlMemoryPoolBase after 4/2/2024 update (#228)
Also updates tier0/tslist.h to sdk2013 variant and other minor stuff.
2024-04-06 23:49:28 +03:00
GAMMACASE c5587c0fb6 Update tier1.lib/.a 2024-03-18 22:12:30 +03:00
GAMMACASE 0279aeec58 Move stringpool to tier0 2024-03-18 22:06:03 +03:00
GAMMACASE 73330a3aab Move memstack to tier0 2024-03-18 20:49:04 +03:00
GAMMACASE 3162069064 Move netadr to tier0 2024-03-18 19:13:05 +03:00
GAMMACASE ed76beac38 Move uniqueid to tier0 2024-03-18 18:52:28 +03:00
GAMMACASE de0818842b Remove undiff.cpp 2024-03-18 18:35:19 +03:00
GAMMACASE 391f9e7427 Update tier1.lib/.a 2024-03-18 18:34:40 +03:00
GAMMACASE 973e91c238 Update generichash.cpp/.h 2024-03-18 18:09:38 +03:00
GAMMACASE cce0b8346d Move diff.cpp to tier0 2024-03-18 17:06:56 +03:00
GAMMACASE 2effcaf546 Move checksum_md5 to tier0 2024-03-18 17:03:12 +03:00
GAMMACASE 49322fef51 Move checksum_crc to tier0 2024-03-18 16:59:18 +03:00
GAMMACASE df5e86e662 Move CharacterSetBuild to tier0 2024-03-18 16:50:07 +03:00
GAMMACASE 4e5b79207c Move CByteswap to tier0 2024-03-18 16:46:21 +03:00
GAMMACASE a901844549 Obsolete processor_detect.cpp 2024-03-18 16:41:18 +03:00
GAMMACASE 7a7f8b9cb6 Obsolete datamanager.cpp/.h 2024-03-18 15:59:22 +03:00
GAMMACASE 139e609877 Update bf_write/read classes
Also use correct variant of WriteUBitVar/ReadUBitVar
2024-03-18 15:57:08 +03:00
vanz696 ab21c70896 Add schemasystem (#215)
Update CUtlMemoryPool*, CUtlSymbol*, CUtlTSHash, CThreadSpinRWLock, CThreadFastMutex (now replaced by CThreadSpinMutex)

Implemented some missing ThreadInterlocked* functions
2024-03-18 15:46:20 +03:00
vanz696 92bffa0578 Various updates to CEntityClass, CEntityInstance & CUtlDict (#196) 2024-01-26 05:11:01 +03:00