Преглед изворни кода

Add completion informations for the new bindings

Daniele Bartolini пре 12 година
родитељ
комит
956dc10981
1 измењених фајлова са 45 додато и 0 уклоњено
  1. 45 0
      tools/gui/console/MainWindow.cs

+ 45 - 0
tools/gui/console/MainWindow.cs

@@ -275,6 +275,51 @@ public partial class MainWindow: Gtk.Window
 		lua_api.AppendValues ("ResourcePackage.unload");
 		lua_api.AppendValues ("ResourcePackage.flush");
 		lua_api.AppendValues ("ResourcePackage.has_loaded");
+		lua_api.AppendValues("Camera.local_position");
+		lua_api.AppendValues("Camera.local_rotation");
+		lua_api.AppendValues("Camera.local_pose");
+		lua_api.AppendValues("Camera.world_position");
+		lua_api.AppendValues("Camera.world_rotation");
+		lua_api.AppendValues("Camera.world_pose");
+		lua_api.AppendValues("Camera.set_local_position");
+		lua_api.AppendValues("Camera.set_local_rotation");
+		lua_api.AppendValues("Camera.set_local_pose");
+		lua_api.AppendValues("Camera.set_projection_type");
+		lua_api.AppendValues("Camera.projection_type");
+		lua_api.AppendValues("Camera.fov");
+		lua_api.AppendValues("Camera.set_fov");
+		lua_api.AppendValues("Camera.aspect");
+		lua_api.AppendValues("Camera.set_aspect");
+		lua_api.AppendValues("Camera.near_clip_distance");
+		lua_api.AppendValues("Camera.set_near_clip_distance");
+		lua_api.AppendValues("Camera.far_clip_distance");
+		lua_api.AppendValues("Camera.set_far_clip_distance");
+		lua_api.AppendValues("Mesh.local_position");
+		lua_api.AppendValues("Mesh.local_rotation");
+		lua_api.AppendValues("Mesh.local_pose");
+		lua_api.AppendValues("Mesh.world_position");
+		lua_api.AppendValues("Mesh.world_rotation");
+		lua_api.AppendValues("Mesh.world_pose");
+		lua_api.AppendValues("Mesh.set_local_position");
+		lua_api.AppendValues("Mesh.set_local_rotation");
+		lua_api.AppendValues("Mesh.set_local_pose");
+		lua_api.AppendValues("Unit.local_position");
+		lua_api.AppendValues("Unit.local_rotation");
+		lua_api.AppendValues("Unit.local_pose");
+		lua_api.AppendValues("Unit.world_position");
+		lua_api.AppendValues("Unit.world_rotation");
+		lua_api.AppendValues("Unit.world_pose");
+		lua_api.AppendValues("Unit.set_local_position");
+		lua_api.AppendValues("Unit.set_local_rotation");
+		lua_api.AppendValues("Unit.set_local_pose");
+		lua_api.AppendValues("World.spawn_unit");
+		lua_api.AppendValues("World.play_sound");
+		lua_api.AppendValues("World.pause_sound");
+		lua_api.AppendValues("World.link_sound");
+		lua_api.AppendValues("World.set_listener");
+		lua_api.AppendValues("World.set_sound_position");
+		lua_api.AppendValues("World.set_sound_range");
+		lua_api.AppendValues("World.set_sound_volume");
 
 		entry1.Completion = new EntryCompletion ();
 		entry1.Completion.Model = lua_api;