From 5f99f9e87ef23f342e89bab029cc4fc8c5ad6663 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sun, 28 Oct 2018 20:51:35 -0700 Subject: Better UI + tried audio logs --- Source/RandomizerCore.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Source/RandomizerCore.h') diff --git a/Source/RandomizerCore.h b/Source/RandomizerCore.h index 746306b..da88e92 100644 --- a/Source/RandomizerCore.h +++ b/Source/RandomizerCore.h @@ -1,12 +1,13 @@ #pragma once #include "Memory.h" -// #define GLOBALS 0x5B28C0 -#define GLOBALS 0x62A080 +#define GLOBALS 0x5B28C0 +// #define GLOBALS 0x62A080 __declspec(selectany) int SWAP_NONE = 0x0; __declspec(selectany) int SWAP_TARGETS = 0x1; __declspec(selectany) int SWAP_LINES = 0x2; +__declspec(selectany) int SWAP_AUDIO_NAMES = 0x4; class RandomizerCore { @@ -15,6 +16,7 @@ public: void RandomizeRange(std::vector &panels, int flags, size_t startIndex, size_t endIndex); void SwapPanels(int panel1, int panel2, int flags); void ReassignTargets(const std::vector& panels, const std::vector& order); + void ReassignNames(const std::vector& panels, const std::vector& order); template std::vector ReadPanelData(int panel, int offset, size_t size) { @@ -92,6 +94,7 @@ private: #define PANEL_TARGET 0x4B0 #define SPECULAR_TEXTURE 0x4D8 #define CABLE_TARGET_2 0xD8 +#define AUDIO_LOG_NAME 0xC8 #elif GLOBALS == 0x62A080 #define PATH_COLOR 0xC0 #define REFLECTION_PATH_COLOR 0xD0 -- cgit 1.4.1