summary refs log tree commit diff stats
path: root/main.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-02-20 12:22:37 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-02-20 12:22:37 -0500
commit56abd4ed1d2a2adff01363f31ca2d0c81f3fbf53 (patch)
treea9ca617b83666e5e2e3b4af345283512c1d6dc12 /main.cpp
parent519b3c8c171b743713fe882f989a3e44f8d5596b (diff)
downloadlingo-randomizer-56abd4ed1d2a2adff01363f31ca2d0c81f3fbf53.tar.gz
lingo-randomizer-56abd4ed1d2a2adff01363f31ca2d0c81f3fbf53.tar.bz2
lingo-randomizer-56abd4ed1d2a2adff01363f31ca2d0c81f3fbf53.zip
Added version string panel
The random seed / set seed distinction is pretty meaningless considering how the maps are generated, so that has been removed.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp index 6226335..505004d 100644 --- a/main.cpp +++ b/main.cpp
@@ -4,6 +4,8 @@
4#include <string> 4#include <string>
5#include "generator.h" 5#include "generator.h"
6 6
7constexpr const char* kVersionStr = "0.0.1";
8
7class Randomizer { 9class Randomizer {
8public: 10public:
9 11
@@ -12,9 +14,9 @@ public:
12 void Run() { 14 void Run() {
13 // Entry room 15 // Entry room
14 gen_.GenerateStaticPanel("Panel_hi_hi", "hewwo"); 16 gen_.GenerateStaticPanel("Panel_hi_hi", "hewwo");
15 gen_.GenerateStaticPanel("Panel_type_type", "mode"); 17 gen_.GenerateStaticPanel("Panel_type_type", "version");
16 gen_.GenerateStaticPanel("Panel_this_this", "normal"); 18 gen_.GenerateStaticPanel("Panel_this_this", kVersionStr);
17 gen_.GenerateStaticPanel("Panel_write_write", "random seed"); 19 gen_.GenerateStaticPanel("Panel_write_write", "normal");
18 gen_.GenerateStaticPanel("Panel_same_same", std::to_string(seed_)); 20 gen_.GenerateStaticPanel("Panel_same_same", std::to_string(seed_));
19 gen_.GenerateSinglePanel("Panel_hidden_hidden", kMiddle, kWhite, {.save_for_later = true}); 21 gen_.GenerateSinglePanel("Panel_hidden_hidden", kMiddle, kWhite, {.save_for_later = true});
20 gen_.GenerateStaticPanel("Panel_hi_high", "goode", "good"); 22 gen_.GenerateStaticPanel("Panel_hi_high", "goode", "good");