Oliver Brakmann
33b916a713
Fix RepairBuilding not working for AI and Lua scripts
...
Fixes #5861
2014-07-07 19:43:52 +02:00
RoosterDragon
a512d9ad0a
Sped up shroud rendering.
...
- Only update shroud within the visible screen area, rather than the whole map. This improves performance on larger maps significantly when scrolling around since large portions of the shroud do not need to be updated.
- Provide methods in Shroud to return delegates to check for explored/visibility for tiles within a certain region. This allows it to return more efficient delegates whenever the region is within the map bounds, or shroud/fog is disabled. In the typical case where the region is in bounds and shroud/fog is enabled, the fast check is almost twice as fast as the slow check.
- Use the Shroud delegate functions in shroud rendering, frozen actors, minimap rendering and resource layer areas to provide a speedup since these areas of code can often take advantage of the fact they perform checks within the map boundary.
- Cache current element in CellRegionEnumerator to prevent repeated work if the element is accessed more than once.
- Decrease the size of elements in some arrays in hopes of reducing memory needs and improving cache hits.
2014-07-07 17:34:31 +01:00
RoosterDragon
2351c43237
Refactoring pass.
...
- Extract an enum for edges rather than using magic numbers for everything.
- Remove duplicated code between FoggedEdges and ShroudedEdges by hosting the visibility function into a delegate.
- Make minimap methods more readable.
- Tidy formatting.
- Make some fields readonly.
- Remove unused usings.
2014-07-07 17:34:25 +01:00
Matthias Mailänder
91a076728d
generalize into SpawnActorPower
...
closes #5724
2014-07-07 15:27:54 +02:00
Matthias Mailänder
f60fefd5f5
add a ripple animation based on the move flash
2014-07-07 15:26:07 +02:00
Matthias Mailänder
43bca0e73d
add the sonar pulse
...
closes #4729
2014-07-07 15:26:07 +02:00
Matthias Mailänder
5cdf0e6a67
generalize MoveFlash as parametrized SpriteEffect
2014-07-07 15:23:14 +02:00
Matthias Mailänder
4fb38c955b
Merge pull request #5859 from pchote/paratrooper-cleanup
...
Improve paratroopers.
2014-07-07 15:19:41 +02:00
Paul Chote
e4f8816486
Fix the crate drop.
2014-07-08 00:30:55 +12:00
Paul Chote
ab26d4b0ad
Overhaul ParatroopersPower:
...
- Adds support for multiple drop planes.
- Adds support a beacon and camera.
- Prevents the plane from circling if it can’t unload.
2014-07-08 00:30:38 +12:00
Matthias Mailänder
b8756d9de7
Merge pull request #5860 from pchote/news-fix
...
News fixes
2014-07-07 13:25:25 +02:00
Paul Chote
470dfa941a
Merge pull request #5840 from Mailaender/map-download-isometry-nre
...
Fixed a NullReferenceException in auto map download.
2014-07-07 22:31:25 +12:00
Paul Chote
d0a972f3b7
Merge pull request #5835 from Squiggles211/wall-damage
...
Removed false damage states which caused invisible walls. Fixes #5654
2014-07-07 22:27:25 +12:00
Paul Chote
ad375c5734
Reorganize news parsing. Fixes #5647 .
2014-07-07 22:23:04 +12:00
Paul Chote
c352ff644f
Use a shared url for news updates. Fixes #5603 .
2014-07-07 21:48:07 +12:00
Matthias Mailänder
fa83507a62
Merge pull request #5854 from pchote/ra-poster
...
Add beacons to the RA spy plane and parabombs
2014-07-07 10:15:03 +02:00
Matthias Mailänder
17e41a7b79
Merge pull request #5856 from MustaphaTR/d2k-footprints
...
D2k Some Footprint Fixes
2014-07-07 09:33:41 +02:00
Mustafa Alperen Seki
96988fe563
Fixed ref and palace footprints.
2014-07-07 10:20:12 +03:00
Matthias Mailänder
d4627479b5
fix a NullReferenceException in preview.Map
2014-07-07 09:18:24 +02:00
Paul Chote
38a08c0967
Add a spy plane beacon, and quantise facings.
2014-07-07 17:40:51 +12:00
Paul Chote
59bea931a5
Use AirstrikePower for spy planes.
2014-07-07 17:40:51 +12:00
Paul Chote
a4ba7f7158
Remove the obsolete flare definition from AirstrikePower.
2014-07-07 17:40:51 +12:00
Paul Chote
c6299892e0
Remove obsolete BeaconDuration definitions.
2014-07-07 17:40:50 +12:00
Paul Chote
6f7816b653
Add beacon to parabombs, and quantise facings.
2014-07-07 17:40:44 +12:00
Paul Chote
e3e5de2b59
Merge pull request #5844 from Mailaender/ts-blossom-trees
...
Added Blossom Trees to Tiberian Sun
2014-07-07 11:23:04 +12:00
Chris Forbes
43ce9274e1
Merge pull request #5847 from Mailaender/sietch-bib
...
Fixed the sietch crashing the game when placed on a map
2014-07-07 09:42:06 +12:00
Chris Forbes
e3100171f0
Merge pull request #5848 from Mailaender/shellmap-category
...
Categorized shellmaps
2014-07-07 09:39:05 +12:00
Chris Forbes
c2a659f4d2
Merge pull request #5849 from Mailaender/active-animation-pause
...
Fixed active animations playing during paused games
2014-07-07 09:34:44 +12:00
Matthias Mailänder
dc63171e0e
pause active animations
2014-07-06 23:11:56 +02:00
Matthias Mailänder
4fb7d4ef41
fix Unit sietch does not have a sequence named bib2x
2014-07-06 22:55:27 +02:00
Matthias Mailänder
a550febc94
categorize shellmaps
2014-07-06 21:04:03 +02:00
Matthias Mailänder
dac2314051
add blossom trees to Tiberian Sun
2014-07-06 19:00:43 +02:00
Matthias Mailänder
0262a946be
add FrozenActorLayer to Tiberian Sun
2014-07-06 19:00:25 +02:00
Matthias Mailänder
b466a066a9
Merge pull request #5839 from ihptru/downloadingstatus
...
depend on proper status in auto-downloading
2014-07-06 17:46:04 +02:00
ihptru
305f76e300
depend on proper status in auto-downloading
2014-07-06 19:17:38 +04:00
Paul Chote
6ad5c99815
Merge pull request #5806 from Mailaender/seeds-resources-cleanup
...
Fixed SeedsResources messing with make animation
2014-07-07 01:05:17 +12:00
Matthias Mailänder
82a8fd329e
don't play active animation when we sell it
2014-07-06 14:58:29 +02:00
Matthias Mailänder
69209cd340
split WithActiveAnimation from SeedsResource
...
closes #5300
2014-07-06 14:58:29 +02:00
Matthias Mailänder
59dcd297f5
Merge pull request #5828 from reaperrr/missile-shadow
...
Re-implement Shadow support for Missiles
2014-07-06 14:55:51 +02:00
Paul Chote
06039ce818
Merge pull request #5304 from Mailaender/music-downloads
...
Added Music downloads
2014-07-07 00:52:05 +12:00
reaperrr
5a645adb2d
TS changes to improve missile test cases.
2014-07-06 14:46:07 +02:00
reaperrr
a69f5857e6
Removes Missile-shadow-related bitrot.
2014-07-06 14:46:05 +02:00
reaperrr
cb216aa345
Reimplement Shadow toggle for Missile projectile.
...
Enable Shadow by default.
2014-07-06 14:46:04 +02:00
Matthias Mailänder
fe41ac7fa3
@pchote breaks all the things
2014-07-06 14:45:05 +02:00
Matthias Mailänder
443b46ca64
fix Tiberian Sun installation from CD
2014-07-06 14:04:26 +02:00
Paul Chote
3f7293b206
Let FieldLoader do the hard work of loading fields.
2014-07-06 14:04:26 +02:00
Matthias Mailänder
352067eb48
consistent size for all install panels
2014-07-06 14:04:26 +02:00
Matthias Mailänder
038146abb3
prevent flickering
2014-07-06 14:04:26 +02:00
Matthias Mailänder
6a0c158ffa
rename gameinit to install for consistency
2014-07-06 14:04:26 +02:00
Matthias Mailänder
585264d3ad
remove non-existing "INIT_SETUP" chrome widget reference
2014-07-06 14:04:26 +02:00