summaryrefslogtreecommitdiff
path: root/constants.h
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-09-06 22:38:55 +0930
committerdaniel-Jones <daniel@danieljon.es>2018-09-06 22:38:55 +0930
commitd844919907573cfd7dd3f602026e60e6d4ff27d2 (patch)
tree3ff98f931ea17c9d6956da2a31394cd831019840 /constants.h
parent63296bcb085a42ce0ef04738899f720b3469b1ce (diff)
downloadqtminesweeper-d844919907573cfd7dd3f602026e60e6d4ff27d2.tar.gz
qtminesweeper-d844919907573cfd7dd3f602026e60e6d4ff27d2.zip
cell generation improvedHEADmaster
added conversions for 1d->2d mapping. auto-reveals all cells now. generates random mines.
Diffstat (limited to 'constants.h')
-rw-r--r--constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/constants.h b/constants.h
index b1201c0..34954d9 100644
--- a/constants.h
+++ b/constants.h
@@ -22,5 +22,6 @@ extern const int GRIDWIDTH;
extern const int GRIDHEIGHT;
extern const int SQUARESIZE;
extern const int NUMBEROFCELLS;
+extern const int NUMBEROFMINES;
#endif