Commit Graph

469 Commits

Author SHA1 Message Date
Matthias Mailänder
a8b9026876 fix CS0172 2015-04-05 12:46:41 +02:00
Matthias Mailänder
3f48c649f0 Merge pull request #7722 from penev92/bleed_diplomacyWindow
Closes #7391
2015-04-05 08:34:38 +02:00
penev92
2c108a1845 Use proper names and flags for unknown players 2015-04-04 17:24:19 +03:00
Oliver Brakmann
a3f875b8a8 Merge pull request #7845 from reaperrr/mapcontrol-remove
Removed map control from player statistics for performance reasons
2015-04-04 13:24:07 +02:00
reaperrr
e25247f259 Removes map control from player statistics for performance reasons 2015-04-04 01:38:54 +02:00
Oliver Brakmann
b1d3486561 Expose Plane turn-to-attack delay to yaml 2015-04-04 00:10:06 +02:00
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
penev92
a26be8188c Hide faction for players who randomed in diplomacy and objectives panels 2015-03-28 20:44:05 +02: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