Matthias Mailänder
dc2880e047
bring it in line with Rearm
2014-07-09 09:35:36 +02:00
Matthias Mailänder
26ed4c24be
check if the host building is gone
...
fixes #5670
2014-07-09 09:25:06 +02:00
Matthias Mailänder
971ec55679
Merge pull request #5833 from pchote/cnc-techlevels
...
Closes #3221
2014-07-09 08:51:29 +02:00
Paul Chote
83b559befc
Fix NRE if a unit is damaged without a warhead.
2014-07-09 18:02:27 +12:00
Paul Chote
a46baeaf2b
Reorganise AI base building logic.
...
- Now obeys defined structure percentages and limits.
- Faster.
- More readable and maintainable code.
2014-07-09 17:50:14 +12:00
Paul Chote
c8bd8336f7
Remove super-spammy debug messages.
2014-07-09 17:50:14 +12:00
Matthias Mailänder
5a891daa59
make GetSpawnOccupants more robust against invalid list queries
...
fixes #5588
2014-07-09 06:21:59 +02:00
Paul Chote
5e96bb3f8c
Merge pull request #5824 from reaperrr/pronedamage
...
Moved ProneDamage to Warhead
2014-07-09 11:02:02 +12:00
Paul Chote
e5b863f926
Merge pull request #5698 from Mailaender/sonar
...
Added the sonar pulse to reveal sub marines
2014-07-09 10:44:47 +12:00
reaperrr
fabca5dca6
Move ProneDamage modifier from TakeCover to Warhead.
...
Rename it to ProneModifier and convert it to integer.
2014-07-08 21:05:42 +02:00
Paul Chote
1b222958d6
Don’t override custom animations if damaged.
2014-07-08 17:12:36 +12:00
Paul Chote
2b91a2363b
Fix make animations.
2014-07-08 16:56:09 +12:00
Paul Chote
5650d5fc98
Revert "use TickRender() for RenderSprites and PaletteModifier"
...
This reverts commit 87fd576b26 .
2014-07-08 11:09:54 +12:00
Paul Chote
802b6a652c
Revert "new PauseState to differentiate game and editor pausing"
...
This reverts commit d1e18cad7a .
2014-07-08 10:42:00 +12:00
Paul Chote
18c9a25232
Revert "freeze animations during pause to visualize it better"
...
This reverts commit 960248fe44 .
2014-07-08 10:40:06 +12:00
Matthias Mailänder
d2adc28a00
Merge pull request #5865 from obrakmann/fix5861
...
Fix RepairBuilding not working for AI and Lua scripts
2014-07-07 20:54:03 +02:00
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
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
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
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
Matthias Mailänder
dc63171e0e
pause active animations
2014-07-06 23:11:56 +02: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
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
038146abb3
prevent flickering
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
Matthias Mailänder
2f55768c1b
restart the game instead of unmounting on the fly
...
avoid more redundancy between the load screens
2014-07-06 14:04:26 +02:00
Matthias Mailänder
7b5e072994
unmount all to avoid write permission problems
...
fight the new caching mechanism and M$ WindowsTM file systems
2014-07-06 14:04:25 +02:00
Matthias Mailänder
dbb4132b66
add TrimOrEmpty to avoid NREs
2014-07-06 14:04:25 +02:00
Matthias Mailänder
cc64b41246
fix Tiberian Dawn CD rip logic
...
closes #4424
2014-07-06 14:04:25 +02:00
Matthias Mailänder
57a631c284
rebase bit rot crap
2014-07-06 14:04:25 +02:00
Matthias Mailänder
7783e988a7
unify music install and add a download option
...
closes #4759
2014-07-06 14:04:25 +02:00
Matthias Mailänder
14f71c55bf
unify install from CD logic
2014-07-06 14:04:25 +02:00
Matthias Mailänder
351c759793
separate content install from loadscreen
2014-07-06 14:04:25 +02:00
Paul Chote
08b1c989d6
Merge pull request #5640 from Mailaender/editor-tick
...
Separated Tick and TickRender more cleanly
2014-07-07 00:03:04 +12:00