Tier1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
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 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 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.

Note.pngNote:AAA game engines rarely use an operating system's own STL for performance reasons. More details here.

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

CUtl