From: Loïc Blot Date: Fri, 10 Apr 2020 18:10:51 +0000 (+0200) Subject: Move clientsimpleobject.h to client folder (#9630) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=35e778ee9ff2e0e9ab096eaf2d1a903c5eaa42b3;p=oweals%2Fminetest.git Move clientsimpleobject.h to client folder (#9630) This file is only called from client folder, retrieve its friends :) --- diff --git a/src/client/clientsimpleobject.h b/src/client/clientsimpleobject.h new file mode 100644 index 000000000..f4a40bcd3 --- /dev/null +++ b/src/client/clientsimpleobject.h @@ -0,0 +1,35 @@ +/* +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#pragma once + +#include "irrlichttypes_bloated.h" +class ClientEnvironment; + +class ClientSimpleObject +{ +protected: +public: + bool m_to_be_removed = false; + + ClientSimpleObject() = default; + virtual ~ClientSimpleObject() = default; + + virtual void step(float dtime) {} +}; diff --git a/src/clientsimpleobject.h b/src/clientsimpleobject.h deleted file mode 100644 index f4a40bcd3..000000000 --- a/src/clientsimpleobject.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -Minetest -Copyright (C) 2013 celeron55, Perttu Ahola - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2.1 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#pragma once - -#include "irrlichttypes_bloated.h" -class ClientEnvironment; - -class ClientSimpleObject -{ -protected: -public: - bool m_to_be_removed = false; - - ClientSimpleObject() = default; - virtual ~ClientSimpleObject() = default; - - virtual void step(float dtime) {} -};