Browse Source

Improve compiler output readability

Daniele Bartolini 12 years ago
parent
commit
78155e02aa
2 changed files with 1 additions and 12 deletions
  1. 1 1
      tools/compilers/Compiler.cpp
  2. 0 11
      tools/pycrown/Compiler.py

+ 1 - 1
tools/compilers/Compiler.cpp

@@ -62,7 +62,7 @@ size_t Compiler::compile(const char* resource, uint32_t name, uint32_t type)
 	char output_name[17];
 	snprintf(output_name, 17, "%.8X%.8X", name, type);
 
-	Log::i("%s => %s", resource, output_name);
+	Log::i("%s <= %s", output_name, resource);
 
 	if (type != m_type_expected)
 	{

+ 0 - 11
tools/pycrown/Compiler.py

@@ -103,22 +103,11 @@ class Compiler:
 
 	# Compiles all the resources in the repository
 	def compile_all(self):
-		print("Compiling textures...")
 		self.compile_textures()
-
-		print("Compiling meshes...")
 		self.compile_meshes()
-
-		print("Compiling texts...")
 		self.compile_texts()
-
-		print("Compiling scripts...")
 		self.compile_scripts()
-
-		print("Compiling vertex shaders...")
 		self.compile_vertex_shaders()
-
-		print("Compiling pixel shaders...")
 		self.compile_pixel_shaders()
 
 	# Compile a single resource from the repository