22 #ifndef AGS_PLUGINS_AGS_SNOW_RAIN_WEATHER_H 23 #define AGS_PLUGINS_AGS_SNOW_RAIN_WEATHER_H 25 #include "ags/plugins/plugin_base.h" 26 #include "ags/plugins/serializer.h" 30 namespace AGSSnowRain {
35 bool is_default =
false;
49 float drift_speed = 0;
50 float drift_offset = 0;
67 void ClipToRange(
int &variable,
int min,
int max);
78 int _mMinDriftSpeed = 0;
79 int _mMaxDriftSpeed = 0;
80 int _mDeltaDriftSpeed = 0;
83 int _mTargetAmount = 0;
89 float _mWindSpeed = 0;
92 int _mTopBaseline = 0;
93 int _mBottomBaseline = 0;
94 int _mDeltaBaseline = 0;
96 int _mMinFallSpeed = 0;
97 int _mMaxFallSpeed = 0;
98 int _mDeltaFallSpeed = 0;
100 Drop _mParticles[2000];
103 bool _mViewsInitialized;
109 void InitializeParticles();
112 bool ReinitializeViews();
116 void UpdateWithDrift();
119 void SetDriftRange(
int min_value,
int max_value);
120 void SetDriftSpeed(
int min_value,
int max_value);
121 void ChangeAmount(
int amount);
122 void SetView(
int kind_id,
int event,
int view,
int loop);
123 void SetDefaultView(
int view,
int loop);
124 void SetTransparency(
int min_value,
int max_value);
125 void SetWindSpeed(
int value);
127 void SetBaseline(
int top,
int bottom);
130 void ResetBaseline();
131 void SetAmount(
int amount);
132 void SetFallSpeed(
int min_value,
int max_value);
Definition: serializer.h:32
Definition: ags_plugin.h:296