Commit Graph

15527 Commits

Author SHA1 Message Date
penev92
494b600ed8 Move refinery and harvester logic to Mods.Common;
Remove unused interface IAcceptOreDockAction
2015-02-06 13:23:07 +02:00
Matthias Mailänder
6714b498af Merge pull request #7428 from Phrohdoh/chmod
Unset executable bit from some thirdparty objects.
2015-02-05 19:22:22 +01:00
Oliver Brakmann
fc7e944727 Merge pull request #7398 from LipkeGu/ts_assets_part2
Adding the Rocks to Tiberian Sun
2015-02-05 18:22:57 +01:00
Oliver Brakmann
01ee8a3ca7 Merge pull request #7421 from huwpascoe/bugfix-carryall
BugFix: harvester-carryall remote death
2015-02-05 17:04:40 +01:00
Oliver Brakmann
1cb04d4500 Merge pull request #7408 from Mailaender/appveyor-nsis-deploy
Fixed NSIS being installed during every pull request build
2015-02-05 16:11:50 +01:00
Taryn Hill
a0130f105e Unset executable bit from some thirdparty objects. 2015-02-04 12:37:04 -06:00
huwpascoe
804cdee8f0 BugFix: harvester-carryall remote death
The d2k harvester would suddenly explode if the approaching carryall was
destroyed. This is because there was no distinction between the unit being
carried and the unit being reserved. To test you'll probably have to tweak
the turret missile in weapons.yaml so you can forcefire on the carryall.

