ScottNZ
b70395e27c
Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts.
2014-08-27 18:45:09 +12:00
ScottNZ
88ea7f1c7e
Take BuiltAt overrides into account when calculating speedup - prevent kennels contributing to rifle infantry speedup for example
2014-07-27 14:33:55 +12:00
Paul Chote
c164ec8c8c
Add Buildable.BuildAtProduction.
...
This allows actors to be restricted to specific production structures.
2014-07-24 20:45:28 +12:00
Paul Chote
4db2cf6b2b
Propagate race to produced actors.
2014-06-26 23:14:14 +12:00
Paul Chote
7b3a0ebeb5
Tidy production traits.
2014-06-26 23:14:10 +12:00
Paul Chote
c5089db19c
Allow actors to exist in multiple building queues.
2014-06-26 23:12:22 +12:00
RoosterDragon
8a60880cf1
Tackle the last of the low hanging fruit for memory allocations in the main game loop.
...
- Avoid calling string.Split twice in SprintFont.Measure.
- Change ActorsInBox method of ActorMap and ScreenMap to avoid allocating and intermediate list. As a bonus this allows the sequence to be lazily consumed. Also avoid LINQ in these methods.
- In FrozenUnderFog.TickRender, the method exits early if no players are visible so the attempt at lazy generation was not needed.
- Unwrap a LINQ Any call in ClassicProductionQueue.Tick.
- Merge some successive Where calls in ProximityCapturable into single predicates.
2014-06-22 17:29:45 +01:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Pavlos Touboulidis
ee4f3e5642
Always allow cheats on single player games
2014-06-13 17:18:12 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Matthias Mailänder
9e50f577a0
fixed index outside bounds of the array when 0 productions left
...
closes #4137
2013-11-17 22:16:31 +01:00
Chris Forbes
401ffaff17
rename BuildSpeedModifier back to BuildSpeed
2013-07-10 16:34:43 +12:00
ScottNZ
9f1d9e153a
Favour newer buildings over older buildings when a unit can appear from multiple buildings after being built
2013-06-24 09:16:35 +12:00
Curtis Shmyr
06375fe1a3
Fix BuildTimeSpeedReduction being one step (building) too early with build speed reduction
2013-06-13 18:31:30 -06:00
Curtis Shmyr
3513e6538a
Build Acceleration - Change BuildTimeSpeedReduction to be more configurable
2013-06-12 17:45:43 -06:00
Scott_NZ
a25aa23805
radoc tidy
2013-03-22 18:12:47 +13:00
Matthias Mailänder
c731a7960e
embed the previously manually edited outdated documentation
...
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
2013-03-20 21:20:27 +01:00
Matthias Mailänder
6d6664d930
make classic production queue speedup less error prone
...
- avoid float modifiers because of rounding errors and desync
- try not to crash when the last production building is gone
- don't do LINQ queries on selfsame buildings if not required
2013-03-12 12:49:16 +01:00
Matthias Mailänder
f3e0ff8758
fix #2709 CustomBuildTimeValue should not desync
...
remove redundant code by outsourcing raw build time calculation
2013-03-08 09:40:11 +01:00
Matthias Mailänder
527790f962
move SpeedUp to ClassicProductionQueueInfo
2013-03-08 09:40:08 +01:00
Matthias Mailänder
ecd4ff68a4
speed up production if multiple buildings of the same type exist
2013-03-08 09:40:07 +01:00
Chris Forbes
10c1b996ed
tidy up disabled handling
2012-04-06 19:34:43 +12:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
65c6a23900
style nits & lambda reduction in ClassicProductionQueue.cs
2011-05-04 19:39:28 +12:00
Chris Forbes
d86e0ec522
rename ITraitPrerequisite<T> to Requires<T>
2011-05-04 18:02:35 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
a3994df925
queries dies
2011-03-17 22:09:10 +13:00
Chris Forbes
149324ea92
remove most of the crap from queries
2011-03-17 22:09:08 +13:00
Chris Forbes
770dbcee52
tweak; save a bit of memory
2011-03-02 22:18:16 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
f52620f6fc
add ISync to all traits that have [Sync] members
2011-01-26 21:00:28 +13:00
Paul Chote
2fca9b0b19
Fix broken first tick rendering in BuildPaletteWidget.
2011-01-20 00:51:13 +13:00
Paul Chote
8264c6c8dc
Play "Unable to build more" eva when the production exit is blocked. Also fixes #484 .
2011-01-08 13:15:30 +13:00
Bob
480c5edd75
move Building et al into Mods/
2010-11-06 11:05:45 +13:00
max621
44fe0396bb
Added shift+right click on build menu cancels 5 orders. Added ctrl+shift+right click on build menu cancels all orders
2010-10-07 18:23:26 +13:00
Bob
aff6889995
moved traits from engine into mod
2010-09-20 20:58:42 +12:00