about summary refs log tree commit diff stats
path: root/Source/Randomizer2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer2.cpp')
-rw-r--r--Source/Randomizer2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Randomizer2.cpp b/Source/Randomizer2.cpp index c823567..782e248 100644 --- a/Source/Randomizer2.cpp +++ b/Source/Randomizer2.cpp
@@ -1,5 +1,5 @@
1#include "Memory.h"
2#include "Randomizer2.h" 1#include "Randomizer2.h"
2#include "PuzzleSerializer.h"
3#include "Randomizer2Core.h" 3#include "Randomizer2Core.h"
4#include "Puzzle.h" 4#include "Puzzle.h"
5#include "Random.h" 5#include "Random.h"
@@ -10,7 +10,7 @@
10 10
11#pragma warning (disable: 26451) 11#pragma warning (disable: 26451)
12 12
13Randomizer2::Randomizer2(const std::shared_ptr<Memory>& memory) : _memory(memory), _serializer(PuzzleSerializer(_memory)) {} 13Randomizer2::Randomizer2(const PuzzleSerializer& serializer) : _serializer(serializer) {}
14 14
15void Randomizer2::Randomize() { 15void Randomizer2::Randomize() {
16 RandomizeTutorial(); 16 RandomizeTutorial();
@@ -361,9 +361,9 @@ void Randomizer2::SetGate(int panel, int X, int Y) {
361 } 361 }
362 362
363 SetPos(panel, x, y, 19.2f); 363 SetPos(panel, x, y, 19.2f);
364 _memory->WriteEntityData<float>(panel, ORIENTATION, {0.0f, 0.0f, z, w}); 364 // _memory->WriteEntityData<float>(panel, ORIENTATION, {0.0f, 0.0f, z, w});
365} 365}
366 366
367void Randomizer2::SetPos(int panel, float x, float y, float z) { 367void Randomizer2::SetPos(int panel, float x, float y, float z) {
368 _memory->WriteEntityData<float>(panel, POSITION, {x, y, z}); 368 // _memory->WriteEntityData<float>(panel, POSITION, {x, y, z});
369} \ No newline at end of file 369} \ No newline at end of file