Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SystemHelper.c
Go to the documentation of this file.
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
23enum SCR_EResolutionName
24{
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}
class SCR_SystemHelper E720p
class SCR_SystemHelper E2160p
class SCR_SystemHelper E1080p
class SCR_SystemHelper E480p
class SCR_SystemHelper E1440p
@ INVALID
Missing components, or obstruction test was not possible.