Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MapDeCache = Map{ Name: "de_cache", PZero: r2.Point{ X: -1950, Y: 3200, }, Scale: 5.4, } MapDeCanals = Map{ Name: "de_canals", PZero: r2.Point{ X: -2496, Y: 1792, }, Scale: 4, } MapDeCbble = Map{ Name: "de_cbble", PZero: r2.Point{ X: -3840, Y: 3072, }, Scale: 6, } MapDeDust2 = Map{ Name: "de_dust2", PZero: r2.Point{ X: -2400, Y: 3383, }, Scale: 4.4, Rotate: 1, Zoom: 1.1, } MapDeInferno = Map{ Name: "de_inferno", PZero: r2.Point{ X: -2087, Y: 3870, }, Scale: 4.9, } MapDeMirage = Map{ Name: "de_mirage", PZero: r2.Point{ X: -3230, Y: 1713, }, Scale: 5, } MapDeNuke = Map{ Name: "de_nuke", PZero: r2.Point{ X: -3453, Y: 2887, }, Scale: 7, } MapDeOverpass = Map{ Name: "de_overpass", PZero: r2.Point{ X: -4831, Y: 1781, }, Scale: 5.2, } MapDeTrain = Map{ Name: "de_train", PZero: r2.Point{ X: -2477, Y: 2392, }, Scale: 4.7, } )
Pre-defined map translations.
View Source
var MapNameToMap = map[string]Map{ "de_cache": MapDeCache, "de_canals": MapDeCanals, "de_cbble": MapDeCbble, "de_dust2": MapDeDust2, "de_inferno": MapDeInferno, "de_mirage": MapDeMirage, "de_nuke": MapDeNuke, "de_overpass": MapDeOverpass, "de_train": MapDeTrain, }
MapNameToMap translates a map name to a Map.
Functions ¶
This section is empty.
Types ¶
type Map ¶
Map represents a CS:GO map. It contains information required to translate in-game world coordinates to coordinates relative to (0, 0) on the provided map-overviews (radar images).
Click to show internal directories.
Click to hide internal directories.