Rewrite production tabs (again): Avoid doing a pile of work every tick; support multiple queue types grouped under one category; Tab numbering is sticky.

This commit is contained in:
Paul Chote
2011-07-03 00:38:50 +12:00
parent b85fce3b41
commit c76811c5e1
5 changed files with 99 additions and 56 deletions

View File

@@ -25,6 +25,7 @@ FACT:
Facing: 108
ProductionQueue@Building:
Type: Building
Group: Building
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -33,6 +34,7 @@ FACT:
CancelledAudio: cancel1.aud
ProductionQueue@Defense:
Type: Defense
Group: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -165,6 +167,7 @@ PYLE:
Produces: Infantry
ProductionQueue:
Type: Infantry
Group: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -204,6 +207,7 @@ HAND:
Produces: Infantry
ProductionQueue:
Type: Infantry
Group: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -245,6 +249,7 @@ AFLD:
Produces: Vehicle
ProductionQueue:
Type: Vehicle
Group: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -287,6 +292,7 @@ WEAP:
Produces: Vehicle
ProductionQueue:
Type: Vehicle
Group: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud
@@ -413,6 +419,7 @@ HPAD:
RallyPoint:
ProductionQueue:
Type: Plane
Group: Aircraft
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud

View File

@@ -53,6 +53,7 @@ BIO:
Produces: Biolab
ProductionQueue:
Type: Biolab
Group: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: bldging1.aud