From 098e5ff86d3ee7819063606236508a5574b892ec Mon Sep 17 00:00:00 2001 From: Nicole Collings <100Toby1@gmail.com> Date: Sat, 19 Oct 2019 14:03:07 -0700 Subject: [PATCH] Make PlayerEntities use the Player model. --- .idea/codeStyles/Project.xml | 29 ------------ .idea/inspectionProfiles/Project_Default.xml | 3 ++ mods/default/script/blocks/_index.lua | 1 - mods/default/script/blocks/open_formspec.lua | 33 ------------- mods/default/script/main.lua | 44 ++++++++++++++++- src/game/entity/Entity.cpp | 2 +- src/game/entity/world/PlayerEntity.cpp | 47 ++----------------- src/game/entity/world/PlayerEntity.h | 5 +- src/game/scene/GameScene.cpp | 4 +- .../scene/net/ClientNetworkInterpreter.cpp | 34 +++++--------- src/game/scene/net/ClientNetworkInterpreter.h | 4 +- src/game/scene/world/LocalWorld.h | 2 +- src/world/LocalDimension.cpp | 10 ++-- src/world/LocalDimension.h | 2 + 14 files changed, 72 insertions(+), 148 deletions(-) delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 mods/default/script/blocks/open_formspec.lua diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index 30aa626c..00000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 34efcd8c..d77dc4f0 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,9 @@