diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-09-02 15:03:42 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-09-02 15:03:42 +0930 |
commit | d986eabb3c0009b1180707cbbc88125312f9212a (patch) | |
tree | 5fe253c08f8688ff548b47be4cd86276908588c8 /constants.cpp | |
parent | fed9330a4a98906648306e7524882feac80980e4 (diff) | |
download | qtminesweeper-d986eabb3c0009b1180707cbbc88125312f9212a.tar.gz qtminesweeper-d986eabb3c0009b1180707cbbc88125312f9212a.zip |
constants file wasn't added last commit
Diffstat (limited to 'constants.cpp')
-rw-r--r-- | constants.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/constants.cpp b/constants.cpp new file mode 100644 index 0000000..4e392f2 --- /dev/null +++ b/constants.cpp @@ -0,0 +1,7 @@ +#include "constants.h" + +const int BORDEROFFSET = 10; +const int GRIDWIDTH = 600; +const int GRIDHEIGHT = 600; +const int SQUARESIZE = 20; +const int NUMBEROFCELLS = ((GRIDWIDTH*GRIDHEIGHT)/SQUARESIZE)/SQUARESIZE; |