Commit Graph

462 Commits

Author SHA1 Message Date
Oliver Brakmann
32ed63727d Revert "Expose Plane turn-to-attack delay to yaml."
This reverts commit 02da41e5c5.
2015-04-03 23:42:35 +02:00
Oliver Brakmann
a8d7140c1a Merge pull request #7815 from Phrohdoh/aircraft-turn-timing
Expose Plane turn-to-attack delay to yaml.
2015-04-03 23:15:41 +02:00
Matthias Mailänder
8494ad0a38 Merge pull request #7834 from RoosterDragon/avoid-preventable-allocations
Avoid preventable allocations
2015-04-03 13:52:46 +02:00
Pavel Penev
cedfe5c0b5 Merge pull request #7734 from RoosterDragon/frozen-lazy-render
Lazily generate frozen actor renderables.
2015-04-03 04:16:19 -07:00
Matthias Mailänder
de2860358f Merge pull request #7814 from Phrohdoh/default-image
Image reference in 'Defaults' sequence block.
2015-04-03 10:36:29 +02:00
Paul Chote
5f7b9b7621 Merge pull request #7827 from obrakmann/fix-refund-tooltip-margins
Fix margins of refund tooltips
2015-04-03 01:13:04 +01:00
RoosterDragon
287ead56b3 Avoid allocating a delegate and new list in every tick of RepairableBuilding. 2015-04-02 21:41:22 +01:00
RoosterDragon
ab2ef0ba03 Improve performance of target validation.
The Warhead and WeaponInfo classes now maintain preconstructed sets of valid and invalid targets to speed up validation checks since LINQ Intersect no longer has to be called (which recreates the sets internally each time).

