Tier1: Difference between revisions
Jump to navigation
Jump to search
Note:AAA game engines rarely use an operating system's own STL for performance reasons. More details here.
TomEdwards (talk | contribs) (EASTL!) |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
'''<code>Tier1</code>''' contains Valve's version of the [[Wikipedia:Standard Template Library|Standard Template Library]]. It also provides various other Source-specific features, most notably console commands and variables. | '''<code>Tier1</code>''' contains Valve's version of the [[Wikipedia:Standard Template Library|Standard Template Library]]. It also provides various other Source-specific features, most notably console commands and variables. | ||
{{note|AAA game engines rarely use STL for performance reasons. [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html#Motivation More details here].}} | {{note|AAA game engines rarely use an operating system's own STL for performance reasons. [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html#Motivation More details here].}} | ||
Tier1's source is included in the SDK at <code>root\tier1\</code>, but the compiled library shipped with the engine lives outside the game directory and as such cannot be overridden by mods. It is perfectly possible to copy parts of the Tier1 source over to your mod's own codebase, however. | Tier1's source is included in the SDK at <code>root\tier1\</code>, but the compiled library shipped with the engine lives outside the game directory and as such cannot be overridden by mods. It is perfectly possible to copy parts of the Tier1 source over to your mod's own codebase, however. |
Revision as of 05:31, 16 April 2009
Tier1
contains Valve's version of the Standard Template Library. It also provides various other Source-specific features, most notably console commands and variables.

Tier1's source is included in the SDK at root\tier1\
, but the compiled library shipped with the engine lives outside the game directory and as such cannot be overridden by mods. It is perfectly possible to copy parts of the Tier1 source over to your mod's own codebase, however.
Components
This list does not include "variations on a theme". Open Tier1's project and inspect its contents for yourself if you want a complete run-down.
General
bf_read
bf_write
CArrayAutoPtr
CAutoRef
CAutoPushPop
CBitBuffer
CBitRead
CBitWrite
CCommand
CCommandBuffer
CCountedStringPool
CDataManagerBase
CEmptyConVar
CFunctor
CMemoryPool
CMemoryStack
ConCommand
ConVar
CStringPool
CUtl
CUtlBinaryBlock
CUtlBuffer
CUtlCharConversion
CUtlCStringConversion
CUtlDataEnvelope
CUtlDict
CUtlEnvelope
CUtlHandle
CUtlHandleTable
CUtlHash
CUtlInplaceBuffer
CUtlLinkedList
CUtlMap
CUtlMemory
CUtlMultiList
CUtlNoEscConversion
CUtlPriorityQueue
CUtlPtrLinkedList
CUtlQueue
CUtlRBTree
CUtlSortVector
CUtlStack
CUtlString
CUtlStringMap
CUtlSymbol
CUtlSymbolTable
CUtlVector