0.2.0-dev Download ZIP
35 lines ·1.7 KB Raw
| 1 | using EvilEngine.Adapters.Overgrowth.Levels; |
| 2 | using EvilEngine.Adapters.Overgrowth.Models; |
| 3 | using EvilEngine.Adapters.Overgrowth.Textures; |
| 4 | using EvilEngine.Conversion; |
| 5 | |
| 6 | namespace EvilEngine.Adapters.Overgrowth; |
| 7 | |
| 8 | public sealed class Overgrowth : IAdapter |
| 9 | { |
| 10 | public const string Game = "overgrowth"; |
| 11 | |
| 12 | public void Register(AdapterContext context) |
| 13 | { |
| 14 | context.AddGame(new OvergrowthGame()); |
| 15 | context.AddConverter(Game, new OvergrowthSkyConverter()); |
| 16 | context.AddConverter(Game, new OvergrowthSkyCubeConverter()); |
| 17 | context.AddConverter(Game, new OvergrowthSkyDomeConverter()); |
| 18 | context.AddConverter(Game, new OvergrowthSkyCaptureConverter()); |
| 19 | context.AddConverter(Game, new OvergrowthSkyRecords()); |
| 20 | context.AddConverter(Game, new OvergrowthMapRecords()); |
| 21 | context.AddConverter(Game, new OvergrowthManifestConverter()); |
| 22 | context.AddConverter(Game, new OvergrowthCellConverter()); |
| 23 | context.AddConverter(Game, new OvergrowthTerrainConverter()); |
| 24 | context.AddConverter(Game, new OvergrowthTerrainMaterialConverter()); |
| 25 | context.AddConverter(Game, new OvergrowthObjectModelConverter()); |
| 26 | context.AddConverter(Game, new OvergrowthObjectMaterialConverter()); |
| 27 | context.AddConverter(Game, new OvergrowthObjectCollisionConverter()); |
| 28 | context.AddConverter(Game, new OvergrowthTextureConverter()); |
| 29 | context.AddConverter(Game, new OvergrowthLiquids()); |
| 30 | context.AddConverter(Game, new OvergrowthDecalMaterialConverter()); |
| 31 | context.AddConverter(Game, new OvergrowthDecalTextures()); |
| 32 | context.AddConverter(Game, new EmbeddedShaderConverter("overgrowth.shader", typeof(Overgrowth).Assembly, |
| 33 | "EvilEngine.Adapters.Overgrowth.Shaders.")); |
| 34 | } |
| 35 | } |