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) |
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]], known as <code>CUtl</code>. It also provides various other Source-specific features, most notably console commands and variables. | ||
{{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].}} | {{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 | Tier1's source is included in the SDK at <code>\root\tier1\</code>, but since the compiled library (<code>tier1.dll</code>) lives outside the game directory it cannot be changed by mods. It is perfectly possible to copy parts of the Tier1 source over to your own codebase, however. | ||
== Components == | == Components == |
Revision as of 08:08, 24 June 2009
Tier1
contains Valve's version of the Standard Template Library, known as CUtl
. 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 since the compiled library (tier1.dll
) lives outside the game directory it cannot be changed by mods. It is perfectly possible to copy parts of the Tier1 source over to your 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
KeyValues
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