Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
mapmarkersinfo.c
Go to the documentation of this file.
2 {
3  protected static ref map<int,string> m_MarkerTypes;
4 
5  static void Init()
6  {
7  m_MarkerTypes = new ref map<int,string>;
8 
9  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_BORDER_CROSS,"\\DZ\\gear\\navigation\\data\\map_border_cross_ca.paa");
10  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_BROADLEAF,"\\DZ\\gear\\navigation\\data\\map_broadleaf_ca.paa");
11  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_CAMP,"\\DZ\\gear\\navigation\\data\\map_camp_ca.paa");
12  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_FACTORY,"\\DZ\\gear\\navigation\\data\\map_factory_ca.paa");
13  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_FIR,"\\DZ\\gear\\navigation\\data\\map_fir_ca.paa");
14  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_FIREDEP,"\\DZ\\gear\\navigation\\data\\map_firedep_ca.paa");
15  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_GOVOFFICE,"\\DZ\\gear\\navigation\\data\\map_govoffice_ca.paa");
16  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_HILL,"\\DZ\\gear\\navigation\\data\\map_hill_ca.paa");
17  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_MONUMENT,"\\DZ\\gear\\navigation\\data\\map_monument_ca.paa");
18  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_PALM,"\\DZ\\gear\\navigation\\data\\map_palm_ca.paa");
19  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_POLICE,"\\DZ\\gear\\navigation\\data\\map_police_ca.paa");
20  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_STATION,"\\DZ\\gear\\navigation\\data\\map_station_ca.paa");
21  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_STORE,"\\DZ\\gear\\navigation\\data\\map_store_ca.paa");
22  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_TOURISM,"\\DZ\\gear\\navigation\\data\\map_tourism_ca.paa");
23  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_TRANSMITTER,"\\DZ\\gear\\navigation\\data\\map_transmitter_ca.paa");
24  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_TSHELTER,"\\DZ\\gear\\navigation\\data\\map_tshelter_ca.paa");
25  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_TSIGN,"\\DZ\\gear\\navigation\\data\\map_tsign_ca.paa");
26  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_VIEWPOINT,"\\DZ\\gear\\navigation\\data\\map_viewpoint_ca.paa");
27  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_VINEYARD,"\\DZ\\gear\\navigation\\data\\map_vineyard_ca.paa");
28  RegisterMarkerType(eMapMarkerTypes.MARKERTYPE_MAP_WATERPUMP,"\\DZ\\gear\\navigation\\data\\map_waterpump_ca.paa");
29  }
30 
31  static void RegisterMarkerType(int id, string path)
32  {
33  m_MarkerTypes.Set(id,path);
34  }
35 
36  static string GetMarkerTypeFromID(int id)
37  {
38  return m_MarkerTypes.Get(id);
39  }
40 }
41 
42 enum eMapMarkerTypes
43 {
64  MARKERTYPE_MAX
65 }
MARKERTYPE_MAP_STORE
class MapMarkerTypes MARKERTYPE_MAP_STORE
MARKERTYPE_MAP_MONUMENT
class MapMarkerTypes MARKERTYPE_MAP_MONUMENT
MARKERTYPE_MAP_WATERPUMP
class MapMarkerTypes MARKERTYPE_MAP_WATERPUMP
MARKERTYPE_MAP_TSIGN
class MapMarkerTypes MARKERTYPE_MAP_TSIGN
MARKERTYPE_MAP_TSHELTER
class MapMarkerTypes MARKERTYPE_MAP_TSHELTER
MapMarkerTypes
Definition: mapmarkersinfo.c:1
MARKERTYPE_MAP_HILL
class MapMarkerTypes MARKERTYPE_MAP_HILL
MARKERTYPE_MAP_TOURISM
class MapMarkerTypes MARKERTYPE_MAP_TOURISM
MARKERTYPE_MAP_VINEYARD
class MapMarkerTypes MARKERTYPE_MAP_VINEYARD
MARKERTYPE_MAP_CAMP
class MapMarkerTypes MARKERTYPE_MAP_CAMP
MARKERTYPE_MAP_FIREDEP
class MapMarkerTypes MARKERTYPE_MAP_FIREDEP
map
map
Definition: controlsxboxnew.c:3
MARKERTYPE_MAP_GOVOFFICE
class MapMarkerTypes MARKERTYPE_MAP_GOVOFFICE
MARKERTYPE_MAP_FIR
class MapMarkerTypes MARKERTYPE_MAP_FIR
MARKERTYPE_MAP_BORDER_CROSS
class MapMarkerTypes MARKERTYPE_MAP_BORDER_CROSS
MARKERTYPE_MAP_FACTORY
class MapMarkerTypes MARKERTYPE_MAP_FACTORY
MARKERTYPE_MAP_POLICE
class MapMarkerTypes MARKERTYPE_MAP_POLICE
MARKERTYPE_MAP_VIEWPOINT
class MapMarkerTypes MARKERTYPE_MAP_VIEWPOINT
MARKERTYPE_MAP_TRANSMITTER
class MapMarkerTypes MARKERTYPE_MAP_TRANSMITTER
MARKERTYPE_MAP_BROADLEAF
class MapMarkerTypes MARKERTYPE_MAP_BROADLEAF
MARKERTYPE_MAP_PALM
class MapMarkerTypes MARKERTYPE_MAP_PALM
MARKERTYPE_MAP_STATION
class MapMarkerTypes MARKERTYPE_MAP_STATION
path
string path
Definition: optionselectormultistate.c:135