X-Git-Url: https://git.lukelau.me/?p=clouds.git;a=blobdiff_plain;f=simulation.h;fp=simulation.h;h=1985ee3662fb6af8eec728d2a21d48ba6fb9dcb7;hp=ef53425e5a8b99db86def28805b6ce886d9b3a93;hb=724a80cbecb587d1d069f7999758181b10d92f73;hpb=152db1a5db951f77a55815b0ca7d9c5172fd8dea diff --git a/simulation.h b/simulation.h index ef53425..1985ee3 100644 --- a/simulation.h +++ b/simulation.h @@ -1,9 +1,15 @@ #define CLOUD_DIM_X 64 #define CLOUD_DIM_Y 16 #define CLOUD_DIM_Z 64 + /* #define CLOUD_DIM_X 16 */ /* #define CLOUD_DIM_Y 16 */ /* #define CLOUD_DIM_Z 16 */ + +#define P_EXT 0.1 +#define P_HUM 0.1 +#define P_ACT 0.001 + struct Clouds { // TODO: make more efficient bool hum[CLOUD_DIM_X][CLOUD_DIM_Y][CLOUD_DIM_Z];