Drop genericobject.{cpp,h} (#9629)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 10 Apr 2020 17:49:20 +0000 (19:49 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 17:49:20 +0000 (19:49 +0200)
commitf648fb76aef96a1da608c64346fc65d4dd44caa8
tree5f46a0d40742c7ae3e81f58728a702c8f3d6035e
parent2349d31bae1bfc4d58fd88efbc88261e69b11dad
Drop genericobject.{cpp,h} (#9629)

* Drop genericobject.{cpp,h}

This file is not for generic object but for ActiveObject message passing.
Put ownership of the various commands to the right objects and cleanup the related code.

* Protect ServerActiveObject::m_messages_out

* typo fix
16 files changed:
build/android/jni/Android.mk
src/CMakeLists.txt
src/activeobject.h
src/client/clientenvironment.cpp
src/client/content_cao.cpp
src/client/content_cao.h
src/content_sao.cpp
src/content_sao.h
src/genericobject.cpp [deleted file]
src/genericobject.h [deleted file]
src/network/networkprotocol.h
src/server.cpp
src/serverenvironment.cpp
src/serverobject.cpp
src/serverobject.h
util/travis/clang-format-whitelist.txt