Commit Graph

3860 Commits

Author SHA1 Message Date
Matthias Mailänder
7901c06e4c differentiate new/old Lua APIs 2014-07-20 13:53:12 +02:00
Matthias Mailänder
6c1efac235 Merge pull request #5977 from pchote/oi-keep-moving
Don’t cancel MoveAdjacentTo / MoveWithinRange when target becomes invalid
2014-07-19 09:39:32 +02:00
Matthias Mailänder
d2aa97c1d1 Merge pull request #5990 from pchote/repair-fix
Play the correct race notification when repairing an ally’s structure.
2014-07-19 08:08:05 +02:00
Paul Chote
850fcd5100 Fix a typo. 2014-07-19 18:03:21 +12:00
Paul Chote
5b0cee78cf Calculate a new path (and possibly new target cell) if the original path is blocked. 2014-07-19 18:03:21 +12:00
Paul Chote
e805461be7 Don’t cancel MoveAdjacentTo / MoveWithinRange when target becomes invalid.
Move to the last known position instead.  Fixes #5968.
2014-07-19 15:42:52 +12:00
Paul Chote
c2ba2fe12b Play the correct race notification when repairing an ally’s structure. 2014-07-19 15:33:06 +12:00
Paul Chote
87e425042f Fix scripted paradrops. 2014-07-19 14:40:29 +12:00
WolfGaming
7b10da6bde Adds the RequiresPrerequisites field into ProvidesCustomPrerequisite and all the logic behind it. 2014-07-18 06:11:03 +00:00
Chris Forbes
62820430de Merge pull request #5974 from pchote/cratefix
Fix unit collection crates and drop-zone maps.
2014-07-18 12:58:24 +12:00
Paul Chote
e3dae2edd0 Replace the obsolete race check from GiveUnitCrateAction. 2014-07-15 10:15:35 +12:00
Squiggles211
006f7b888a Restored production queue current item checks
Fixes regression #5948 where you could freely build any building by
canceling the production before deploying by restoring the currentItem
checks in the PlaceBuilding order to ensure that the production is still
valid.
2014-07-13 14:06:30 -05:00
Taryn Hill
da001385ae Added some trait [Desc()]s. 2014-07-12 13:31:14 -05:00
Cr0s
0f363d4c0f Fixed typo in HackAI building placement code 2014-07-11 05:44:45 +04:00
Paul Chote
c6ed6dbeb9 Remove redundant overload and return early if outside map. 2014-07-10 20:34:17 +12:00
Paul Chote
05e1841e0e Add AllowInvalidPlacement check to IsCellBuildable. Fixes #5902. 2014-07-10 17:06:57 +12:00
Oliver Brakmann
ab4a9388ce Change defaults for the production palette's ready sign
Default is now to blink alternating between white and gold.
2014-07-09 12:09:44 +02:00
Paul Chote
8b01ed034b Restore blinking ready label in RA. 2014-07-09 21:08:00 +12:00
Paul Chote
2524ead1c4 Merge pull request #5892 from Mailaender/destroyed-repair-building-nre
Added a check if the rearm host building is gone
2014-07-09 20:55:20 +12:00
Paul Chote
15ec2b40f2 Merge pull request #5890 from Mailaender/negative-spawns-crash-fix
Made GetSpawnOccupants more robust against invalid list queries
2014-07-09 20:48:12 +12:00
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
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