X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=simulation.h;h=1985ee3662fb6af8eec728d2a21d48ba6fb9dcb7;hb=724a80cbecb587d1d069f7999758181b10d92f73;hp=ef53425e5a8b99db86def28805b6ce886d9b3a93;hpb=e4bfe561fba2c32bf5ecdbf6a96067676ab313a2;p=clouds.git 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];