402cd670d5
Fix invalid memory access in ConVarRefAbstract::SetValueInternal
2025-03-19 00:30:36 +03:00
4f250e6e81
Correct FCVAR flags being int32 & handle ConVarRefAbstract invalidation
2025-02-18 19:45:42 +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
0048b058e6
Fix command registration
...
This prevents static initialization problem that was arising where CUtlVector constructor was called after commands were added to it, resulting in an empty list when it gets to the registration step
2023-09-27 16:54:58 +00:00
2541d89f62
Rework ConCommandRegList
2023-09-27 16:54:58 +00:00
311c966f97
Fix late-registered ConCommands not saving handle
2023-09-27 16:54:58 +00:00
e11c4e69b1
Really fix convar linking errors
2023-09-27 16:54:58 +00:00
f32ff65c1b
Fix linking errors and var name typos in ConVar/ConCommand reg lists
2023-09-27 16:54:58 +00:00
2c9f711bbd
Update ConCommand/ConCommandBase/CCommand/ConCommandHandle
2023-09-27 16:54:58 +00:00
27fe1b091f
Update ConVar flags for ConVar_Register to use correct type ( alliedmodders/metamod-source#42 ).
2018-03-14 18:09:45 -04:00
3940eefc90
Update ConVar flags to use int64 everywhere. ( alliedmodders/metamod-source#42 )
...
Still needs tier1 recompile.
2018-03-13 17:54:16 -04:00
ebb0e1ea3b
Fix randomish issues with command callbacks.
...
Also implemented ctors for remaining variants.
2016-08-29 19:16:45 -04:00
e7e04dc259
Hack-fix ConVar / ConCommandBase.
...
Not sure what these new GetXVirtualized are for. They seem to have their own stored values,
but were only added when Server-bounded convars were also touched (and implementing these).
2015-10-19 15:53:41 -04:00
4e0f6d3c60
Fix ConVar and ConCommands
2015-07-09 13:10:10 -04:00
cd9b331641
Start of Source2 work.
2015-07-09 13:07:26 -04:00
a0bb9c48cf
Fix command callbacks
2014-08-28 19:42:10 +02:00
b4f7c7966a
Did a pass of updating/fixing now that symbol info is available.
2013-07-12 02:25:04 -04:00
bac49f4e16
Updated IFileSystem, IKeyValuesSystem, ConCommand and tier1 lib for 2013-04-19 game update.
2013-04-22 18:57:11 -04:00
fb701bd569
Added reverse-engineered interfaces lib code and hacked up tier1 and mathlib to build against the newer headers.
2012-05-21 02:49:35 -05:00
afaa180bbc
Imported tier1 and mathlib code from L4D2 SDK.
2012-05-21 02:48:36 -05:00