From ab5652329d3e6bbaaf338e47fb3d84d89bf9b7b1 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Tue, 19 Nov 2019 09:59:59 -0800 Subject: shrug --- Source/Memory.h | 8 ++++---- Source/Randomizer2.cpp | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'Source') diff --git a/Source/Memory.h b/Source/Memory.h index 79fbaba..5332cc3 100644 --- a/Source/Memory.h +++ b/Source/Memory.h @@ -5,8 +5,8 @@ #include #include -#define GLOBALS 0x5B28C0 -// #define GLOBALS 0x62D0A0 +// #define GLOBALS 0x5B28C0 +#define GLOBALS 0x62D0A0 #define HEARTBEAT 0x401 enum class ProcStatus { @@ -188,8 +188,8 @@ private: #define METADATA 0xF2 // sizeof(short) #define HOTEL_EP_NAME 0x4BC640 #elif GLOBALS == 0x62D0A0 -#define POSITION #error -#define ORIENTATION #error +#define POSITION 0x24 +#define ORIENTATION 0x34 #define PATH_COLOR 0xC0 #define REFLECTION_PATH_COLOR 0xD0 #define DOT_COLOR 0xF0 diff --git a/Source/Randomizer2.cpp b/Source/Randomizer2.cpp index adf8eb6..00b584e 100644 --- a/Source/Randomizer2.cpp +++ b/Source/Randomizer2.cpp @@ -34,6 +34,7 @@ void Randomizer2::RandomizeTutorial() { Puzzle p; p.NewGrid(6, 6); + // @Bug: Mid-segment endpoints are not yet supported. switch (Random::RandInt(1, 4)) { case 1: p.grid[Random::RandInt(0, p.width-1)][0].end = Cell::Dir::UP; @@ -93,6 +94,7 @@ void Randomizer2::RandomizeTutorial() { p.grid[12][12].start = true; p.grid[6][0].end = Cell::Dir::UP; + // @Cleanup std::vector cuts; bool toTheRight; // Start by generating a cut line, to ensure one of the two startpoints is inaccessible -- cgit 1.4.1