Fixed minor bugs in the AI where it was repeating the validation logic but failing to account for invalid targets.
2015-04-02 21:11:12 +01:00
Taryn Hill
58f32a11f8 Merge pull request #7828 from obrakmann/fix7821_pbog_crash_td
Fix crash when placing buildings in TD.
2015-04-02 11:38:35 -05:00
Oliver Brakmann
0406e8e708 Add $-sign to refund tooltip 2015-04-02 18:35:34 +02:00
Oliver Brakmann
5e7a71edf5 Fix crash when placing buildings in TD
Caused by production queues being tied to buildings, not the player, in TD.
PBOG would therefore try to find the PlaceBuilding trait, which is on the player, on the conyard actor and crash.
2015-04-02 18:04:19 +02:00
Oliver Brakmann
cc1da824cd Merge pull request #7820 from Mailaender/oldlength-ancient-mono-fix
Removed unused oldLength
2015-04-01 21:39:56 +02:00
Matthias Mailänder
4cc016c3d0 remove unused oldLength
closes #7808
2015-04-01 19:43:56 +02:00
Taryn Hill
4ed53c5952 Simplify return statements.
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
Chris Forbes
14e9cfd433 Merge pull request #7812 from pchote/modules
Pluggable upgrade modules
2015-04-02 05:25:48 +13:00
Taryn Hill
28ea59854e Merge pull request #7748 from pchote/heightmap-input
Account for terrain height and slope when calculating order location.
2015-04-01 07:57:33 -05:00
Taryn Hill
02da41e5c5 Expose Plane turn-to-attack delay to yaml.
Require Plane in some ctors.
2015-04-01 00:12:20 -05:00
Taryn Hill
f41497b421 Allow Defaults: image in sequence definitions. 2015-03-31 21:36:50 -05:00
Paul Chote
ebd09f196c Add upgrade support to SupportPower. 2015-03-31 22:32:12 +01:00
Paul Chote
e440d00585 Add upgrade support to WithIdleOverlay. 2015-03-31 22:32:12 +01:00
Paul Chote
5c18220636 Add upgrade support to WithTurret. 2015-03-31 22:32:11 +01:00
Paul Chote
42f3fa7439 Add upgrade support to WithMuzzleFlash. 2015-03-31 22:23:44 +01:00
Paul Chote
ee12257d24 Fix RenderRangeCircle for disabled Armaments. 2015-03-31 22:23:43 +01:00
Paul Chote
a9e1c09d82 Add upgrade support to DetectCloaked. 2015-03-31 22:23:43 +01:00
Paul Chote
4597895ea3 Add upgrade support to AttackBase. 2015-03-31 22:23:43 +01:00
Paul Chote
d1839701bb Add Plug and Pluggable for building actor-specific upgrades. 2015-03-31 22:23:41 +01:00
Taryn Hill
c6c52eac7d Expose and document the palette used
by PlaceBuildingOrderGenerator for
the structure placement overlay
2015-03-31 15:26:04 -05:00
Paul Chote
c0fa025b74 Indicate current mouseover cell in TerrainGeometryOverlay. 2015-03-31 20:59:53 +01:00
Paul Chote
1e54b19bd3 Implement heightmap-aware view -> cell conversion. 2015-03-31 20:59:53 +01:00
Paul Chote
c68cb995f4 Move cell corner state into Map. 2015-03-31 20:59:52 +01:00
Oliver Brakmann
bec56ee5b6 Merge pull request #7784 from reaperrr/fix-ctor-regressions
Fixes #7764, #7780...
2015-03-31 00:06:01 +02:00
reaperrr
83b702343e Fixes #7764, #7780 and other potential regressions introduced by #7671. 2015-03-30 21:51:29 +02:00
Paul Chote
84e85d8a5d Rename Image -> Images. 2015-03-30 20:20:36 +01:00
Paul Chote
4be5334a0e Add support for TS-style random tile variants. 2015-03-30 19:44:53 +01:00
Paul Chote
b2458fc614 Remove GlobalFilesystem.OpenWithExts. Closes #5272. 2015-03-28 12:38:48 +00:00
Matthias Mailänder
99283da84f Merge pull request #7723 from RoosterDragon/batch-shroud-cell-changes
Batch shroud cell changes
2015-03-28 12:16:30 +01:00
Matthias Mailänder
87d2aa062a Merge pull request #7710 from pchote/radar-geometry-fix
Fix radar origin for non-square widgets.
2015-03-28 10:01:06 +01:00
reaperrr
fe09cef825 Merge pull request #7745 from pchote/ts-snow
Add snow tileset and artwork to TS.
2015-03-28 01:26:41 +01:00
Oliver Brakmann
18c59bdb7f Merge pull request #7671 from reaperrr/random-optimisations
More constructor caching and minor random optimisations
2015-03-27 23:40:11 +01:00
Oliver Brakmann
66c56ac47a Merge pull request #7678 from delftswa2014/feature/aicheats
Money cheat for all players and AI
2015-03-27 23:02:37 +01:00
RoosterDragon
1584018dcd Batch shroud cell changes.
By maintaining a set of changed cells we can avoid repeating work for cells that change multiple times before being rendered. The shroud renderer and radar widget now delay their work until they must render, and thus process each changed cell only once. This avoids significant repetition that was causing major slowdown when many actors were in the world.
2015-03-27 19:50:05 +00:00
reaperrr
8bc31a4ae2 Make smoke trail palette customisable, add player color trail support to bullets & missiles 2015-03-27 13:59:33 +01:00
reaperrr
9e2da0d2df Add support for player color explosions to CreateEffectWarhead 2015-03-27 13:51:13 +01:00
reaperrr
b52d055eec Misc constructor caching
Cache trait look-ups in constructor for various other traits and
activities.
2015-03-27 13:47:04 +01:00
reaperrr
1e9d1a6cb7 Cache trait look-ups in the constructor where possible for Air activities/traits 2015-03-27 13:47:04 +01:00
Pavel Penev
9a780ba07d Merge pull request #7738 from pchote/cnc-remove-legacy-parsing
Disable legacy sequence parsing in TD.
2015-03-27 02:58:41 -07:00
reaperrr
b5c74c63c9 Make variable bullet angle and speed independent from each other 2015-03-27 00:11:33 +01:00
reaperrr
d531d29791 Add/tweak some descriptions and streamline style/organisation of
projectile and explosion effects code
2015-03-27 00:11:32 +01:00
reaperrr
33cb4fe3e1 Projectile refactoring upgrade rules 2015-03-27 00:11:31 +01:00
reaperrr
c92b2298c3 Remove missile TurboBoost 2015-03-27 00:04:39 +01:00