From 8df9d5533199ea39ea5009e548cc6610c0f5f9b3 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 6 Apr 2017 00:48:20 +0300 Subject: [PATCH] [Client] Create placeholder DedicatedActor class --- apps/openmw/CMakeLists.txt | 2 +- apps/openmw/mwmp/DedicatedActor.cpp | 19 +++++++++++++++++++ apps/openmw/mwmp/DedicatedActor.hpp | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 apps/openmw/mwmp/DedicatedActor.cpp create mode 100644 apps/openmw/mwmp/DedicatedActor.hpp diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index a9ca0e4fc..814ed026b 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -96,7 +96,7 @@ add_openmw_dir (mwbase inputmanager windowmanager statemanager ) -add_openmw_dir (mwmp Main Networking LocalPlayer DedicatedPlayer WorldEvent LocalActor CellController GUIChat GUILogin GUIController PlayerMarkerCollection GUIDialogList) +add_openmw_dir (mwmp Main Networking LocalPlayer DedicatedPlayer LocalActor DedicatedActor WorldEvent CellController GUIChat GUILogin GUIController PlayerMarkerCollection GUIDialogList) # Main executable diff --git a/apps/openmw/mwmp/DedicatedActor.cpp b/apps/openmw/mwmp/DedicatedActor.cpp new file mode 100644 index 000000000..94a0753bd --- /dev/null +++ b/apps/openmw/mwmp/DedicatedActor.cpp @@ -0,0 +1,19 @@ +#include "DedicatedActor.hpp" + +using namespace mwmp; +using namespace std; + +DedicatedActor::DedicatedActor() +{ + +} + +DedicatedActor::~DedicatedActor() +{ + +} + +void DedicatedActor::update() +{ + +} diff --git a/apps/openmw/mwmp/DedicatedActor.hpp b/apps/openmw/mwmp/DedicatedActor.hpp new file mode 100644 index 000000000..4b6a569fc --- /dev/null +++ b/apps/openmw/mwmp/DedicatedActor.hpp @@ -0,0 +1,19 @@ +#ifndef OPENMW_DEDICATEDACTOR_HPP +#define OPENMW_DEDICATEDACTOR_HPP + +#include + +namespace mwmp +{ + class DedicatedActor : public BaseActor + { + public: + + DedicatedActor(); + virtual ~DedicatedActor(); + + void update(); + }; +} + +#endif //OPENMW_DEDICATEDACTOR_HPP