mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Move ServerEnvironment to dedicated cpp/header files
* also cleanup some unneeded inclusions
This commit is contained in:
@@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define L_ENV_H_
|
||||
|
||||
#include "lua_api/l_base.h"
|
||||
#include "environment.h"
|
||||
#include "serverenvironment.h"
|
||||
|
||||
class ModApiEnvMod : public ModApiBase {
|
||||
private:
|
||||
|
@@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "lua_api/l_inventory.h"
|
||||
#include "common/c_converter.h"
|
||||
#include "common/c_content.h"
|
||||
#include "environment.h"
|
||||
#include "serverenvironment.h"
|
||||
#include "map.h"
|
||||
#include "gamedef.h"
|
||||
#include "nodemetadata.h"
|
||||
|
@@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
#include "lua_api/l_nodetimer.h"
|
||||
#include "lua_api/l_internal.h"
|
||||
#include "environment.h"
|
||||
#include "serverenvironment.h"
|
||||
#include "map.h"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user