From 488c4395ff048fe586121d1688c176f4eb7567bf Mon Sep 17 00:00:00 2001 From: hhhxiao <1417599491@qq.com> Date: Thu, 27 Aug 2020 18:12:37 +0800 Subject: [PATCH] repair all bugs --- .idea/encodings.xml | 4 +- .idea/workspace.xml | 116 +++--- CMakeLists.txt | 37 +- Tools.h | 1 - block/Block.cpp | 93 +++++ block/Block.h | 80 ---- commands/Shell.cpp | 35 +- commands/Shell.h | 24 +- commands/VanillaCommand.cpp | 46 +++ commands/VanillaCommand.h | 16 + common/BlockPos.h | 8 + common/Common.cpp | 23 ++ common/Common.h | 51 +-- common/Vec3.h | 11 +- dllmain.cpp | 42 +- entity/Actor.cpp | 167 ++++++++ entity/Actor.h | 99 +---- entity/ActorHook.h | 73 ---- lib/SymHook.h | 263 ++++++------ lib/framework.h | 2 +- lib/mod.cpp | 36 +- lib/mod.h | 4 +- lib/pch.cpp | 3 +- lib/pch.h | 10 +- spawn/Spawn.cpp | 15 + spawn/Spawn.h | 13 +- symbol.txt | 6 +- tick/Tick.cpp | 326 +++++++++++++++ tick/Tick.h | 111 +---- tick/TickHook.h | 224 ---------- tools/MathTool.cpp | 23 ++ tools/MathTool.h | 19 +- tools/Message.cpp | 26 ++ tools/Message.h | 31 +- tools/MessageBuilder.cpp | 13 +- tools/MessageBuilder.h | 11 +- tools/Particle.cpp | 68 +++ tools/Particle.h | 67 +-- tools/dbg.h | 800 ++++++++++++++++++++++++++++++++++++ village/Village.cpp | 167 ++++++++ village/Village.h | 171 ++------ village/VillagerHook.h | 22 - 42 files changed, 2170 insertions(+), 1187 deletions(-) delete mode 100644 Tools.h create mode 100644 block/Block.cpp create mode 100644 commands/VanillaCommand.cpp create mode 100644 commands/VanillaCommand.h create mode 100644 common/Common.cpp create mode 100644 entity/Actor.cpp delete mode 100644 entity/ActorHook.h create mode 100644 spawn/Spawn.cpp create mode 100644 tick/Tick.cpp delete mode 100644 tick/TickHook.h create mode 100644 tools/MathTool.cpp create mode 100644 tools/Message.cpp create mode 100644 tools/Particle.cpp create mode 100644 tools/dbg.h create mode 100644 village/Village.cpp delete mode 100644 village/VillagerHook.h diff --git a/.idea/encodings.xml b/.idea/encodings.xml index e49f7fa..e88a604 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -2,8 +2,10 @@ + - + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0dd5a61..d22c6ff 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,7 @@ - + @@ -13,41 +13,47 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - + + + + + + + - - - - - + + + + + + + + + + + + + + + + + +