Exemplo n.º 1
0
 private void AssignTextureId(int id, TextureInventory.Entry entry)
 {
     Win32.SetRedraw(this, false);
     UndoManager.RecordUndo();
     if (!entry.IsValid)
     {
         TerrainManager.ClearTextureId(id);
     }
     TerrainManager.AssignTextureId(id, entry);
     UndoManager.CommitUndo();
     this.UpdateList();
     Win32.SetRedraw(this, true);
     this.Refresh();
 }
Exemplo n.º 2
0
 public static void AssignTextureId(int id, TextureInventory.Entry entry)
 {
     Binding.FCE_TerrainManager_AssignTextureId(id, entry.Pointer);
 }