* added a bool to check if carryall is actually holding it's target
* fixed harvester being stuck in reserved mode
2015-02-03 22:43:35 +00:00
Taryn Hill
e79239311a Merge pull request #7376 from abcdefg30/tsprereqs
Fix TS prerequisites.
2015-02-03 15:46:13 -06:00
Oliver Brakmann
86051ade43 Merge pull request #7423 from abcdefg30/demofix
Fix the demo truck explosion not killing the initiator
2015-02-03 22:20:18 +01:00
Guido L.
ce5e6e5a76 Add Rocks to Tiberian Sun 2015-02-03 19:26:47 +01:00
Oliver Brakmann
99c4e12650 Merge pull request #7425 from chrisforbes/issuestats
add issuestats badges to README
2015-02-03 17:21:54 +01:00
Chris Forbes
9f05d39352 add issuestats badges to README 2015-02-03 15:35:42 +13:00
RoosterDragon
b4993efff1 Avoid some minor allocations.
- Don't call string.Format in Actor.ToString since it gets called often, instead prefer a simple concat.
- In HiddenUnderFog.IsVisible, avoid a needless level of lambda indirection.
2015-02-02 21:16:14 +00:00
RoosterDragon
7e28acadd8 DrawPanelPartial now specifies each sprite as an individual parameter.
This allows some array allocations to be avoided, and makes the code more obvious since each sprite is referred to by name rather than an array index.
2015-02-02 21:16:14 +00:00
Oliver Brakmann
0371cfef3b Merge pull request #7406 from abcdefg30/allies05a
Ported allies05a to lua
2015-02-02 17:06:53 +01:00
Oliver Brakmann
ccc34806de Some polish for allies05a
* Viewport follows the truck automatically
* Greece's reinforcements arrive only after the heli has left the scene
* Added "Reinforcements have arrived" notification
* Adds all the Lua files of the recent missions to the solution
2015-02-02 16:51:50 +01:00
abcdefg30
aab54218e5 Ported allies05a to lua 2015-02-02 16:51:50 +01:00
abcdefg30
3b5e95bdc5 Set "AffectsParent: true" for the "MiniNuke" weapon 2015-02-02 15:17:41 +01:00
Matthias Mailänder
595c792879 remove the unused movie lists 2015-02-01 18:53:50 +01:00
Matthias Mailänder
5040baac9b Merge pull request #7415 from obrakmann/gdi05a
Add mission gdi05a
2015-02-01 18:49:27 +01:00
Oliver Brakmann
1b4dc3d1fe Add mission gdi05a 2015-02-01 18:12:46 +01:00
Oliver Brakmann
479259b9d7 Update mission gdi03 2015-02-01 15:50:18 +01:00
Oliver Brakmann
4aa97ec776 Allow support powers to start with a full charge when created 2015-02-01 15:49:45 +01:00
Oliver Brakmann
de616c69a2 Merge pull request #7416 from atimoschenkow/adjust-nudge
Adjust nudging for cases where no enterable cell is found
2015-02-01 15:18:59 +01:00
Oliver Brakmann
07d6a104a1 Merge pull request #7413 from Unit158/BoDupdate
Updated Break of Day
2015-02-01 15:14:51 +01:00
atimoschenkow
f2ae11f247 Adjust nudging for cases where no enterable cell is found
- Randomly select one of the occupied "non-stupid" cells
- Notify blockers in that cell
- Wait until it can be entered
- Move to cell
2015-02-01 14:57:10 +01:00
Matthias Mailänder
bcda232a1c Merge pull request #7231 from RoosterDragon/linq-checks
Checked LINQ queries and collections for inefficiencies.
2015-02-01 08:56:15 +01:00
Christopher Grant
ec79915323 Updated Break of Day 2015-01-31 18:04:35 -05:00
Oliver Brakmann
b68918f5d5 Merge pull request #7401 from RoosterDragon/stylecop-ignore-designer
Ignore designer generated files during StyleCop checks.
2015-01-31 14:35:28 +01:00
RoosterDragon
7ad58a3e3d Revert "don't check auto-generated code"
This reverts commit 47e2d9d623.
2015-01-31 12:46:47 +00:00
RoosterDragon
7a0889db91 Ignore designer generated files during StyleCop checks. 2015-01-31 12:46:47 +00:00
Matthias Mailänder
cfbe59f1e4 only install NSIS during deployment 2015-01-31 11:31:48 +01:00
Paul Chote
885b8ee18b Merge pull request #7407 from Mailaender/moneybinwidget-invalid-spacing
Fixed OpenRA.Mods.D2k/Widgets/MoneyBinWidget.cs: [SP2000] Invalid spacing at the end of the line.
2015-01-31 23:21:36 +13:00
Matthias Mailänder
89a5facb14 fix SP2000 2015-01-31 11:07:06 +01:00
Matthias Mailänder
7592f7d6fb Merge pull request #7342 from LipkeGu/Draw_sprite_crash
Do not try to draw "null" sprites
2015-01-31 10:55:26 +01:00
Matthias Mailänder
f0d4650857 Merge pull request #7392 from abcdefg30/missiondiplomacy
Disable the diplomacy menu in mission or campaign maps
2015-01-31 10:49:44 +01:00
Matthias Mailänder
83e3edb90a Merge pull request #7404 from obrakmann/non-targetable-spyplane
Make spy plane non-targetable
2015-01-31 10:37:53 +01:00
Oliver Brakmann
22b1f4de59 Merge pull request #7331 from Phrohdoh/dune-armor-bonuses
TerrainModifiesDamage trait.
2015-01-30 17:30:43 +01:00
Oliver Brakmann
f0a1292207 Make spy plane non-targetable 2015-01-30 15:52:35 +01:00
Matthias Mailänder
4899b555a9 Merge pull request #7191 from Mailaender/ts-superweapons
Added the Nod missile silo and the Ion Cannon to the Tiberian Sun mod
2015-01-29 21:48:14 +01:00
abcdefg30
28b90b0115 Use the class enum in LeaveMapLogic.cs as well 2015-01-29 20:26:40 +01:00
abcdefg30
b7b1e13c63 Disable the diplomacy menu in mission or campaign maps 2015-01-29 20:26:15 +01:00
RoosterDragon
82bea961ba Checked LINQ queries and collections for inefficiencies.
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
  - Collection queried often via Contains use ToHashSet to speed up lookups.
  - Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
  - Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
Oliver Brakmann
f5f3747338 Merge pull request #7400 from obrakmann/whitespace-fix
Remove whitespace from empty line
2015-01-28 21:36:32 +01:00
Oliver Brakmann
f247bc890e Remove whitespace from empty line 2015-01-28 21:25:07 +01:00
Oliver Brakmann
7ddc340d5b Merge pull request #7314 from Unit158/Levelup-command
Added a levelup command
2015-01-28 20:58:17 +01:00
Oliver Brakmann
2e1ca40bb5 Merge pull request #7155 from cjshmyr/buildarea
Use ActorMap instead of BuildingInfluence for finding buildable area
2015-01-28 19:03:49 +01:00
Oliver Brakmann
9ec349cfd6 Merge pull request #7259 from MustaphaTR/d2k-tile-fix
D2K - Fixed some tiles
2015-01-28 18:54:02 +01:00
Mustafa Alperen Seki
a1810f7d28 Fixed some d2k tiles. 2015-01-28 14:17:06 +02:00
Oliver Brakmann
b0b83f2a3e Merge pull request #7388 from MustaphaTR/d2k-carryall-to-last
D2K - Carryall moved to last in Starport.
2015-01-27 20:32:06 +01:00