Commit Graph

23167 Commits

Author SHA1 Message Date
atlimit8
bbea7642fc ConditionExpression: setup operator precedences 2017-02-22 08:54:51 -06:00
atlimit8
0fc2008f10 Added delegate creation & evaluation to ConditionExpression 2017-02-22 08:54:51 -06:00
atlimit8
d752e10799 ConditionExpression: Run syntax checks while lexing 2017-02-22 08:54:51 -06:00
atlimit8
8e6436d71c ConditionExpression: move lexing to Token class. 2017-02-22 08:54:51 -06:00
atlimit8
4537c3c7d0 ConditionExpression: reorganize tokenizer 2017-02-22 08:54:51 -06:00
atlimit8
6e393f99cb ConditionExpression: Replaced Token sub-classing with TokenTypeInfo data. 2017-02-22 08:54:51 -06:00
atlimit8
828b13a11e ConditionExpress: added TokenTypeInfo table 2017-02-22 08:54:51 -06:00
atlimit8
f9e47cd0ca ConditionExpression: Added CharClass enum for tokenizing 2017-02-22 08:54:51 -06:00
atlimit8
c70442b15e Use switch statement for operator tokenization. 2017-02-22 08:54:51 -06:00
atlimit8
73895d07e2 Numeric constants for ConditionExpression 2017-02-22 08:54:50 -06:00
atlimit8
65725efd04 Make ConditionExpression use counts. 2017-02-22 08:54:50 -06:00
atlimit8
d83dae5587 Rename BooleanExpression => ConditionExpression 2017-02-22 08:54:50 -06:00
Mustafa Alperen Seki
bf0c4f7e1a Fix that Carryalls still pick owner changed units 2017-02-21 18:04:53 +02:00
RoosterDragon
aa3024f1f8 Fix thread-safety and dispose issues in NetworkConnection.
- Calling Close() on a TcpClient is documented to also close the underlying sockets and streams for us. This means we can avoid also calling socket.Client.Close() and generating exceptions on mono.
- TcpClient is not thread-safe. However the NetworkStream returned by GetStream() is thread-safe for a single reader/single writer scenario. If we create and dispose the client on the calling thread, and pass the NetworkStream into the thread we spawn for reading, then we can avoid thread-safety issues incurred by trying to Close() the connection from another thread.
- The clean shutdown means we don't need to make the dodgy Thread.Abort() call as it will end normally, and that means we don't need a finalizer to ensure the thread is killed off.
- Refactor how receivedPackets work in EchoConnection to avoid lock(this).
- Mark connectionState and clientId as volatile since they are set from another thread.
2017-02-21 14:10:06 +00:00
reaperrr
3e2431971c Make worms reveal shroud when swallowing friendly units 2017-02-20 20:13:17 +01:00
reaperrr
6ebdac1d30 Remove bogus Buildable trait from D2k sandworm 2017-02-20 20:13:13 +01:00
reaperrr
492efcc9cd Enable RevealOnFire in D2k 2017-02-20 20:13:11 +01:00
reaperrr
79c95364fb Merge pull request #12801 from reaperrr/td-shadows
Add shadows to TD projectiles and fix Napalm bombs
2017-02-20 19:58:22 +01:00
reaperrr
0f3250f9b0 Merge pull request #12782 from abcdefg30/paraCrash
Fix airstrikes and paratroopers crashing missions
2017-02-19 19:32:06 +01:00
abcdefg30
4a14b13002 Fix missing sequences on the airstrike.proxy in cnc 2017-02-19 17:52:40 +01:00
abcdefg30
b6bc08ac25 Move airstrike.proxy to the shared campaign maprules 2017-02-19 17:50:48 +01:00
abcdefg30
4d0ac8bd14 Fix the powerproxy actors of ra missing sequences 2017-02-19 17:47:07 +01:00
abcdefg30
aa73b19ee2 Give an proper error when a file is not found 2017-02-19 17:35:22 +01:00
abcdefg30
ad5a9a85f9 Merge pull request #12804 from pchote/remove-deprecated-apis
Remove deprecated Lua APIs / upgrade rules
2017-02-19 17:25:59 +01:00
reaperrr
1dc42cf5be Merge pull request #12743 from abcdefg30/atreides04
Add Atreides04
2017-02-19 16:42:57 +01:00
abcdefg30
6b99469113 Add atreides-04 2017-02-19 16:31:26 +01:00
reaperrr
3b92c21844 Merge pull request #12796 from pchote/external-conditions-rework
Add support for per-source and total external condition caps.
2017-02-19 15:44:53 +01:00
Paul Chote
1eb5be4d4c Add StringComparison.Ordinal to StartsWith. 2017-02-19 14:19:04 +00:00
Paul Chote
c47c13a14b Remove legacy upgrade rules. 2017-02-19 14:19:04 +00:00
Paul Chote
78a3dcae85 Remove deprecated Lua APIs. 2017-02-19 14:10:39 +00:00
reaperrr
2a65251324 Use MISSILE image for Mobile SAM projectile
Fixes #12803.
2017-02-19 14:22:28 +01:00
reaperrr
2f74c766fc Fix TD Napalm bombs hitting ground instantly 2017-02-19 14:22:26 +01:00
reaperrr
5be90ab368 Enable shadows on visible TD projectiles 2017-02-19 14:22:24 +01:00
reaperrr
8d870ab585 Remove redundancy from some TD missiles
These values are inherited from ^MissileWeapon.
2017-02-19 14:22:20 +01:00
reaperrr
45076eaaa4 Merge pull request #12795 from pchote/settings-restart
Use external mod switching plumbing to restart after settings changes.
2017-02-19 13:57:05 +01:00
reaperrr
ce76b28cbf Merge pull request #12745 from SoScared/mapswap1
[RA] Add/remove official maps.
2017-02-19 12:45:33 +01:00
reaperrr
f184be945b Merge pull request #12779 from MustaphaTR/d2k-harkonnen-1b
D2K - Add Harkonnen Mission 1b
2017-02-19 12:32:33 +01:00
Paul Chote
e229ca1812 Merge pull request #12790 from Phrohdoh/fix-12789
Throw an InvalidOperationException when a mod manifest references a bogus package
2017-02-18 23:12:59 +00:00
Taryn Hill
38304bc57b Throw an InvalidOperationException when a mod manifest references a bogus package
Bogus packages are packages that:
  * Cannot be located on disk
  * Are of an unsupported format
