Browse Source

Lua compiler removed from general resource-compiler because lua scripts aren't simple resources

mikymod 12 years ago
parent
commit
e2bb3cf604
1 changed files with 0 additions and 7 deletions
  1. 0 7
      tools/compilers/resource-compiler.cpp

+ 0 - 7
tools/compilers/resource-compiler.cpp

@@ -1,7 +1,6 @@
 #include "Crown.h"
 #include "tga/TGACompiler.h"
 #include "txt/TXTCompiler.h"
-#include "lua/LuaCompiler.h"
 #include "vs/VSCompiler.h"
 #include "ps/PSCompiler.h"
 
@@ -37,7 +36,6 @@ int main(int argc, char** argv)
 
 	TGACompiler tga(root_path, dest_path);
 	TXTCompiler txt(root_path, dest_path);
-	LuaCompiler lua(root_path, dest_path);
 	VSCompiler vs(root_path, dest_path);
 	PSCompiler ps(root_path, dest_path);
 
@@ -67,11 +65,6 @@ int main(int argc, char** argv)
 				txt.compile(resource, resource_name_hash, resource_type_hash);
 				break;
 			}
-			case SCRIPT_TYPE:
-			{
-				lua.compile(resource, resource_name_hash, resource_type_hash);
-				break;
-			}
 			case VERTEX_SHADER_TYPE:
 			{
 				vs.compile(resource, resource_name_hash, resource_type_hash);