diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-14 19:35:34 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-14 19:35:34 -0500 |
commit | 0822404cf75fb6ad04faf55861faaf8330effa59 (patch) | |
tree | 3848f7a74b1433246beb16db9f90efb67df0c42a /ext/wittle_generator/Generate.cpp | |
parent | d00531cb6c36e061bf5b9a4361ea74ae473d6946 (diff) | |
download | wittle-0822404cf75fb6ad04faf55861faaf8330effa59.tar.gz wittle-0822404cf75fb6ad04faf55861faaf8330effa59.tar.bz2 wittle-0822404cf75fb6ad04faf55861faaf8330effa59.zip |
Split puzzle generators into separate files
Diffstat (limited to 'ext/wittle_generator/Generate.cpp')
-rw-r--r-- | ext/wittle_generator/Generate.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/wittle_generator/Generate.cpp b/ext/wittle_generator/Generate.cpp index b80b751..3d907cb 100644 --- a/ext/wittle_generator/Generate.cpp +++ b/ext/wittle_generator/Generate.cpp | |||
@@ -485,8 +485,7 @@ bool Generate::generate_maze(int id, int numStarts, int numExits) { | |||
485 | }*/ | 485 | }*/ |
486 | 486 | ||
487 | void Generate::generate(int width, int height, PuzzleSymbols symbols) { | 487 | void Generate::generate(int width, int height, PuzzleSymbols symbols) { |
488 | while (!generateInternal(width, height, symbols)) | 488 | while (!generateInternal(width, height, symbols)); |
489 | ; | ||
490 | } | 489 | } |
491 | 490 | ||
492 | // The primary generation function. id - id of the puzzle. symbols - a structure | 491 | // The primary generation function. id - id of the puzzle. symbols - a structure |