diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-09-06 22:38:55 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-09-06 22:38:55 +0930 |
commit | d844919907573cfd7dd3f602026e60e6d4ff27d2 (patch) | |
tree | 3ff98f931ea17c9d6956da2a31394cd831019840 /constants.h | |
parent | 63296bcb085a42ce0ef04738899f720b3469b1ce (diff) | |
download | qtminesweeper-d844919907573cfd7dd3f602026e60e6d4ff27d2.tar.gz qtminesweeper-d844919907573cfd7dd3f602026e60e6d4ff27d2.zip |
added conversions for 1d->2d mapping. auto-reveals all cells now. generates random mines.
Diffstat (limited to 'constants.h')
-rw-r--r-- | constants.h | 1 |
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 |