Commit Graph

85 Commits

Author SHA1 Message Date
GAMMACASE
10aaf6c8ec Separate common method from kv3 headers 2025-08-21 22:29:40 +03:00
Pavel Djundik
c53c19f991 Remove register from generichash (#309) 2025-05-17 16:10:35 -04:00
Nick Hastings
73e64e0fbb Fix file encoding 2025-05-17 14:13:32 -04:00
GAMMACASE
f68cb313fe Update ICvar interface 2025-05-12 20:31:06 +03:00
GAMMACASE
402cd670d5 Fix invalid memory access in ConVarRefAbstract::SetValueInternal 2025-03-19 00:30:36 +03:00
GAMMACASE
df9c778410 Correct CKeyValues3Context::Clear/Purge 2025-03-19 00:30:34 +03:00
GAMMACASE
4f250e6e81 Correct FCVAR flags being int32 & handle ConVarRefAbstract invalidation 2025-02-18 19:45: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
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
Vladimir
f3b44f206d
Update KeyValues3Context & its allocation lifecycle (#289)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
Co-authored-by: Nyano <dison2233@126.com>
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
vanz696
b2301a9ac3
Add CEntityKeyValues, EntityInstanceIter_t, EntityInstanceByNameIter_t, EntityInstanceByClassIter_t & other stuff (#183)
* Replace g_pEntitySystem with GameEntitySystem() function;
* KeyValues3, CGameSystem & CVariant updates;
2023-12-23 20:03:58 +03:00
Nick Hastings
d7fc96f1e9 Remove utlsymbol.cpp from tier1 vcxproj 2023-12-17 12:22:53 -05:00
zer0.k
6965e3e702
Update CUtlSymbolTable and tier1 project file (#190)
* Update CUtlSymbolTable and tier1 project file

* Fix unintended change

* change nullptr to NULL

* Remove utlsymbol

* Fix CUtlStringMap using the wrong variable

* Add default null value to the new argument

* Remove unneeded parameter in CUtlStringMap operator[]

* fix makefile line ending
2023-12-17 17:12:51 +00:00
GAMMACASE
dc3346780d Minor fixups 2023-11-19 16:05:18 +03:00
vanz666
bf82ba994d
Add KeyValues3 & CUtlLeanVector (#177) 2023-11-18 22:19:28 +03:00
Nick Hastings
62490710ed Update libs. 2023-10-13 14:51:08 -04: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
Juice
4c5294550f
Update IGameEvent (#155)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2023-10-09 00:16:21 +03:00
Poggu
05a5907e05
Rename byteswap to cbyteswap (#140)
Resolves include collision with protobuf dependency
2023-10-01 16:41:15 +03:00
GAMMACASE
924e0d9a67 Update tier1.lib 2023-09-27 16:54:58 +00:00
zer0.k
62c3df6af5 Update bitbuf to match sdk2013 2023-09-27 16:54:58 +00:00
GAMMACASE
4a6540eb29 Update tier1 VS project 2023-09-27 16:54:58 +00:00
Dora
02485a3c85 Update CUtlString & obsolete utlstring.cpp 2023-09-27 16:54:58 +00:00
GAMMACASE
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
Nick Hastings
d24cab911f Strip CUtlBuffer defined functions from tier1 lib 2023-09-27 16:54:58 +00:00
Nick Hastings
2541d89f62 Rework ConCommandRegList 2023-09-27 16:54:58 +00:00