Skip to content

Commit

Permalink
Rename Scripting API files for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Apr 25, 2017
1 parent db17225 commit 2818d3f
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/client.cpp
Expand Up @@ -45,7 +45,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "database-sqlite3.h"
#include "serialization.h"
#include "guiscalingfilter.h"
#include "script/clientscripting.h"
#include "script/scripting_client.h"
#include "game.h"

extern gui::IGUIEnvironment* guienv;
Expand Down
2 changes: 1 addition & 1 deletion src/clientenvironment.cpp
Expand Up @@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "clientenvironment.h"
#include "clientsimpleobject.h"
#include "clientmap.h"
#include "clientscripting.h"
#include "scripting_client.h"
#include "mapblock_mesh.h"
#include "event.h"
#include "collision.h"
Expand Down
2 changes: 1 addition & 1 deletion src/content_abm.cpp
Expand Up @@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
#include "mapblock.h" // For getNodeBlockPos
#include "map.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "log.h"

void add_legacy_abms(ServerEnvironment *env, INodeDefManager *nodedef)
Expand Down
2 changes: 1 addition & 1 deletion src/content_sao.cpp
Expand Up @@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodedef.h"
#include "remoteplayer.h"
#include "server.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "genericobject.h"

std::map<u16, ServerActiveObject::Factory> ServerActiveObject::m_types;
Expand Down
2 changes: 1 addition & 1 deletion src/emerge.cpp
Expand Up @@ -40,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "mg_schematic.h"
#include "nodedef.h"
#include "profiler.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "server.h"
#include "serverobject.h"
#include "settings.h"
Expand Down
2 changes: 1 addition & 1 deletion src/environment.cpp
Expand Up @@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "environment.h"
#include "collision.h"
#include "serverobject.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "server.h"
#include "daynightratio.h"
#include "emerge.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -60,7 +60,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "version.h"
#include "minimap.h"
#include "mapblock_mesh.h"
#include "script/clientscripting.h"
#include "script/scripting_client.h"

#include "sound.h"

Expand Down
2 changes: 1 addition & 1 deletion src/guiFormSpecMenu.cpp
Expand Up @@ -42,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "filesys.h"
#include "gettime.h"
#include "gettext.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "porting.h"
#include "settings.h"
#include "client.h"
Expand Down
2 changes: 1 addition & 1 deletion src/inventorymanager.cpp
Expand Up @@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "inventorymanager.h"
#include "log.h"
#include "serverenvironment.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "serverobject.h"
#include "settings.h"
#include "craftdef.h"
Expand Down
2 changes: 1 addition & 1 deletion src/map.cpp
Expand Up @@ -44,7 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "database.h"
#include "database-dummy.h"
#include "database-sqlite3.h"
#include "script/serverscripting.h"
#include "script/scripting_server.h"
#include <deque>
#include <queue>
#if USE_LEVELDB
Expand Down
2 changes: 1 addition & 1 deletion src/network/clientpackethandler.cpp
Expand Up @@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "server.h"
#include "util/strfnd.h"
#include "network/clientopcodes.h"
#include "script/clientscripting.h"
#include "script/scripting_client.h"
#include "util/serialize.h"
#include "util/srp.h"
#include "tileanimation.h"
Expand Down
2 changes: 1 addition & 1 deletion src/network/serverpackethandler.cpp
Expand Up @@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodedef.h"
#include "player.h"
#include "rollback_interface.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "settings.h"
#include "tool.h"
#include "version.h"
Expand Down
4 changes: 2 additions & 2 deletions src/script/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ add_subdirectory(lua_api)

# Used by server and client
set(common_SCRIPT_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/serverscripting.cpp
${CMAKE_CURRENT_SOURCE_DIR}/scripting_server.cpp
${common_SCRIPT_COMMON_SRCS}
${common_SCRIPT_CPP_API_SRCS}
${common_SCRIPT_LUA_API_SRCS}
Expand All @@ -13,7 +13,7 @@ set(common_SCRIPT_SRCS
# Used by client only
set(client_SCRIPT_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/scripting_mainmenu.cpp
${CMAKE_CURRENT_SOURCE_DIR}/clientscripting.cpp
${CMAKE_CURRENT_SOURCE_DIR}/scripting_client.cpp
${client_SCRIPT_COMMON_SRCS}
${client_SCRIPT_CPP_API_SRCS}
${client_SCRIPT_LUA_API_SRCS}
Expand Down
2 changes: 1 addition & 1 deletion src/script/lua_api/l_env.cpp
Expand Up @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_vmanip.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "environment.h"
#include "server.h"
#include "nodedef.h"
Expand Down
2 changes: 1 addition & 1 deletion src/script/lua_api/l_object.cpp
Expand Up @@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "content_sao.h"
#include "server.h"
#include "hud.h"
#include "serverscripting.h"
#include "scripting_server.h"

struct EnumString es_HudElementType[] =
{
Expand Down
Expand Up @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "clientscripting.h"
#include "scripting_client.h"
#include "client.h"
#include "cpp_api/s_internal.h"
#include "lua_api/l_client.h"
Expand Down
File renamed without changes.
Expand Up @@ -17,7 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "serverscripting.h"
#include "scripting_server.h"
#include "server.h"
#include "log.h"
#include "settings.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/server.cpp
Expand Up @@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
#include "profiler.h"
#include "log.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "nodedef.h"
#include "itemdef.h"
#include "craftdef.h"
Expand Down
2 changes: 1 addition & 1 deletion src/serverenvironment.cpp
Expand Up @@ -28,7 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "profiler.h"
#include "raycast.h"
#include "remoteplayer.h"
#include "serverscripting.h"
#include "scripting_server.h"
#include "server.h"
#include "voxelalgorithms.h"
#include "util/serialize.h"
Expand Down

0 comments on commit 2818d3f

Please sign in to comment.