aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 13c2ed1..07675b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);