Zimmermann Gyula
de10cb22e8
Shift CustomBuildTimeValue to Buildable.
2016-08-21 12:05:32 +02:00
Paul Chote
7e49ae7eb0
Prepare DeveloperMode code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
reaperrr
38cea38f6b
Migrate BuildSpeed from float to int
2016-03-24 18:43:48 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
abcdefg30
ed3f3706f9
Reduce trait lookups further by adding a BuildableInfo parameter to GetBuildTime
2016-01-21 22:29:01 +01:00
abcdefg30
4e0775b59e
Remove the unused ISync implementation in ClassicProductionQueue.cs
...
The base class ProductionQueue already implements ISync
2016-01-21 22:24:51 +01:00
abcdefg30
5496245a00
Remove unnecessary lookups and checks
...
- We already return early if the unit doesn't have a BuildableInfo
- World.Map.Rules.Actors[actorName] won't return null
- Made BuildUnit use an ActorInfo instead of the name as parameter
2016-01-21 22:24:50 +01:00
abcdefg30
17daac11a1
Avoid unnecessary lookups in the production logic
...
by improving the GetBuildTime method and moving lookups around.
2016-01-21 22:24:49 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
Pavel Penev
1e9cc50805
Clean Production.cs of "race"
2015-07-31 05:38:43 +03:00
Paul Chote
d1ed1bf0fb
Set actor race (and icons) based on active producer.
2015-03-03 18:45:44 +00:00
reaperrr
0e1773ac5d
Move Production to Mods.Common
2015-01-11 03:04:39 +01:00