diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ #include "tiles.h" #include "tilemap.h" -// amount of tiles +// amount of different tiles and their rotations size_t TILES; // width and height of a single tile @@ -72,7 +72,7 @@ void collapse_this(int i) size_t t = possibilities[rand() % psz]; collapse(i, t); // collapse a random tile - // apply a bitmask, based on the direction + // apply a bitmask, on tiles around the newly collapsed tile if(i / SWIDTH != 0) // up if(!(has_collapsed(i-SWIDTH))) mask(i-SWIDTH, t, 0); |