Add .vxl support to the asset browser.

This commit is contained in:
Matthias Mailänder
2020-09-27 13:36:04 +02:00
committed by Paul Chote
parent 9d181e88d2
commit fb20479379
6 changed files with 354 additions and 7 deletions

View File

@@ -86,6 +86,11 @@ namespace OpenRA.Mods.Cnc.Graphics
return loader.Load(vxl, hva);
}
public IModel GetModel(string model)
{
return loader.Load(model, model);
}
public IModel GetModelSequence(string model, string sequence)
{
try { return models[model][sequence]; }