Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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
};
36
37
//------------------------------------------------------------------------------------------------
39
enum
EMapCursorState
40
{
41
CS_DISABLE
= 0,
42
CS_DEFAULT
= 1,
43
CS_MOVE
= 1<<1,
44
CS_PAN
= 1<<2,
45
CS_ZOOM
= 1<<3,
46
CS_HOVER
= 1<<4,
47
CS_SELECT
= 1<<5,
48
CS_MULTI_SELECTION
= 1<<6,
49
CS_DRAG
= 1<<7,
50
CS_DRAW
= 1<<8,
51
CS_CONTEXTUAL_MENU
= 1<<9,
52
CS_MODIFIER
= 1<<10,
53
CS_ROTATE
= 1<<11,
54
CS_ASSIGN_WP
= 1<<12,
55
CS_SUB_MENU
= 1<<13,
56
CS_DIALOG
= 1<<14,
57
CS_LAST
= 1<<15
58
};
59
60
//------------------------------------------------------------------------------------------------
62
enum
EMapCursorEdgePos
63
{
64
LEFT
= 1,
65
RIGHT
= 2,
66
TOP
= 4,
67
BOTTOM
= 8
68
};
69
70
//------------------------------------------------------------------------------------------------
72
enum
EMapCursorSelectType
73
{
74
RECTANGLE
,
75
CIRCLE
76
};
77
78
//------------------------------------------------------------------------------------------------
80
enum
EMapOtherComponents
81
{
82
NONE
= 0,
83
LEGEND_SCALE
= 1,
84
GRID
= 2
85
};
CS_DRAW
@ CS_DRAW
Definition:
SCR_MapConstants.c:50
EMapCursorState
EMapCursorState
Map cursor state.
Definition:
SCR_MapConstants.c:39
RIGHT
@ RIGHT
Definition:
SCR_MapConstants.c:65
CS_PAN
@ CS_PAN
Definition:
SCR_MapConstants.c:44
EMapCursorEdgePos
EMapCursorEdgePos
Flags for when cursor is placed on screen edges.
Definition:
SCR_MapConstants.c:62
EMapPanMode
EMapPanMode
Panning modes.
Definition:
SCR_MapConstants.c:19
DRAG
@ DRAG
Definition:
SCR_MapConstants.c:21
CS_LAST
@ CS_LAST
Definition:
SCR_MapConstants.c:57
EDITOR
@ EDITOR
Definition:
SCR_MapConstants.c:31
CS_MOVE
@ CS_MOVE
Definition:
SCR_MapConstants.c:43
SPAWNSCREEN
@ SPAWNSCREEN
Definition:
SCR_MapConstants.c:32
CS_DRAG
@ CS_DRAG
Definition:
SCR_MapConstants.c:49
CS_ASSIGN_WP
@ CS_ASSIGN_WP
Definition:
SCR_MapConstants.c:54
CS_MULTI_SELECTION
@ CS_MULTI_SELECTION
Definition:
SCR_MapConstants.c:48
MINIMAP
@ MINIMAP
Definition:
SCR_MapConstants.c:33
CS_MODIFIER
@ CS_MODIFIER
Definition:
SCR_MapConstants.c:52
CS_HOVER
@ CS_HOVER
Definition:
SCR_MapConstants.c:46
CS_DIALOG
@ CS_DIALOG
Definition:
SCR_MapConstants.c:56
CS_ROTATE
@ CS_ROTATE
Definition:
SCR_MapConstants.c:53
VERTICAL
@ VERTICAL
Definition:
SCR_MapConstants.c:23
FULLSCREEN
@ FULLSCREEN
Definition:
SCR_MapConstants.c:30
EMapCursorSelectType
EMapCursorSelectType
Map cursor multiselection type.
Definition:
SCR_MapConstants.c:72
BOTTOM
@ BOTTOM
Definition:
SCR_MapConstants.c:67
CIRCLE
@ CIRCLE
Definition:
SCR_MapConstants.c:75
CS_CONTEXTUAL_MENU
@ CS_CONTEXTUAL_MENU
Definition:
SCR_MapConstants.c:51
RECTANGLE
@ RECTANGLE
Definition:
SCR_MapConstants.c:74
EMapOtherComponents
EMapOtherComponents
Map components which are not part of the component system.
Definition:
SCR_MapConstants.c:80
PLAIN
@ PLAIN
Definition:
SCR_MapConstants.c:34
CS_SUB_MENU
@ CS_SUB_MENU
Definition:
SCR_MapConstants.c:55
LEGEND_SCALE
@ LEGEND_SCALE
Definition:
SCR_MapConstants.c:83
SCR_MapConstants
Definition:
SCR_MapConstants.c:2
CS_SELECT
@ CS_SELECT
Definition:
SCR_MapConstants.c:47
CS_DISABLE
@ CS_DISABLE
Definition:
SCR_MapConstants.c:41
EMapEntityMode
EMapEntityMode
Mode of the map.
Definition:
SCR_MapConstants.c:28
LEFT
@ LEFT
Definition:
SCR_MapConstants.c:64
NONE
@ NONE
Definition:
SCR_MapConstants.c:82
GRID
@ GRID
Definition:
SCR_MapConstants.c:84
TOP
@ TOP
Definition:
SCR_MapConstants.c:66
CS_ZOOM
@ CS_ZOOM
Definition:
SCR_MapConstants.c:45
CS_DEFAULT
@ CS_DEFAULT
Definition:
SCR_MapConstants.c:42
HORIZONTAL
@ HORIZONTAL
Definition:
SCR_MapConstants.c:22
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Map
SCR_MapConstants.c
Generated by
1.8.17