@@ -49,13 +49,13 @@ public enum TechType {
4949 Unknown (46 );
5050
5151 /// IMPLEMENTATION
52- private static int defaultOreCost [] = // Same as default gas cost
52+ private static int [] defaultOreCost = // Same as default gas cost
5353 {100 , 200 , 200 , 100 , 0 , 150 , 0 , 200 , 100 , 150 , 100 , 100 , 0 , 100 , 0 , 200 , 100 , 100 , 0 , 200 , 150 , 150 , 150 , 0 , 100 , 200 , 0 , 200 , 0 , 100 , 100 , 100 , 200 };
54- private static int defaultTimeCost [] =
54+ private static int [] defaultTimeCost =
5555 {1200 , 1500 , 1800 , 1200 , 0 , 1200 , 0 , 1200 , 1800 , 1500 , 1200 , 1200 , 0 , 1200 , 0 , 1500 , 1500 , 1200 , 0 , 1800 , 1200 , 1800 , 1500 , 0 , 1200 , 1200 , 0 , 1800 , 0 , 1800 , 1800 , 1500 , 1800 };
56- private static int defaultEnergyCost [] =
56+ private static int [] defaultEnergyCost =
5757 {0 , 100 , 100 , 0 , 50 , 0 , 100 , 75 , 150 , 25 , 25 , 0 , 0 , 150 , 100 , 150 , 0 , 75 , 75 , 75 , 100 , 150 , 100 , 0 , 50 , 125 , 0 , 150 , 0 , 50 , 75 , 100 , 0 , 0 , 1 };
58- private static UnitType whatResearches [] = {
58+ private static UnitType [] whatResearches = {
5959 UnitType .Terran_Academy , UnitType .Terran_Covert_Ops , UnitType .Terran_Science_Facility , UnitType .Terran_Machine_Shop ,
6060 UnitType .None , UnitType .Terran_Machine_Shop , UnitType .None , UnitType .Terran_Science_Facility , UnitType .Terran_Physics_Lab ,
6161 UnitType .Terran_Control_Tower , UnitType .Terran_Covert_Ops , UnitType .Zerg_Hatchery , UnitType .None , UnitType .Zerg_Queens_Nest ,
@@ -66,14 +66,14 @@ public enum TechType {
6666 UnitType .Zerg_Hydralisk_Den , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None , UnitType .None ,
6767 UnitType .None , UnitType .None , UnitType .Unknown
6868 };
69- private static Race techRaces [] = {
69+ private static Race [] techRaces = {
7070 Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran , Race .Terran ,
7171 Race .Zerg , Race .Zerg , Race .Zerg , Race .Zerg , Race .Zerg , Race .Zerg , Race .Zerg , Race .Zerg ,
7272 Race .Protoss , Race .Protoss , Race .Protoss , Race .Protoss , Race .Protoss ,
7373 Race .Terran , Race .Protoss , Race .None , Race .Protoss , Race .Protoss , Race .Protoss , Race .Terran , Race .Protoss , Race .Zerg , Race .None , Race .Terran ,
7474 Race .None , Race .None , Race .None , Race .None , Race .None , Race .None , Race .None , Race .None , Race .None , Race .None , Race .Terran , Race .Unknown
7575 };
76- private static WeaponType techWeapons [] = {
76+ private static WeaponType [] techWeapons = {
7777 WeaponType .None , WeaponType .Lockdown , WeaponType .EMP_Shockwave , WeaponType .Spider_Mines , WeaponType .None , WeaponType .None , WeaponType .None , WeaponType .Irradiate , WeaponType .Yamato_Gun ,
7878 WeaponType .None , WeaponType .None , WeaponType .None , WeaponType .None , WeaponType .Spawn_Broodlings , WeaponType .Dark_Swarm , WeaponType .Plague , WeaponType .Consume , WeaponType .Ensnare , WeaponType .Parasite ,
7979 WeaponType .Psionic_Storm , WeaponType .None , WeaponType .None , WeaponType .Stasis_Field , WeaponType .None , WeaponType .Restoration , WeaponType .Disruption_Web , WeaponType .None , WeaponType .Mind_Control ,
@@ -83,21 +83,21 @@ public enum TechType {
8383 private static int TARG_UNIT = 1 ;
8484 private static int TARG_POS = 2 ;
8585 private static int TARG_BOTH = 3 ;
86- private static int techTypeFlags [] = {
86+ private static int [] techTypeFlags = {
8787 0 , TARG_UNIT , TARG_BOTH , TARG_POS , TARG_BOTH , 0 , TARG_UNIT , TARG_UNIT , TARG_UNIT , 0 , 0 , 0 ,
8888 TARG_UNIT , TARG_UNIT , TARG_BOTH , TARG_BOTH , TARG_UNIT , TARG_BOTH , TARG_UNIT , TARG_BOTH , TARG_UNIT ,
8989 TARG_BOTH , TARG_BOTH , TARG_UNIT , TARG_UNIT , TARG_BOTH , 0 , TARG_UNIT , TARG_UNIT , TARG_UNIT , TARG_UNIT ,
9090 TARG_BOTH , 0 , 0 , TARG_BOTH , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , TARG_BOTH
9191 };
92- private static Order techOrders [] = {
92+ private static Order [] techOrders = {
9393 Order .None , CastLockdown , CastEMPShockwave , PlaceMine , CastScannerSweep , Order .None , CastDefensiveMatrix ,
9494 CastIrradiate , FireYamatoGun , Order .None , Order .None , Order .None , CastInfestation , CastSpawnBroodlings ,
9595 CastDarkSwarm , CastPlague , CastConsume , CastEnsnare , CastParasite , CastPsionicStorm ,
9696 CastHallucination , CastRecall , CastStasisField , Order .None , CastRestoration , CastDisruptionWeb ,
9797 Order .None , CastMindControl , Order .None , CastFeedback , CastOpticalFlare , CastMaelstrom , Order .None , Order .None , MedicHeal ,
9898 Order .None , Order .None , Order .None , Order .None , Order .None , Order .None , Order .None , Order .None , Order .None , Order .None , NukePaint , Order .Unknown
9999 };
100- private static UnitType techWhatUses [][] = {
100+ private static UnitType [][] techWhatUses = {
101101 // Stimpacks
102102 {UnitType .Terran_Marine , UnitType .Terran_Firebat , UnitType .Hero_Jim_Raynor_Marine , UnitType .Hero_Gui_Montag },
103103 // Lockdown
0 commit comments