Tier1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(EASTL!)
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.


Its 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 <code>tier1</code> source over to your mod's own codebase, however.
{{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].}}
 
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.


== Components ==
== Components ==


This list does not include "variations on a theme". Open <code>tier1</code>'s project and inspect its contents for yourself if you want a complete run-down.
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 ===
=== General ===

Revision as of 13:35, 20 March 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.

Note.pngNote:AAA game engines rarely use STL for performance reasons. More details here.

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

CUtl