2017-02-18 16:55:26 -06:00
Paul Chote
11df0216e5 Remove legacy restart behaviour. 2017-02-18 22:37:47 +00:00
Paul Chote
073a00a2f4 Use mod switching for settings menu restart. 2017-02-18 22:37:47 +00:00
Paul Chote
500da07565 Fix mod switching failing when launchArgs is null. 2017-02-18 22:37:47 +00:00
SoScared
dcbeb08cf5 mapswap1 2017-02-18 21:24:52 +01:00
abcdefg30
b0cf90e95b Merge pull request #12767 from SoScared/mapswap2
[RA] Add/remove official maps 2.
2017-02-18 21:09:02 +01:00
abcdefg30
1c4b5cf0c8 Merge pull request #12786 from Phrohdoh/nuget-quiet
Cut down on the amount of output generated by dependency fetching scripts
2017-02-18 21:01:21 +01:00
Paul Chote
da5a725458 Add support for per-source and total external condition caps. 2017-02-18 19:10:22 +00:00
abcdefg30
fe632c5ba4 Merge pull request #12793 from pchote/fix-utility-modlist
Fix utility mod listing.
2017-02-18 20:08:24 +01:00
Paul Chote
f19df7b509 Merge pull request #12770 from reaperrr/polish-d2k-weapons
Polish D2k weapons and add wall explosion
2017-02-17 22:04:16 +00:00
Paul Chote
ba8d17e670 Merge pull request #12783 from MustaphaTR/d2k-fix-tile-99-100
D2K - Fix tiles 99 and 100
2017-02-17 21:56:17 +00:00
Paul Chote
bc158e3240 Merge pull request #12778 from FrameLimiter/patch-2
GAP & SAM power up/down sounds.
2017-02-17 21:43:27 +00:00