about summary refs log tree commit diff stats
path: root/Source/Puzzle.h
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2019-11-18 09:41:22 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2019-11-18 09:41:22 -0800
commitc282663a96ae9704a59c55c9300dbc8c49e0ef39 (patch)
tree071a26b8e58b8aac4d347c6a8200a4b01663abe1 /Source/Puzzle.h
parentbff40e55c9c55fbc8439bb225d1937b2d805e629 (diff)
downloadwitness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.tar.gz
witness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.tar.bz2
witness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.zip
Add sanity checks for overwriting buffers
Diffstat (limited to 'Source/Puzzle.h')
-rw-r--r--Source/Puzzle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Puzzle.h b/Source/Puzzle.h index 962874e..1e00ef4 100644 --- a/Source/Puzzle.h +++ b/Source/Puzzle.h
@@ -65,8 +65,8 @@ struct Pos {int x; int y;};
65 65
66class Puzzle { 66class Puzzle {
67public: 67public:
68 int16_t height = 0; 68 int height = 0;
69 int16_t width = 0; 69 int width = 0;
70 bool hasDecorations = false; 70 bool hasDecorations = false;
71 71
72 enum class Symmetry {NONE, X, Y, XY}; 72 enum class Symmetry {NONE, X, Y, XY};