ore is now in openra.game

This commit is contained in:
Chris Forbes
2009-11-04 22:51:17 +13:00
parent 7acd327896
commit 66fd532db8
10 changed files with 304 additions and 150 deletions

View File

@@ -16,6 +16,7 @@ namespace OpenRa.Game
public static InfoLoader<WeaponInfo> WeaponInfo;
public static InfoLoader<WarheadInfo> WarheadInfo;
public static InfoLoader<ProjectileInfo> ProjectileInfo;
public static GeneralInfo General;
public static TechTree TechTree;
public static void LoadRules( string mapFileName )
@@ -26,6 +27,9 @@ namespace OpenRa.Game
FileSystem.Open( "units.ini" ),
FileSystem.Open( "campaignUnits.ini" ) );
General = new GeneralInfo();
FieldLoader.Load(General, AllRules.GetSection("General"));
LoadCategories(
"Building",
"Infantry",