neverlosecc / source2gen

Source2 games SDK generator
http://s2gen.com
Apache License 2.0
193 stars 31 forks source link

:circus_tent: #42

Closed cpz closed 3 months ago

cpz commented 3 months ago
  1. Add CThreadSpinMutex
  2. Update CUtlMap
  3. Add CUtlRBTree
  4. Fix CUtlTsHash2 with index check, so no more random crashes related to "host"
  5. SchemaEnumInfoData_t was updated (with new SchemaEnumFlags_t enum)
  6. Add CanReinterpretAs to CSchemaType
  7. Minor changes like miss-spelling C_BaseEntity with C_BaseInstance
  8. Add GetDeclaredClasses with GetDeclaredEnums to CSchemaTypeScope
cpz commented 3 months ago

I saw that some people doing their own schema dumpers based on CSchemaType_DeclaredClass\CSchemaType_DeclaredEnum instead of CUtlTsHash implementation, so, I've added these to our s2gen (may be can be useful 4 someone and someone can make another s2gen based on these CSchemaPtrMaps)