Commit Graph

999 Commits

Author SHA1 Message Date
Paul Chote
62c222ebd2 Fix Cloak modifying the palette of decoration renderables. 2016-01-11 00:40:05 +00:00
teees
b7a3a446e1 Unload passengers on death 2016-01-08 08:50:35 +01:00
Matthias Mailänder
27eeaf3d41 Merge pull request #10112 from DnAp/PowerTooltip
Closes #6011
2016-01-07 20:57:14 +01:00
teees
f46185b85f Reworked cloaking behaviour 2016-01-07 13:44:16 +01:00
abcdefg30
e9d76011c5 Merge pull request #10388 from RoosterDragon/auto-target-perf
Speed up AutoTarget.ChooseTarget among groups of allied units.
2016-01-04 17:48:33 +01:00
atlimit8
e4f4c578f6 Merge pull request #10376 from RoosterDragon/repulse-perf
Speed up Aircraft.Repulse.
2016-01-04 01:26:03 -06:00
RoosterDragon
adc7e902e3 Speed up AutoTarget.ChooseTarget among groups of allied units.
Most auto target scans will be conducted among groups of allied units unable to target each other because they are allied and their weapons only target enemies. Since they cannot target each other, the scan will be repeated constantly. Realising this, we can significantly reduce the performance impact of auto target scanning by bailing early in this scenario to avoid carrying out expensive targeting checks on friendly units which we know will fail anyway.
2016-01-04 07:07:26 +00:00
Paul Chote
8ce274ed79 Overhaul and rename WithActiveAnimation -> WithIdleAnimation. 2016-01-03 01:17:29 +00:00
Paul Chote
adaa1fa70e Add multiple sequence and upgrade support to LeavesTrails. 2016-01-03 01:17:29 +00:00
Paul Chote
6af377030c Add sequence parameter to SpriteEffect. 2016-01-03 01:17:29 +00:00
Paul Chote
f8b0674ccc Add extra configuration options for trails. 2016-01-02 12:25:52 +00:00
Matthias Mailänder
fb62b40848 Merge pull request #10252 from penev92/removeToP
Remove obsolete TransformOnPassenger trait
2016-01-02 12:49:01 +01:00
RoosterDragon
53ede338de Speed up Aircraft.Repulse.
Avoid LINQ in the repulsion force calculation, and cache a trait lookup used when determining movement speed.
2016-01-02 06:48:12 +00:00
Pavel Penev
51281e2546 Remove obsolete TransformOnPassenger trait
The upgrade system has made this obsolete. Units like the RA2 IFV are better done that way.
2016-01-02 02:01:46 +02:00
teees
ce5c8fde5c fix hovers trait to use heightmap 2016-01-01 21:04:17 +01:00
Matthias Mailänder
be235eb9fb Merge pull request #10210 from pchote/other-enter-traits
Add enter behaviour field to Infiltrates/EngineerRepair/RepairsBridges.
2016-01-01 12:01:26 +01:00
Matthias Mailänder
b3c474ebf9 Merge pull request #9452 from atlimit8/CreateFrozenActorsInFrozenUnderFogConstructor
Move FrozenActor creation to Created in FrozenUnderFog
2016-01-01 11:45:08 +01:00
DnAp
c4b925ffc3 Make trait PowerTooltip 2015-12-31 18:20:55 +03:00
atlimit8
4744f436d3 Move FrozenActor creation to Created in FrozenUnderFog 2015-12-31 00:53:26 -06:00
RoosterDragon
208b51feb1 Speed up GlobalLightingPaletteEffect.
Perform everything in integer arithmetic using some bit twiddling to avoid the performance cost of converting to and from floating point values.
2015-12-31 06:26:05 +00: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
5b99a0c2da Implement enter behaviour for building/bridge repair. 2015-12-30 19:54:18 +00:00
atlimit8
68fd5dfd58 Merge pull request #10272 from RoosterDragon/player-dict
Speed up dictionaries keyed on Player
2015-12-29 19:27:11 -06:00
Pavel Penev
1d69669b05 Merge pull request #10168 from teees/heightmap-fixes
Use heightmap to get correct groundlevel, use AircraftInfo for correct ground level
2015-12-29 21:45:55 +02:00
abcdefg30
0c23648899 Merge pull request #10225 from reaperrr/disable-turret
Disable WithSpriteTurret until build/transform complete
2015-12-29 16:27:38 +01:00
abcdefg30
d5cfc1672c Merge pull request #9800 from huwpascoe/hitshape
Hitshape
2015-12-29 16:16:05 +01:00
abcdefg30
3c171569a7 Merge pull request #10193 from atlimit8/ITraitInfoInterface
TraitInfoInterface base for interfaces implemented by trait infos
2015-12-29 15:04:57 +01:00
Huw Pascoe
a8299221db Integrated HitShapes
Integrated hit shapes with field loader and warhead calculations.
2015-12-28 23:25:35 +00:00
Paul Chote
0d07fe4b78 Merge pull request #10066 from Mailaender/last-resource-sprite-frame
Fixed highest density sprite frame never being rendered
2015-12-28 19:32:34 +00:00
Paul Chote
b7b48e71ef Merge pull request #10222 from teees/withvoxelturret-fix
Disable WithVoxelTurret until build/transform complete
2015-12-28 18:55:48 +00:00
Paul Chote
12df496f5b Merge pull request #10015 from atlimit8/MapEditorTooltips
Add map editor only tooltips
2015-12-28 18:46:07 +00:00
Oliver Brakmann
5e04c45dd9 Merge pull request #10163 from teees/cruising
Added cruising upgrade to aircraft
2015-12-28 15:25:41 +01:00
Oliver Brakmann
3cd708d2bb Merge pull request #10302 from Phrohdoh/attrib-require-traits
Allow ActorReferenceAttribute to list required traits
2015-12-28 14:30:01 +01:00
Sean Hunt
8f4ec87b63 Factor silos needed warning to a new trait. 2015-12-27 14:40:37 -05:00
reaperrr
23dc6f64ac Merge pull request #9605 from Mailaender/nod-poweroffline
Added support for speech variants to CanPowerDown
2015-12-27 20:10:27 +01:00
Taryn Hill
5542076a68 Make AirstrikePowerInfo.UnitType require AircraftInfo 2015-12-27 11:24:16 -06:00
Matthias Mailänder
a8d8764b81 unhardcode and self-document the notification 2015-12-27 11:44:41 +01:00
Matthias Mailänder
89ff2f1ba2 expose palette and sprite sequence to lint testing 2015-12-27 11:38:58 +01:00
Paul Chote
409a0052ca Remove legacy tag rendering. 2015-12-26 12:38:27 +00:00
Paul Chote
5b017cee58 Remove "Primary" tag. 2015-12-26 12:38:27 +00:00
Paul Chote
ef2f9cbafa Remove "Fake" tag. 2015-12-26 12:38:27 +00:00
Paul Chote
372bbaf7b6 Overhaul WithDecoration trait. 2015-12-26 12:38:26 +00:00
Paul Chote
3ceacbb7c1 Fix Z-sorting for UISpriteRenderable. 2015-12-26 12:37:22 +00:00
Matthias Mailänder
4f080a996e also render highest density sprite frame 2015-12-25 19:37:55 +01:00
Matthias Mailänder
e80625880f Merge pull request #10011 from atlimit8/EasierActorSelectionInGame
Better actor selection in game by actor bounds center
2015-12-25 19:17:12 +01:00
Matthias Mailänder
b289478123 Merge pull request #10189 from reaperrr/less-lazy1
AttackBase and Armament optimizations
2015-12-25 14:04:46 +01:00
RoosterDragon
3a2139de26 Add PlayerDictionary.
This custom collection allows other classes to implement a Player to value mapping, but also stores the values in an array for faster lookup by the player index in the world. For some code, this improved lookup time is important for performance.
2015-12-23 23:54:04 +00:00
atlimit8
b07cd683e8 Easier actor selection in game by actor bounds center 2015-12-23 12:09:08 -06:00
atlimit8
43b2957331 Merge pull request #10251 from abcdefg30/removeISpriteBody
Remove ISpriteBody
2015-12-21 11:37:54 -06:00
Matthias Mailänder
0fe644f458 Merge pull request #10203 from pchote/widelines2
Rewrite line renderer: Part 2 (remove LineRenderer plus other cleanups)
2015-12-21 07:36:21 +01:00