DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
PPEConstants.c
См. документацию.
1
27
29{
30 NONE = 0;
31 GAMEPLAY_EFFECTS = 2;
32 MENU_EFFECTS = 4;
33 MISC_EFFECTS = 8;
34 ALL = 14; //GAMEPLAY_EFFECTS|MENU_EFFECTS|MISC_EFFECTS
35};
36
50
53{
54 LOWEST, //only lowest value gets used. Note - if first request, it is compared against default values!
55 HIGHEST, //only highest value gets used. Note - if first request, it is compared against default values!
56 ADD, //LINEAR addition
57 ADD_RELATIVE, //LINEAR relative addition (relative to diff between current and max, where applicable. Otherwise used as absolute addition)
58 SUBSTRACT, //LINEAR substraction
59 SUBSTRACT_RELATIVE, //LINEAR relative substraction
60 SUBSTRACT_REVERSE, //LINEAR sub. target from dst
61 SUBSTRACT_REVERSE_RELATIVE, //LINEAR relative sub. target from dst
62 MULTIPLICATIVE, //LINEAR multiplication
63 SET, //sets the value, does not terminate possible further calculations
64 OVERRIDE //does not interact; sets the value, and terminates possible further calculations. Use with care, preferred use is SET with higher priority command
65};
66
67class PPEConstants
68{
69 static const int VAR_TYPE_BOOL = 1;
70 static const int VAR_TYPE_INT = 2;
71 static const int VAR_TYPE_FLOAT = 4;
72 static const int VAR_TYPE_COLOR = 8;
73 static const int VAR_TYPE_VECTOR = 16;
74
76 static const int VAR_TYPE_TEXTURE = 32;
77 static const int VAR_TYPE_RESOURCE = 64;
78
79 //static const int VALUE_MAX_COLOR = 255; //if only...
80
81 static const int DEPENDENCY_ORDER_BASE = 0;
82 static const int DEPENDENCY_ORDER_HIGHEST = 1;
83}
84
86typedef Param4<string,int,int,int> PPETemplateDefInt;
87typedef Param4<string,float,float,float> PPETemplateDefFloat; //name, default, min, max
88typedef Param5<string,float,float,float,float> PPETemplateDefColor; //name, defaults - floats. Min/Max is always the same, no need to define it here.
89//typedef Param4<string,vector,vector,vector> PPETemplateDefVector;
90typedef Param2<string,ref array<float>> PPETemplateDefVector; //needs to be compatible with every type of vector (vector2 to vector4), hence array<float>...
91typedef Param2<string,string> PPETemplateDefTexture; //Currently unused, setting these parameters during runtime can prove problematic
92typedef Param2<string,string> PPETemplateDefResource; //Currently unused, setting these parameters during runtime can prove problematic
enum EWetnessLevel ADD
PPOperators
PP operators, specify operation between subsequent layers.
Определения PPEConstants.c:53
@ MULTIPLICATIVE
Определения PPEConstants.c:62
@ SUBSTRACT_REVERSE
Определения PPEConstants.c:60
@ SUBSTRACT_REVERSE_RELATIVE
Определения PPEConstants.c:61
@ ADD_RELATIVE
Определения PPEConstants.c:57
@ OVERRIDE
Определения PPEConstants.c:64
@ SUBSTRACT_RELATIVE
Определения PPEConstants.c:59
@ SUBSTRACT
Определения PPEConstants.c:58
@ SET
Определения PPEConstants.c:63
@ HIGHEST
Определения PPEConstants.c:55
@ LOWEST
Определения PPEConstants.c:54
PPERequesterCategory
Определения PPEConstants.c:29
Param5< string, float, float, float, float > PPETemplateDefColor
Определения PPEConstants.c:88
Param4< string, int, int, int > PPETemplateDefInt
Определения PPEConstants.c:86
PPEExceptions
Определения PPEConstants.c:43
@ EXPOSURE
Определения PPEConstants.c:45
@ DOF
Определения PPEConstants.c:46
@ EYEACCOM
Определения PPEConstants.c:47
@ NVLIGHTPARAMS
Определения PPEConstants.c:48
Param4< string, float, float, float > PPETemplateDefFloat
Определения PPEConstants.c:87
Param2 PPETemplateDefBool
PostProcessPrioritiesCamera
PPE type priorities, C++ based. DO NOT CHANGE ORDER! Used only when calling 'SetCameraPostProcessEffe...
Определения PPEConstants.c:3
@ PPP_ROTBLUR
Определения PPEConstants.c:7
@ PPP_COLORGRADE
Определения PPEConstants.c:16
@ PPP_DYNBLUR
Определения PPEConstants.c:13
@ PPP_RAIN
Определения PPEConstants.c:9
@ PPP_CHROMABER
Определения PPEConstants.c:11
@ PPP_DOF
Определения PPEConstants.c:6
@ PPP_FILMGRAIN
Определения PPEConstants.c:18
@ PPP_MEDIAN
Определения PPEConstants.c:23
@ PPP_SSAO
Определения PPEConstants.c:4
@ PPP_GAUSS_FILTER
Определения PPEConstants.c:22
@ PPP_FXAA
Определения PPEConstants.c:20
@ PPP_RADIALBLUR
Определения PPEConstants.c:10
@ PPP_CLOUDS
Определения PPEConstants.c:5
@ PPP_DOF_BOKEH
Определения PPEConstants.c:15
@ PPP_UNDERWATER
Определения PPEConstants.c:14
@ PPP_GODRAYS
Определения PPEConstants.c:8
@ PPP_SMAA
Определения PPEConstants.c:21
@ PPP_DISTORT
Определения PPEConstants.c:25
@ PPP_GLOW
Определения PPEConstants.c:17
@ PPP_FILMGRAIN_NV
Определения PPEConstants.c:19
@ PPP_WETDISTORT
Определения PPEConstants.c:12
Param2< string, string > PPETemplateDefTexture
Определения PPEConstants.c:91
Param2< string, string > PPETemplateDefResource
Определения PPEConstants.c:92
Param2< string, ref array< float > > PPETemplateDefVector
Определения PPEConstants.c:90
static const int DEPENDENCY_ORDER_HIGHEST
Определения PPEConstants.c:82
static const int VAR_TYPE_RESOURCE
Определения PPEConstants.c:77
static const int VAR_TYPE_BLENDABLE
Определения PPEConstants.c:75
static const int VAR_TYPE_BOOL
Определения PPEConstants.c:69
static const int VAR_TYPE_FLOAT
Определения PPEConstants.c:71
static const int VAR_TYPE_INT
Определения PPEConstants.c:70
static const int VAR_TYPE_COLOR
Определения PPEConstants.c:72
static const int VAR_TYPE_VECTOR
Определения PPEConstants.c:73
static const int DEPENDENCY_ORDER_BASE
Определения PPEConstants.c:81
static const int VAR_TYPE_TEXTURE
Определения PPEConstants.c:76
Определения PPEConstants.c:68
@ ALL
Mask of all events.
Определения EnEntity.c:110
@ NONE
No flags.
Определения EnProfiler.c:11