Commit Graph

2173 Commits

Author SHA1 Message Date
abcdefg30
79829c5270 Add support for playing a "Our ally is under attack" notification 2016-01-26 21:16:29 +01:00
abcdefg30
a56ffb581f Move some checks in *AttackNotifier to improve performance 2016-01-26 21:10:12 +01:00
Oliver Brakmann
2ae9bc7ebd Merge pull request #10567 from Mailaender/passenger-upgrade-lint
Fixed Passenger missing UpgradeGrantedReference
2016-01-26 20:11:36 +01:00
Oliver Brakmann
4b02134b2d Merge pull request #10594 from abcdefg30/sizeD2k
Fix a crash in d2k caused by empty bounds
2016-01-26 19:30:30 +01:00
Matthias Mailänder
0878f5f371 Merge pull request #9981 from teees/gates-trait
Added gates to Tiberian Sun
2016-01-25 19:51:01 +01:00
abcdefg30
d087a16042 Fix a crash in d2k caused by empty bounds
This adds respective checks to Building.cs.
2016-01-25 16:44:17 +01:00
abcdefg30
386acdcfc9 Merge pull request #10536 from Mailaender/warn-nobots
Added a warning when bots have been disabled
2016-01-25 16:35:42 +01:00
teees
5ca9f52a62 IWallConnectorInfo to allow gates connect to walls in map editor 2016-01-25 09:25:36 +01:00
teees
3dc63999e3 Fix for BlockProjectiles to ignore blockers with height <= 0 2016-01-25 09:14:00 +01:00
teees
18e26d87c7 Add support for multiple IWallConnector traits 2016-01-25 09:14:00 +01:00
Paul Chote
1de1458fda Fix wall adjacency for multi-cell neighbours. 2016-01-25 09:14:00 +01:00
teees
65e1e301f4 Added Gates
FIXUP: account for full gate footprint when updating neighbours.

FIXUP: gate-wall connection adjacency yaml.
2016-01-25 09:14:00 +01:00
teees
3d597c7880 Add IBlocksProjectiles interface to avoid using BlocksProjectiles directly 2016-01-25 09:14:00 +01:00
teees
7f2feb29cd Added IWallConnector trait interface 2016-01-25 09:14:00 +01:00
Paul Chote
963a92214d Fix line build for multi-cell neighbours. 2016-01-25 09:14:00 +01:00
Oliver Brakmann
8fe90999a5 Merge pull request #10462 from RoosterDragon/partition-no-empty
Prevent items without size from being added to SpatiallyPartitioned.
2016-01-24 20:59:25 +01:00
abcdefg30
3de5e7fea1 Merge pull request #10571 from Mailaender/wwcrate
Added the water variant for the wooden crate
2016-01-24 15:02:53 +01:00
abcdefg30
ec30f38b7e Merge pull request #10584 from Mailaender/ai-armed-harvesters
Fixed AI using armed harvesters for combat
2016-01-24 14:48:05 +01:00
abcdefg30
f52210c15b Unhardcode the cursors used by RepairsBridges 2016-01-24 14:14:23 +01:00
Matthias Mailänder
922217271c don't actively attack nor defend with armed harvesters 2016-01-24 14:05:00 +01:00
Matthias Mailänder
03590b13cc check the cheap bool before expensive trait lookups 2016-01-24 13:52:44 +01:00
reaperrr
56ab3f43da Remove bitrotted WeaponInfo.Charges
There is no logic attached anymore (or never was).
2016-01-24 12:58:39 +01:00
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
2420509bb6 add lint references to all crate body sequences 2016-01-23 14:56:50 +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
dcd1f5ba3c add missing UpgradeGrantedReference to Passenger 2016-01-23 12:11:08 +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
Matthias Mailänder
eb9fb75d3c warn players if bots have been disabled 2016-01-21 21:25:23 +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