Commit Graph

2931 Commits

Author SHA1 Message Date
RoosterDragon
3b5798b5e8 Fix cancellation of downloads.
The Download class cancels asynchronously, which means callers must handle cancellation inside the completion event, and not after requesting cancellation.
2016-07-30 16:27:45 +01:00
Oliver Brakmann
77d0a8c54e Merge pull request #11638 from reaperrr/deprecate-IsWater-p1
Deprecate terrain IsWater check - Part 1
2016-07-30 14:25:17 +02:00
reaperrr
abaa0f4da5 Allow to customize which terrain types are considered water by HackyAI
For naval structure placement.
2016-07-30 13:19:32 +02:00
reaperrr
1e43554559 Allow to customize which terrain types are considered water by Parachutable 2016-07-30 13:19:32 +02:00
reaperrr
3e217c2192 Allow to customize which terrain types are considered water by WithCrateBody 2016-07-30 13:19:32 +02:00
Paul Chote
56fa7cee1b Fix install source tooltip width. 2016-07-30 09:14:36 +01:00
Paul Chote
fdc74353fc Migrate to 1.06 patch content. 2016-07-30 09:14:35 +01:00
Oliver Brakmann
2eede9493e Merge pull request #11699 from Mailaender/unhardcode-capture-cursors
Unhardcoded the capture mouse cursor sequences
2016-07-27 21:36:33 +02:00
Matthias Mailänder
78848a67a0 Merge pull request #11721 from obrakmann/fix11660_smudge-removal-desync
Fix desync when removing smudges
2016-07-27 14:36:29 +02:00
Zimmermann Gyula
4812bc2997 Change DamagedByTerrain to apply the damage directly.
Instead of relying on a weapon.
2016-07-26 23:18:53 +02:00
Oliver Brakmann
30cf8c204b Fix desync when removing smudges
The cause of the crash was that the `RemoveSmudge` method only invokes `SharedRandom` in the else-branch of an if condition that is only taken when the `RenderPlayer` has fog visibility on the location (locations the `RenderPlayer` can see get removed from `dirty` in `TickRender`).

