Просмотр исходного кода

binds dir renamed to script, ScriptSystem moved to script

mikymod 12 лет назад
Родитель
Сommit
dad51877ca

+ 1 - 0
CMakeLists.txt

@@ -30,6 +30,7 @@ set (INCLUDES
 	${CMAKE_SOURCE_DIR}/src/input
 	${CMAKE_SOURCE_DIR}/src/renderers
 	${CMAKE_SOURCE_DIR}/src/network
+	${CMAKE_SOURCE_DIR}/src/script
 
 	${CMAKE_SOURCE_DIR}/game
 )

+ 15 - 9
src/CMakeLists.txt

@@ -15,7 +15,6 @@ set (SRC
 
 	FPSSystem.cpp
 	JSONParser.cpp
-	ScriptSystem.cpp
 )
 
 set (HEADERS
@@ -40,7 +39,6 @@ set (HEADERS
 
 	FPSSystem.h
 	JSONParser.h
-	ScriptSystem.h
 )
 
 set (CORE_SRC
@@ -234,14 +232,20 @@ set (NETWORK_HEADERS
 	network/BitMessage.h
 )
 
-set (BINDS_SRC
-	binds/MathBinds.cpp
-	binds/Vec3Binds.cpp
-	binds/QuatBinds.cpp
-	binds/Mat4Binds.cpp
-	binds/CameraBinds.cpp
+set (SCRIPT_SRC
+	script/ScriptSystem.cpp
+	script/binds/MathBinds.cpp
+	script/binds/Vec3Binds.cpp
+	script/binds/QuatBinds.cpp
+	script/binds/Mat4Binds.cpp
+	script/binds/CameraBinds.cpp
 )
 
+set (SCRIPT_HEADERS
+	script/ScriptSystem.h
+)
+
+
 set (CROWN_SOURCES
 	${SRC}
 	${CORE_SRC}
@@ -262,7 +266,7 @@ set (CROWN_SOURCES
 
 	${OS_SRC}
 
-	${BINDS_SRC}
+	${SCRIPT_SRC}
 )
 
 set (CROWN_HEADERS
@@ -285,6 +289,8 @@ set (CROWN_HEADERS
 	${NETWORK_HEADERS}
 
 	${OS_HEADERS}
+
+	${SCRIPT_HEADERS}
 )
 
 include_directories(${CROWN_THIRD}/luajit/include/luajit-2.0)

+ 0 - 0
src/ScriptSystem.cpp → src/script/ScriptSystem.cpp


+ 0 - 0
src/ScriptSystem.h → src/script/ScriptSystem.h


+ 0 - 0
src/binds/CameraBinds.cpp → src/script/binds/CameraBinds.cpp


+ 0 - 0
src/binds/Mat4Binds.cpp → src/script/binds/Mat4Binds.cpp


+ 0 - 0
src/binds/MathBinds.cpp → src/script/binds/MathBinds.cpp


+ 0 - 0
src/binds/QuatBinds.cpp → src/script/binds/QuatBinds.cpp


+ 0 - 0
src/binds/Vec3Binds.cpp → src/script/binds/Vec3Binds.cpp