Daniele Bartolini 9 лет назад
Родитель
Сommit
7fdb155b14

+ 2 - 2
tools/level_editor/level_editor.vala

@@ -185,14 +185,14 @@ namespace Crown
 			{ "debug-physics-world", null, "Debug Physics World", null, null, on_debug_physics_world, false }
 		};
 
-		public LevelEditor(string source_dir, string toolchain_dir, string bundle_dir)
+		public LevelEditor(string source_dir, string toolchain_dir, string data_dir)
 		{
 			this.title = "Level Editor";
 
 			// Project paths
 			_source_dir = source_dir;
 			_toolchain_dir = toolchain_dir;
-			_data_dir = bundle_dir;
+			_data_dir = data_dir;
 			_platform   = "linux";
 
 			// Editor state

+ 2 - 2
tools/level_editor/resource_browser.vala

@@ -31,11 +31,11 @@ namespace Crown
 		// Signals
 		public signal void resource_selected(PlaceableType placeable_type, string name);
 
-		public ResourceBrowser(Gtk.Widget parent, string source_dir, string bundle_dir)
+		public ResourceBrowser(Gtk.Widget parent, string source_dir, string data_dir)
 		{
 			// Project paths
 			_source_dir = source_dir;
-			_data_dir = bundle_dir;
+			_data_dir = data_dir;
 
 			// Data
 			_console_client = new ConsoleClient();

+ 2 - 2
tools/level_editor/resource_compiler.vala

@@ -23,14 +23,14 @@ namespace Crown
 		}
 
 		// Returns true if success, false otherwise.
-		public async bool compile(string bundle_dir, string platform)
+		public async bool compile(string data_dir, string platform)
 		{
 			if (_callback != null)
 				return false;
 
 			_id = Guid.new_guid();
 			_success = false;
-			_compiler.send(EngineApi.compile(_id, bundle_dir, platform));
+			_compiler.send(EngineApi.compile(_id, data_dir, platform));
 			_callback = compile.callback;
 			yield;