Commit Graph

2147 Commits

Author SHA1 Message Date
Matthias Mailänder
9d3a3dd9e5 Merge pull request #10568 from abcdefg30/waterCrates
Fix crates not showing their water animation
2016-01-23 15:10:26 +01:00
Matthias Mailänder
8b478e3d0a Merge pull request #10569 from abcdefg30/PrimaryNote
Unhardcode the "PrimaryBuildingSelected" notification
2016-01-23 14:09:41 +01:00
Paul Chote
5f4ca605bd Merge pull request #10420 from Mailaender/revert-fixAttack
Revert "Don't attack actors that you can't see"
2016-01-23 12:45:55 +00:00
abcdefg30
71c804781e Unhardcode the "PrimaryBuildingSelected" notification 2016-01-23 13:41:18 +01:00
abcdefg30
b1fac69b01 Make the INotifyParachuteLanded implementation in WithCrateBody.cs explicit 2016-01-23 13:22:11 +01:00
abcdefg30
4a67104603 Fix crates not showing their water animation
when they are not paradropped.
2016-01-23 13:21:29 +01:00
Matthias Mailänder
7aa6921c72 Merge pull request #10557 from abcdefg30/queueCleanup
More cleanup in the production logic
2016-01-23 10:52:33 +01:00
Oliver Brakmann
97d10da39b Merge pull request #10478 from pchote/fix-replay-support-timers
Sync replay support timers to original game time.
2016-01-22 23:19:25 +01:00
abcdefg30
ed3f3706f9 Reduce trait lookups further by adding a BuildableInfo parameter to GetBuildTime 2016-01-21 22:29:01 +01:00
abcdefg30
4e0775b59e Remove the unused ISync implementation in ClassicProductionQueue.cs
The base class ProductionQueue already implements ISync
2016-01-21 22:24:51 +01:00
abcdefg30
5496245a00 Remove unnecessary lookups and checks
- We already return early if the unit doesn't have a BuildableInfo
- World.Map.Rules.Actors[actorName] won't return null
- Made BuildUnit use an ActorInfo instead of the name as parameter
2016-01-21 22:24:50 +01:00
abcdefg30
17daac11a1 Avoid unnecessary lookups in the production logic
by improving the GetBuildTime method and moving lookups around.
2016-01-21 22:24:49 +01:00
abcdefg30
2ee7e11064 Merge pull request #10488 from obrakmann/fix10451_printing_money_with_spies
Change guaranteed amount of stolen funds to spy's value
2016-01-21 21:27:48 +01:00
abcdefg30
fac6459b19 Merge pull request #10526 from obrakmann/koth-refactor
Improve ProximityCapturable
2016-01-21 20:38:57 +01:00
Oliver Brakmann
a612ca9c5f Use proper speech notification for InfiltrateForCash 2016-01-21 20:35:28 +01:00
Oliver Brakmann
a0f3c576e5 Merge pull request #10532 from abcdefg30/polish
Apply some general polish to the code/yaml
2016-01-21 20:18:57 +01:00
Matthias Mailänder
df695fed7f Merge pull request #10555 from pchote/fix-installation
Fix TD/RA/TS installation from CD.
2016-01-21 19:58:04 +01:00
abcdefg30
6bbab081d1 Fix wrong indentation in ProductionPaletteWidget.cs 2016-01-21 15:41:34 +01:00
abcdefg30
fdfea2f0fb Fix style errors in ProductionQueue.cs 2016-01-21 15:41:33 +01:00
abcdefg30
e37d804a5a Replace spaces by tabs in UpgradeRules.cs 2016-01-21 15:41:32 +01:00
Paul Chote
00920b0060 Fix TD/RA/TS installation from CD. 2016-01-21 00:01:32 +00:00
Paul Chote
b0bd252343 Move Util to Mods.Common. 2016-01-19 23:35:18 +00:00
Paul Chote
0039a2bdbf Split out an ActivityUtils class. 2016-01-19 23:34:13 +00:00
Paul Chote
e46fc644c1 Remove Util.QuantizeFacing from trait code. 2016-01-19 23:34:13 +00:00
Paul Chote
275be64f05 Remove Util.QuantizeFacing from support powers. 2016-01-19 23:34:13 +00:00
Oliver Brakmann
4f2b1f5177 Make WithRangeCircle a little more flexible
* Added ability to show the circle in the player's colour.
* Added ability to show the circle either always or only when selected.
* Added ability to configure the stances players need to see the circle.
2016-01-19 21:07:50 +01:00
Oliver Brakmann
8b5df6bf2c Improve ProximityCapturable
The following changes are made:

