|
@@ -22,8 +22,17 @@ struct Level{
|
|
|
Pattern_Enum available_patterns[][];
|
|
Pattern_Enum available_patterns[][];
|
|
|
int nb_patterns;
|
|
int nb_patterns;
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ //for the camera rotation
|
|
|
|
|
+ int change_interval; //5 seconds most of the time, but who knows...
|
|
|
|
|
+ int change_precision //to add a bit of randomness to the intervals
|
|
|
|
|
+ float change_probability; //sometimes, there can be no change at all
|
|
|
|
|
+
|
|
|
|
|
+ float max_speed;
|
|
|
|
|
+ float min_speed;
|
|
|
|
|
+
|
|
|
|
|
+ float fast_spin_probability; //very low, sometimes there is a slightly faster spin for one second, then a normal spin. This is the number that allow us to generate it
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
//the camera is defined by its center
|
|
//the camera is defined by its center
|
|
|
// ! and not by its upper left corner !
|
|
// ! and not by its upper left corner !
|
|
|
//and an angle
|
|
//and an angle
|