Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_MapConstants.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_MapConstants
3
{
4
const
int
CANVAS_COMMAND_VERTICES_LIMIT = 400;
// hardcoded in ENF, should be increased on req
5
const
float
MAX_PIX_PER_METER = 20;
// maximal possible zoom in the form of max allowed PixelPerUnit value
6
7
const
string
MAP_FRAME_NAME =
"MapFrame"
;
// name of the map.layout frame within mapmenu layout
8
const
string
MAP_WIDGET_NAME =
"MapWidget"
;
// name of the MapWidget within map layout
9
const
string
DRAWING_WIDGET_NAME =
"DrawingWidget"
;
// name of the CanvasWidget for drawing within map layout
10
const
string
DRAWING_CONTAINER_WIDGET_NAME =
"DrawingContainer"
;
//name of FrameWidget for creating drawn lines on map
11
const
string
CFG_LAYERS_DEFAULT =
"{3CAC09C3E89190F7}Configs/Map/MapLayersDefault.conf"
;
12
const
string
CFG_PROPS_DEFAULT =
"{AF65563F653FED68}Configs/Map/MapPropsDefault.conf"
;
13
const
string
CFG_DESCTYPES_DEFAULT =
"{FF6B20825D4A566C}Configs/Map/MapDescriptorDefaults.conf"
;
14
const
string
CFG_DESCVIEW_DEFAULT =
"{4FFDB559B60FC7BC}Configs/Map/MapDescriptorVisibilityDefault.conf"
;
15
};
16
17
//------------------------------------------------------------------------------------------------
19
enum
EMapPanMode
20
{
21
DRAG
= 0,
// drag from center pan
22
HORIZONTAL
= 1,
// horizontal pan
23
VERTICAL
= 2,
// vertical pan
24
};
25
26
//------------------------------------------------------------------------------------------------
28
enum
EMapEntityMode
29
{
30
FULLSCREEN
= 1,
31
EDITOR
,
32
SPAWNSCREEN
,
33
MINIMAP
,
34
PLAIN
,
35
TUTORIALFASTTRAVEL
,
36
COMBAT_SUPPORT_STATION
,
37
OPERATIONS_STATION
,
38
LOGISTICS_STATION
,
39
};
40
41
//------------------------------------------------------------------------------------------------
43
enum
EMapCursorState
44
{
45
CS_DISABLE
= 0,
46
CS_DEFAULT
= 1,
47
CS_MOVE
= 1<<1,
48
CS_PAN
= 1<<2,
49
CS_ZOOM
= 1<<3,
50
CS_HOVER
= 1<<4,
51
CS_SELECT
= 1<<5,
52
CS_MULTI_SELECTION
= 1<<6,
53
CS_DRAG
= 1<<7,
54
CS_DRAW
= 1<<8,
55
CS_CONTEXTUAL_MENU
= 1<<9,
56
CS_MODIFIER
= 1<<10,
57
CS_ROTATE
= 1<<11,
58
CS_ASSIGN_WP
= 1<<12,
59
CS_SUB_MENU
= 1<<13,
60
CS_DIALOG
= 1<<14,
61
CS_COMMAND_POSITIVE
= 1<<15,
62
CS_COMMAND_NEGATIVE
= 1<<16,
63
CS_LAST
= 1<<17
64
};
65
66
//------------------------------------------------------------------------------------------------
68
enum
EMapCursorEdgePos
69
{
70
LEFT
= 1,
71
RIGHT
= 2,
72
TOP
= 4,
73
BOTTOM
= 8
74
};
75
76
//------------------------------------------------------------------------------------------------
78
enum
EMapCursorSelectType
79
{
80
RECTANGLE
,
81
CIRCLE
82
};
83
84
//------------------------------------------------------------------------------------------------
86
enum
EMapOtherComponents
87
{
88
NONE
= 0,
89
LEGEND_SCALE
= 1,
90
GRID
= 2
91
};
EDITOR
@ EDITOR
Definition
SCR_AISetting.c:5
VERTICAL
@ VERTICAL
Definition
SCR_AnalyticsApplication.c:5
HORIZONTAL
@ HORIZONTAL
Definition
SCR_AnalyticsApplication.c:4
RECTANGLE
@ RECTANGLE
Rectangle shape that has a width and length.
Definition
SCR_BaseAreaMeshComponent.c:258
EMapPanMode
EMapPanMode
Panning modes.
Definition
SCR_MapConstants.c:20
EMapCursorState
EMapCursorState
Map cursor state.
Definition
SCR_MapConstants.c:44
CS_COMMAND_NEGATIVE
@ CS_COMMAND_NEGATIVE
Definition
SCR_MapConstants.c:62
CS_CONTEXTUAL_MENU
@ CS_CONTEXTUAL_MENU
Definition
SCR_MapConstants.c:55
CS_DISABLE
@ CS_DISABLE
Definition
SCR_MapConstants.c:45
CS_DRAG
@ CS_DRAG
Definition
SCR_MapConstants.c:53
CS_COMMAND_POSITIVE
@ CS_COMMAND_POSITIVE
Definition
SCR_MapConstants.c:61
CS_PAN
@ CS_PAN
Definition
SCR_MapConstants.c:48
CS_MOVE
@ CS_MOVE
Definition
SCR_MapConstants.c:47
CS_SELECT
@ CS_SELECT
Definition
SCR_MapConstants.c:51
CS_ZOOM
@ CS_ZOOM
Definition
SCR_MapConstants.c:49
CS_MULTI_SELECTION
@ CS_MULTI_SELECTION
Definition
SCR_MapConstants.c:52
CS_DRAW
@ CS_DRAW
Definition
SCR_MapConstants.c:54
CS_ROTATE
@ CS_ROTATE
Definition
SCR_MapConstants.c:57
CS_DIALOG
@ CS_DIALOG
Definition
SCR_MapConstants.c:60
CS_DEFAULT
@ CS_DEFAULT
Definition
SCR_MapConstants.c:46
CS_LAST
@ CS_LAST
Definition
SCR_MapConstants.c:63
CS_ASSIGN_WP
@ CS_ASSIGN_WP
Definition
SCR_MapConstants.c:58
CS_SUB_MENU
@ CS_SUB_MENU
Definition
SCR_MapConstants.c:59
CS_HOVER
@ CS_HOVER
Definition
SCR_MapConstants.c:50
CS_MODIFIER
@ CS_MODIFIER
Definition
SCR_MapConstants.c:56
EMapCursorEdgePos
EMapCursorEdgePos
Flags for when cursor is placed on screen edges.
Definition
SCR_MapConstants.c:69
EMapEntityMode
EMapEntityMode
Mode of the map.
Definition
SCR_MapConstants.c:29
LOGISTICS_STATION
@ LOGISTICS_STATION
Definition
SCR_MapConstants.c:38
SPAWNSCREEN
@ SPAWNSCREEN
Definition
SCR_MapConstants.c:32
MINIMAP
@ MINIMAP
Definition
SCR_MapConstants.c:33
OPERATIONS_STATION
@ OPERATIONS_STATION
Definition
SCR_MapConstants.c:37
FULLSCREEN
@ FULLSCREEN
Definition
SCR_MapConstants.c:30
TUTORIALFASTTRAVEL
@ TUTORIALFASTTRAVEL
Definition
SCR_MapConstants.c:35
PLAIN
@ PLAIN
Definition
SCR_MapConstants.c:34
COMBAT_SUPPORT_STATION
@ COMBAT_SUPPORT_STATION
Definition
SCR_MapConstants.c:36
EMapCursorSelectType
EMapCursorSelectType
Map cursor multiselection type.
Definition
SCR_MapConstants.c:79
CIRCLE
@ CIRCLE
Definition
SCR_MapConstants.c:81
EMapOtherComponents
EMapOtherComponents
Map components which are not part of the component system.
Definition
SCR_MapConstants.c:87
LEGEND_SCALE
@ LEGEND_SCALE
Definition
SCR_MapConstants.c:89
GRID
@ GRID
Definition
SCR_MapConstants.c:90
SCR_MapConstants
Definition
SCR_MapConstants.c:3
NONE
@ NONE
When Shape is created and not initialized yet.
Definition
ShapeType.c:15
LEFT
@ LEFT
navigation
Definition
GamepadTrigger.c:14
RIGHT
@ RIGHT
Definition
GamepadTrigger.c:15
DRAG
@ DRAG
probably needed only for consoles
Definition
ControlID.c:26
BOTTOM
class WidgetType BOTTOM
Definition
DistanceType.c:16
TOP
class WidgetType TOP
Definition
DistanceType.c:14
scripts
Game
Map
SCR_MapConstants.c
Generated by
1.17.0