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
Oliver Brakmann
4b02134b2d
Merge pull request #10594 from abcdefg30/sizeD2k
...
Fix a crash in d2k caused by empty bounds
2016-01-26 19:30:30 +01:00
abcdefg30
d087a16042
Fix a crash in d2k caused by empty bounds
...
This adds respective checks to Building.cs.
2016-01-25 16:44:17 +01:00
teees
65e1e301f4
Added Gates
...
FIXUP: account for full gate footprint when updating neighbours.
FIXUP: gate-wall connection adjacency yaml.
2016-01-25 09:14:00 +01:00
Paul Chote
963a92214d
Fix line build for multi-cell neighbours.
2016-01-25 09:14:00 +01:00
abcdefg30
71c804781e
Unhardcode the "PrimaryBuildingSelected" notification
2016-01-23 13:41:18 +01:00
Oliver Brakmann
a04223fcd2
Merge pull request #10143 from Phrohdoh/interface-reflection
...
Implement a utility command to check for explicit interface implementation violations.
2016-01-18 20:23:43 +01:00
Taryn Hill
25eddb9567
Explicitly implement ISelectionBar
2016-01-17 22:33:41 -06:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Pavel Penev
861d1368a4
Unhardcode internal terrain palette name from all over the codebase
2016-01-17 19:02:16 +02:00
abcdefg30
f364a306f3
Merge pull request #10201 from teees/discardexcessresources
...
Optionally discard resources when silo capacity has been reached
2015-12-30 22:43:15 +01:00
Paul Chote
5b017cee58
Remove "Primary" tag.
2015-12-26 12:38:27 +00:00
Pavel Penev
22678221d0
Fix an oversight regarding building unlocking
2015-12-14 04:18:57 +02:00
teees
3b65232365
Optionally discard resources when silo capacity has been reached
2015-12-11 17:55:40 +01:00
reaperrr
e9ed50a831
Fix actors not going back to idle animation after custom animation
2015-11-28 22:45:05 +01:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Huw Pascoe
e92ccdf808
TargetLine for Rally Points
...
Also enabled allied players to see waypoints.
2015-11-23 19:30:24 +00:00
Paul Chote
124c0ea041
Make CanTarget modifiers a ref parameter.
2015-11-16 20:38:53 +00:00
Oliver Brakmann
177d983728
Merge pull request #9759 from atlimit8/ActorsHavingTrait
...
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
Michael Rätzel
c5029e270d
reset RallyPoint Location after capture. resolves #9163 .
2015-10-31 20:31:08 +01:00
atlimit8
faa1a49604
RallyPoint palette tracks owner
2015-10-30 20:09:39 -05:00
Oliver Brakmann
e7e4f2f825
Fix base range circle not being shown during building placement
2015-10-29 11:00:59 +01:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
atlimit8
1e890a921f
Merge pull request #9709 from reaperrr/unitsat-actorsat
...
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
2015-10-21 09:56:41 -05:00
Paul Chote
4226370495
Fix bridge destruction and repair.
2015-10-17 22:23:44 +01:00
reaperrr
2f69711341
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
...
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
atlimit8
49d7604bd9
Cache WeaponInfo look-ups
2015-10-03 22:29:40 -05:00
Matthias Mailänder
defba7aece
lint check player palette reference
...
and tell which actor is affected when a problem is found
2015-09-27 14:57:58 +02:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
de7f5a4288
Make Range WDist for all traits with circular ranges.
2015-09-19 11:02:28 -05:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
6970959ef1
.Trait[OrDefault]<Trait> => .Info.Traits.Get[OrDefault]<TraitInfo> where applicable
2015-09-19 09:49:24 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
RoosterDragon
901e604cf3
Replace arrays with sets.
...
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
atlimit8
23d0424437
Add ITargetablePositions seperating it from ITargetable
2015-09-02 23:14:40 -05:00
Matthias Mailänder
735bb06c48
Merge pull request #9229 from pchote/fix-building-offsets
...
Fix TS building artwork offsets.
2015-09-02 20:45:15 +02:00
reaperrr
45e6c62ec9
Cache WithSpriteBody in Refinery constructor
2015-09-02 17:51:19 +02:00
Paul Chote
04c61727f7
Don’t sample map height when calculating building centers.
2015-09-02 16:06:05 +01:00
reaperrr
9da56f51e2
Remove RenderBuilding
2015-08-30 15:44:59 +02:00
clemty
2bbc1fcda4
LUA and trait documentation fixes
...
- Typo in documentation ("proximitry").
- Add spaces between sentences.
- Remove most occurrences of " " (two spaces) unless clearly used as indendation
- Punctuation (although no fullstop after filenames like "notifications.yaml").
2015-08-24 19:41:15 +02:00
Pavel Penev
02dd5afbd9
Merge pull request #9058 from RoosterDragon/reduce-alloc
...
Reduce allocations in the main game loop
2015-08-24 02:11:08 +03:00
abcdefg30
429e6145cb
Merge pull request #9073 from pchote/remove-production-duplication
...
Minor Production trait cleanups.
2015-08-22 20:39:10 +02:00
RoosterDragon
d415d3ba4e
Reduce allocations in the main game loop.
...
- Cache the shroud projection even for flat maps to avoid allocating single element arrays.
- Avoid LINQ in shroud and map projection queries to avoid enumerator allocations.
- Avoid LINQ in calculation of sync values.
- Cache enumerables in ProductionQueue.
- Cache delegate in HackyAI.
2015-08-18 21:17:28 +01:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Paul Chote
d730b4ee50
Remove duplicated DoProduction from Production.
2015-08-14 19:35:48 +01:00
Matthias Mailänder
df206ddb18
unhardcode rallypoint sprites
2015-08-10 21:35:21 +02:00
Matthias Mailänder
b536e677fb
rename RallyPoint.RallyPoint to RallyPoint.Offset
2015-08-10 21:35:21 +02:00