summary refs log tree commit diff stats
path: root/Source/RandomizerCore.h
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-07 08:27:09 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-07 08:27:09 -0800
commit1cad9871174728c15abbdb71ee5cbe2cf03ccf0c (patch)
tree78c9cd861667e97c65ae89fe9a5e5b9a648efb06 /Source/RandomizerCore.h
parentcff45c335b23567eb126fefd676fad7c5e88ee02 (diff)
downloadwitness-tutorializer-1cad9871174728c15abbdb71ee5cbe2cf03ccf0c.tar.gz
witness-tutorializer-1cad9871174728c15abbdb71ee5cbe2cf03ccf0c.tar.bz2
witness-tutorializer-1cad9871174728c15abbdb71ee5cbe2cf03ccf0c.zip
Cleanup before I dive further
Diffstat (limited to 'Source/RandomizerCore.h')
-rw-r--r--Source/RandomizerCore.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/RandomizerCore.h b/Source/RandomizerCore.h index 7555de2..89560b6 100644 --- a/Source/RandomizerCore.h +++ b/Source/RandomizerCore.h
@@ -10,20 +10,6 @@ __declspec(selectany) int SWAP_AUDIO_NAMES = 0x4;
10class RandomizerCore 10class RandomizerCore
11{ 11{
12public: 12public:
13 void Randomize(std::vector<int>& panels, int flags);
14 void RandomizeRange(std::vector<int> &panels, int flags, size_t startIndex, size_t endIndex);
15 void SwapPanels(int panel1, int panel2, int flags);
16 void ReassignTargets(const std::vector<int>& panels, const std::vector<int>& order, std::vector<int> targets = {});
17 void ReassignNames(const std::vector<int>& panels, const std::vector<int>& order);
18
19 short ReadMetadata();
20 void WriteMetadata(short metadata);
21 int GetCurrentFrame();
22
23 void ClearOffsets() {_memory->ClearOffsets();}
24
25// private:
26 std::shared_ptr<Memory> _memory = std::make_shared<Memory>("witness64_d3d11.exe");
27}; 13};
28 14
29#if GLOBALS == 0x5B28C0 15#if GLOBALS == 0x5B28C0