Commit Graph

976 Commits

Author SHA1 Message Date
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
Oliver Brakmann
71478aa2b8 Merge pull request #9734 from RoosterDragon/auto-target-perf
Improve AutoTarget performance
2015-12-20 19:53:17 +01:00
abcdefg30
72ac5240b8 Remove ISpriteBody 2015-12-20 18:44:55 +01:00
Paul Chote
8fc323602c Use RgbaColorRenderer in WeatherOverlay. 2015-12-19 12:28:56 +00:00
Paul Chote
f6606afa8b Use RgbaColorRenderer in CombatDebugOverlay. 2015-12-19 12:28:10 +00:00
Paul Chote
b35762f537 Use RgbaColorRenderer in TerrainGeometryOverlay. 2015-12-19 12:28:09 +00:00
Paul Chote
0f1fcdaca4 Move DrawTargetMarker to TargetLineRenderable. 2015-12-19 12:28:08 +00:00
teees
00c15eaf3a Add cruising upgrade to Aircraft trait 2015-12-16 13:18:18 +01:00
Oliver Brakmann
c7a9d024b0 Merge pull request #10234 from abcdefg30/damagedFix
Fix the idle animation of the host in WithRepairAnimation.cs
2015-12-15 22:51:18 +01:00
abcdefg30
6e5181fe4d Fix the idle animation of the host in WithRepairAnimation.cs using the damage state of the repaired actor. 2015-12-15 20:57:55 +01:00
teees
c1c386a994 Removed default definitions for repair and rearmbuildings in Aircraft.cs 2015-12-15 18:44:05 +01:00
Oliver Brakmann
20725c9b2c Merge pull request #10153 from abcdefg30/repairableNear
Add a 'Voice' field to RepairableNearInfo
2015-12-14 21:59:56 +01:00
Oliver Brakmann
11cbb43212 Merge pull request #9918 from penev92/fixTransforms
Fix an oversight regarding building unlocking
2015-12-14 21:00:41 +01:00
Oliver Brakmann
02fa63c1b4 Merge pull request #9853 from penev92/unglobalFileSystem
Unglobal file system
2015-12-14 20:52:30 +01:00
reaperrr
0d60ee5fe0 Disable WithSpriteTurret until build/transform complete 2015-12-14 15:27:52 +01:00
teees
19036d1927 Disable WithVoxelTurret until build/transform complete 2015-12-14 12:10:40 +01:00
reaperrr
2d55bbdedf Cache trait look-ups and range modifiers directly in Armament
Avoid the performance impact of accessing Lazy.Value by caching them
when the actor is created and accessing the references directly when needed.
2015-12-14 04:34:58 +01:00
reaperrr
0e5ea959aa Perform faster checks in AB.CanAttack much earlier
Move self.IsDisabled right after IsInWorld and IsTraitDisabled checks.
This should skip/avoid a lot of the following checks when actors are disabled by low power, EMP or similar, potentially saving some performance when there are many disabled actors with attack trait.

Move IsValidFor before HasAnyValidWeapons because the latter is more
expensive.
2015-12-14 04:34:58 +01:00
reaperrr
acc9b37a01 Remove ITraitInfo from AttackBase
That is already included in UpgradableTraitInfo.
2015-12-14 04:34:58 +01:00
atlimit8
bee590a057 Merge pull request #10208 from RoosterDragon/perf-comments
Added some performance comments
2015-12-13 20:46:07 -06:00
Pavel Penev
22678221d0 Fix an oversight regarding building unlocking 2015-12-14 04:18:57 +02:00
Pavel Penev
1b88d24cfa Unstatic GlobalFileSystem and rename it to FileSystem
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
Matthias Mailänder
02c5c1bbfb Merge pull request #10148 from pchote/widelines
Rewrite line renderer: Part 1 (improved lasers plus other cleanups)
2015-12-13 20:55:54 +01:00