Commit Graph

17 Commits

Author SHA1 Message Date
GAMMACASE
788e54c210 Update strtools.h
Add quite a bunch of tier0 exported methods as well as update existing ones with sdk2013 support
2025-03-06 22:00:42 +03: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
e311e59189 Update CSplitString 2024-10-07 03:40:38 +03:00
GAMMACASE
6af29ea849 Correct return types of V_atoi & V_atof 2024-10-04 23:27:01 +03:00
GAMMACASE
40a9bb9c02 Add V_strcasecmp & V_strncasecmp back 2024-10-04 00:49:05 +03:00
GAMMACASE
f93146f5f6 Correct V_stristr & V_strnistr args 2024-10-03 23:22:34 +03:00
GAMMACASE
96571c1827 Move strtools to tier0 & update tier1 2024-10-03 22:38:28 +03:00
xen
05d5764701
Copy CUtlStringList from sdk2013 (#238)
Fixes mismatched delete on CUtlStringList usage.
2024-05-12 21:35:04 +03:00
vanz666
c0def21c93
Major refactor of utl* classes (#164)
Changed/Added classes: CThreadMutex, CUtlMemoryBlockAllocator, CRawAllocator, CUtlHashtable, CUtlVector, CUtlMemory, CUtlMemory_RawAllocator, CUtlSymbolLarge, CUtlSymbolTableLargeBase
2023-10-13 20:16:09 +03:00
GAMMACASE
6fd990f46b Few minor fixes 2023-10-01 17:27:56 +03:00
GAMMACASE
5fa3fbeaeb Minor code tweaks 2023-09-27 16:54:58 +00:00
GAMMACASE
cb46fa5234 Add EStringConvertErrorPolicy 2023-09-27 16:54:58 +00:00
GAMMACASE
6a703f7fd0 Add CVariant 2023-09-27 16:54:58 +00:00
Nick Hastings
2c9f711bbd Update ConCommand/ConCommandBase/CCommand/ConCommandHandle 2023-09-27 16:54:58 +00:00
Nicholas Hastings
cd9b331641 Start of Source2 work. 2015-07-09 13:07:26 -04:00
Nicholas Hastings
1200d949cb Add missing CORRECT_PATH_SEPARATOR_S and INCORRECT_PATH_SEPARATOR_S defines.
--HG--
extra : rebase_source : cb6c6b8d501a6ceac9a394bbb2caa0d86098c9b3
2014-03-15 00:56:21 -04:00
Scott Ehlert
c0a96ff1e8 Added original SDK code for Alien Swarm. 2010-07-22 01:46:14 -05:00