* Replaced the custom actor search with ProximityTriggers.
* Added a `Sticky` flag, which causes the ownership to not revert back to
  the original owner when the captor leaves.
* Added trait documentation.
2016-01-19 21:07:50 +01:00
Oliver Brakmann
3b675c9bad Merge pull request #10547 from Mailaender/passenger-refactor
Small code cleanup in the Passenger trait
2016-01-19 19:07:47 +01:00
abcdefg30
3c8be18a73 Merge pull request #10507 from pchote/fix-locked-color-validation
Disable color validation for locked colors.
2016-01-19 18:18:09 +01:00
Matthias Mailänder
fc8d35c2d4 put enter transport order targeters into respective files 2016-01-18 21:53:57 +01:00
Paul Chote
c581283c9a Add the TS map importer. 2016-01-18 20:52:35 +00:00
Oliver Brakmann
a04223fcd2 Merge pull request #10143 from Phrohdoh/interface-reflection
Implement a utility command to check for explicit interface implementation violations.
2016-01-18 20:23:43 +01:00
abcdefg30
d416138cec Merge pull request #10542 from RoosterDragon/simplify
General Cleanup
2016-01-18 11:37:30 +01:00
Matthias Mailänder
40debbde28 Merge pull request #10508 from pchote/cancel-tooltip-on-menu
Cancel tooltips when opening the ingame menu.
2016-01-18 07:30:11 +01:00
Taryn Hill
25eddb9567 Explicitly implement ISelectionBar 2016-01-17 22:33:41 -06:00
Taryn Hill
2e861c6d65 Implement a utility command to check for explicit
interface implementation violations
2016-01-17 17:31:36 -06:00
Paul Chote
3ccbb480ad Merge pull request #10505 from Mailaender/palette-conf
Fixed parachute palette configuration for Red Alert 2
2016-01-17 21:54:56 +00:00
Oliver Brakmann
d151343216 Merge pull request #10468 from RoosterDragon/fix-dev-shroud-invalidation
Fix shroud not updating when disabled
2016-01-17 22:42:34 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Oliver Brakmann
c40b64ad02 Fix arbitrary defaults in InfiltrateForCashInfo. 2016-01-17 22:09:04 +01:00
Oliver Brakmann
aaeb715006 Merge pull request #10246 from penev92/terrainPalettes
Allow tile templates to define their own palette
2016-01-17 21:39:28 +01:00
Matthias Mailänder
a829baa82a Merge pull request #10521 from pchote/facing-cleanup
Remove Util.GetFacing.
2016-01-17 20:21:50 +01:00
Pavel Penev
288de5284e Fix TerrainTemplatePreviewWidget to use proper palettes 2016-01-17 19:02:18 +02:00
Pavel Penev
861d1368a4 Unhardcode internal terrain palette name from all over the codebase 2016-01-17 19:02:16 +02:00
Oliver Brakmann
7cf98c5e26 Merge pull request #10324 from RoosterDragon/change-frozen-actor-removals
GPS updates frozen actors that change owner
2016-01-17 13:37:53 +01:00
RoosterDragon
dc99dbef2a Add an upgrade rule for FrozenUnderFogUpdatedByGps. 2016-01-17 00:15:08 +00:00
RoosterDragon
c98df23b57 Create FrozenActor.RefreshState method for better encapsulation and reuse of this logic. 2016-01-17 00:13:06 +00:00
RoosterDragon
3026bdcea5 Implement equality on TraitPair. 2016-01-17 00:13:06 +00:00
Paul Chote
bee77db1e3 Rename variables for clarity. 2016-01-17 00:02:49 +00:00
Paul Chote
bec059a3c7 Remove unnecessary assumption about non-mobile. 2016-01-17 00:02:49 +00:00