Commit Graph

21527 Commits

Author SHA1 Message Date
Paul Chote
860e92a2a6 Rename IGraphicsDevice.cs to PlatformInterfaces.cs. 2016-08-06 19:53:50 +01:00
Paul Chote
5a7a69a875 Tidy muting code. 2016-08-06 19:53:50 +01:00
Paul Chote
9437a86e7e Remove legacy sound code and simplify platform init. 2016-08-06 19:53:50 +01:00
Paul Chote
de85a76c90 Merge pull request #11586 from GraionDilach/selfheal-revamp
Expand SelfHealing.
2016-08-06 17:31:46 +01:00
Matthias Mailänder
932b9f2bdf Remove 404 images from the readme. 2016-08-06 16:56:20 +02:00
Matthias Mailänder
6f75ddc823 Merge pull request #11758 from AoAGeneral/TDBalance
TD Balance Change 08012016
2016-08-03 07:13:52 +02:00
Matthias Mailänder
b08186f1cc Merge pull request #11666 from abcdefg30/survFix
Add an IsDead check to prevent crashes in survival01
2016-08-03 07:09:14 +02:00
Paul Chote
853ab798cb Merge pull request #11753 from RoosterDragon/vs
Allow VS2015 to format solution file
2016-08-01 21:57:12 +01:00
AoAGeneral
7025a230bf TD Balance Change 08012016 2016-08-01 12:08:26 -07:00
Paul Chote
86a0a0473b Merge pull request #11745 from RoosterDragon/download-cancel-fixes
Fix cancellation of downloads.
2016-07-31 19:39:17 +01:00
RoosterDragon
9ee6db9287 Allow VS2015 to format solution file. 2016-07-31 15:06:06 +01:00
Oliver Brakmann
75de73a17e Merge pull request #11744 from RoosterDragon/openal-cleanup
Close OpenAL sound device correctly
2016-07-31 15:32:04 +02:00
Matthias Mailänder
a73163c476 Merge pull request #11545 from pchote/aftermath-assets
Overhaul RA installed content.
2016-07-30 18:20:57 +02:00
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
RoosterDragon
1c8f9d44df Clean up ALC sound device correctly.
ALC is thread-safe, therefore we can clean up from any thread and do not need to marshal to the main game thread. To clean up the device properly, we must first unset and destroy the context before attempting to close the device.
2016-07-30 14:53:33 +01:00
RoosterDragon
206088efb4 General code cleanup in OpenAlSoundEngine.cs. 2016-07-30 14:50:42 +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
Oliver Brakmann
6205eccff9 Merge pull request #11587 from pchote/d2k-106
Overhaul D2K installed content.
2016-07-30 12:29:04 +02:00
Paul Chote
492e308e2e Update asset downloads. 2016-07-30 09:59:24 +01:00
Paul Chote
3c0470cc93 Load beacon posters from lores.mix. 2016-07-30 09:59:24 +01:00
Paul Chote
9d8840a4da Extract only the redalert.mix contents that we need. 2016-07-30 09:59:24 +01:00
Paul Chote
68e176c531 Load C&C desert assets from content dir. 2016-07-30 09:49:28 +01:00
Paul Chote
5c496b8f2b Load aftermath assets from content dir. 2016-07-30 09:49:27 +01:00
Paul Chote
75b58e6839 Revert "Add Migrations GlobalModData."
This reverts commit c204c10f5e.
2016-07-30 09:49:27 +01:00
Paul Chote
841e8982dc Move RA assets to v2 dir for backwards compatibility. 2016-07-30 09:35:46 +01:00
Matthias Mailänder
93b5517445 Merge pull request #11734 from SoScared/balance2
Revert Nuke Truck Damage nerf vs Air
2016-07-30 10:31:13 +02:00
Paul Chote
e067618268 Add d2k download metadata. 2016-07-30 09:14:36 +01:00
Paul Chote
56fa7cee1b Fix install source tooltip width. 2016-07-30 09:14:36 +01:00
Paul Chote
0269805f2a Add GruntMods D2K installer metadata. 2016-07-30 09:14:36 +01:00
Paul Chote
3e1a2a89c0 Update content metadata for 1.06 and fonts. 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
SoScared
b821ec6e72 Revert Nuke Truck Damage nerf vs Air 2016-07-29 14:40:44 +02:00
Matthias Mailänder
53f284c35a Merge pull request #11723 from GraionDilach/exp2score
Rename the Experience coloumn to Score in observer stats.
2016-07-28 08:38:26 +02: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
538137ce80 Merge pull request #11622 from Mailaender/dispose-p
Fixed parent package from ZipFile not getting disposed.
2016-07-27 14:41:17 +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
35cbb7adbb Change the Dune 2000 selfhealing from 2 HP to 4% per 125 frames. 2016-07-27 14:14:36 +02:00
Zimmermann Gyula
3ac5e0b455 Add a damagetype option to SelfHealing. 2016-07-27 14:14:35 +02:00
Zimmermann Gyula
4fa70cdfb9 Add a percentage option to SelfHealing. 2016-07-27 14:14:34 +02:00
Matthias Mailänder
fc8a2b2ebe Merge pull request #11634 from GraionDilach/fixup-damagedbyterrain
Fixup DamagedByTerrain.
2016-07-27 09:33:40 +02:00
Zimmermann Gyula
6b7ccd8aa5 Rename the Experience coloumn to Score in observer stats. 2016-07-27 02:46:10 +02:00
Zimmermann Gyula
f56602704e Rewrite TS vein YAML data. 2016-07-26 23:18:56 +02:00
Zimmermann Gyula
0f368bf6c3 Update the default mods excluding veins in TS. 2016-07-26 23:18:54 +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
Matthias Mailänder
2ab82664e3 Dispose the intermediate Stream after copying it to pkgStream. 2016-07-26 22:14:42 +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
abcdefg30
e13fa2d474 Merge pull request #11571 from RockyTV/rockytv
Add command to generate settings docs
2016-07-26 17:38:38 +02:00