To add insult to injury, the `Type` field does not even need to get set since we are only using the `Sprite` field's `null` value as a marker to be picked up by the `TickRender` method. The `Type` field is only ever used twice in `AddSmudge`, in a branch of an if-condition that will not be taken when the `Sprite` field is null, which we set explicitly. The same holds true for the `Depth` field.
2016-07-26 21:46:18 +02:00
Alexandre Oliveira
66b74b0116 Add command to generate settings docs 2016-07-26 00:02:01 -03:00
abcdefg30
4ed2c53b1a Fix the Desc of MapOptionsInfo 2016-07-24 15:34:21 +02:00
Matthias Mailänder
da509d6394 Unhardcode the capture cursors. 2016-07-23 23:50:02 +02:00
Oliver Brakmann
56ae4e846b Add GUI integration for PlayerExperience 2016-07-19 22:23:03 +02:00
Oliver Brakmann
dab7276601 Make repairing buildings and units grant experience
Using the repair button and repair pad, not using engineers and mechanics.
2016-07-19 20:20:38 +02:00
Oliver Brakmann
1e86326cbc Make capturing grant player experience 2016-07-19 20:20:38 +02:00
Oliver Brakmann
c1729a3b70 Make DonateSupplies grant player experience 2016-07-19 20:20:38 +02:00
Matthias Mailänder
25c640679c Merge pull request #11647 from abcdefg30/colorBorder
Add a dynamically generated bordercolor for supportpower timers
2016-07-19 10:27:11 +02:00
abcdefg30
76e57895b5 Merge pull request #11645 from RailTracker/bleed
Changed Basic and Combat observer stats to include Assets Destroyed/L…
2016-07-18 19:58:11 +02:00
Anthony Diep
b96de91480 Changed Basic and Combat observer stats to include Assets Destroyed/Lost instead of K/D ratio 2016-07-17 14:55:10 -07:00
abcdefg30
7769ef3c14 Add a dynamically generated bordercolor for supportpower timers 2016-07-17 16:07:53 +02:00
Matthias Mailänder
5b61206ac6 Merge pull request #11513 from GraionDilach/idamage
Remove passing the warheads from DamageWarhead to AttackInfo.
2016-07-16 14:26:43 +02:00
abcdefg30
549c00c6c1 Merge pull request #11653 from Mailaender/damagedbyterrain-div0
Fixed a division through zero in DamagedByTerrain.
2016-07-16 11:03:38 +02:00
Matthias Mailänder
fcd904a168 Avoid a division through zero. 2016-07-15 20:10:30 +02:00
abcdefg30
b1e8108a44 Merge pull request #11559 from MUzzell/feature-10416
Added ready checkbox for spectating admins
2016-07-15 15:47:05 +02:00
abcdefg30
e8bcf0757f Merge pull request #11654 from Mailaender/dispose-installshieldcab
Fixed a resource leak on OpenRA.Utility.exe --list-installshield-cab
2016-07-15 15:28:59 +02:00
abcdefg30
d5bac4ebe4 Merge pull request #11651 from obrakmann/fix_HealthInit_breaking_Actor.Create
Allow HealthInit to be used with Actor.Create in Lua scripts
2016-07-15 14:10:47 +02:00
Oliver Brakmann
e6659f805b Merge pull request #11641 from abcdefg30/particleDensity
Convert ParticleDensityFactor from a float to an int
2016-07-15 10:30:57 +02:00
Matthias Mailänder
eb586fb37c Dispose the file open read stream. 2016-07-15 07:37:28 +02:00
Matthew Uzzell
6110357460 #10416 Added ready checkbox for spectating admins 2016-07-14 23:42:32 +01:00
Oliver Brakmann
417e9ca71f Add a single-argument constructor to HealthInit
...which is a requirement for an ActorInit to be usable with the Lua API's Actor.Create() method.
2016-07-14 19:45:03 +02:00
Oliver Brakmann
c4956120a7 Merge pull request #11572 from pchote/building-depth
Add building depth imposters for TS base structures.
2016-07-14 11:10:13 +02:00
Paul Chote
0371727596 Allow sequences to define depth offsets via sprites. 2016-07-13 22:22:13 +01:00
Paul Chote
5fbe747de2 Improve logging on sequence error. 2016-07-13 22:22:13 +01:00
Paul Chote
ac6b2a8f62 Support custom fully-open sequences for gates. 2016-07-13 22:22:07 +01:00
Paul Chote
dbd21b9e46 Support extracting and deleting from content files. 2016-07-13 21:01:56 +01:00
Paul Chote
bddae7314a Reimplement InstallShieldCAB extraction. 2016-07-13 21:01:56 +01:00
Oliver Brakmann
8c8fa2d258 Merge pull request #11578 from abcdefg30/turretedDeath
Don't add duplicate facing entries when modifying the DeathActorInit in Turreted.cs
2016-07-13 19:09:08 +02:00
Oliver Brakmann
3539e3146e Merge pull request #11560 from abcdefg30/supportSpeech
Refine the support power speech notifications setup
2016-07-13 18:40:07 +02:00
PedroFerreiraRamos
958e35d61f Fix air unit resupply #5966 2016-07-12 20:17:45 -03:00
abcdefg30
df5727ad38 Add an upgrade rule 2016-07-12 22:19:52 +02:00
abcdefg30
3a8b2bda43 Convert ParticleDensityFactor from a float to an int 2016-07-12 22:19:50 +02:00
Zimmermann Gyula
cf8fff2b99 Remove passing the warheads from DamageWarhead to AttackInfo.
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +02:00
abcdefg30
6342b40bfd Merge pull request #11499 from Mailaender/damaged-by-terrain
Merged PoisonedByTiberium and DamagedWithoutFoundations into DamagedByTerrain
2016-07-10 22:22:29 +02:00
Matthias Mailänder
8df4e9e04c Merge PoisonedByTiberium and DamagedWithoutFoundations
into DamagedByTerrain.
2016-07-10 19:44:19 +02:00
Oliver Brakmann
203310ae4c Merge pull request #11623 from Mailaender/zip-entry-null
Fixed a potential NRE in DownloadPackageLogic.ShowDownloadDialog
2016-07-10 18:57:07 +02:00
Matthias Mailänder
57c22df114 Merge pull request #11487 from reaperrr/bldg-shape-prep
Improve Rectangle HitShape customizability
2016-07-10 17:09:31 +02:00
Matthias Mailänder
e8aa46e0d7 Merge pull request #11474 from obrakmann/player-experience
Add foundation for player experience tracking
2016-07-10 16:08:14 +02:00
Matthias Mailänder
90439ac64c Merge pull request #11574 from obrakmann/fix_non-combatant-unitcratepickup
Prevent non-combatant players from receiving units from crate pickups
2016-07-10 15:51:32 +02:00