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_SystemHelper.c
Go to the documentation of this file.
1
class
SCR_SystemHelper
2
{
3
static
SCR_EResolutionName GetResolutionName(
int
width,
int
height)
4
{
5
if
(width == 640 && height == 480)
6
return
SCR_EResolutionName.E480p;
7
else
if
(width == 1280 && height == 720)
8
return
SCR_EResolutionName.E720p;
9
else
if
(width == 1920 && height == 1080)
10
return
SCR_EResolutionName.E1080p;
11
else
if
(width == 2560 && height == 1440)
12
return
SCR_EResolutionName.E1440p;
13
else
if
(width == 3840 && height == 2160)
14
return
SCR_EResolutionName.E2160p;
15
else
if
(width == 7680 && height == 4320)
16
return
SCR_EResolutionName.E4320p;
17
18
return
SCR_EResolutionName.INVALID;
19
}
20
21
}
22
23
enum
SCR_EResolutionName
24
{
25
INVALID
,
26
E480p
,
// 640 x 480
27
E720p
,
// 1280 x 720
28
E1080p
,
// 1920 x 1080
29
E1440p
,
// 2560 x 1440
30
E2160p
,
// 3840 x 2160
31
E4320p
// 7680 x 4320
32
}
E720p
class SCR_SystemHelper E720p
E2160p
class SCR_SystemHelper E2160p
E1080p
class SCR_SystemHelper E1080p
E480p
class SCR_SystemHelper E480p
E1440p
class SCR_SystemHelper E1440p
SCR_SystemHelper
Definition
SCR_SystemHelper.c:2
INVALID
@ INVALID
Missing components, or obstruction test was not possible.
Definition
WindingOrder.c:16
scripts
Game
Helpers
SCR_SystemHelper.c
Generated by
1.17.0