Commit Graph

22979 Commits

Author SHA1 Message Date
abcdefg30
700d141c24 Make AutoTargetIgnore upgradeable 2017-02-27 00:36:00 +01:00
reaperrr
870c82e727 Merge pull request #12816 from abc013/d2kAdjustAirStrike
Adjust the drop-position of the air strike in D2k
2017-02-26 15:34:51 +01:00
Matthias Mailänder
e897d1e8fa Merge pull request #12848 from pchote/starport-anim-polish
Hide the starport animation from highlights and when not playing.
2017-02-26 11:37:00 +01:00
reaperrr
4c02112cc6 Tweak Ornithopter bombs
In the original,
- they were slower
- didn't accelerate
- had a shadow
- were dropped at lower rate
- played EXPLSML4.WAV

compared to bleed.
2017-02-25 21:14:43 +01:00
reaperrr
447269c020 Tweak D2k aircraft altitudes
The Frigate and Ornithopter were flying too low compared to the original.
2017-02-25 21:03:53 +01:00
abc013
a73e7e6103 Adjust the drop-position of the air strike in D2k 2017-02-25 21:03:53 +01:00
reaperrr
d2ad2a1b15 Merge pull request #12837 from pchote/negative-int-negation
Make ConditionExpression ! return false for negative numbers.
2017-02-25 12:21:34 +01:00
Paul Chote
f221dd721a Hide the starport animation from highlights and when not playing. 2017-02-25 10:43:00 +00:00
Paul Chote
e0ca38b878 Merge pull request #12694 from RoosterDragon/fixup-network
Fix thread-safety and dispose issues in NetworkConnection.
2017-02-23 21:04:56 +00:00
Paul Chote
1c97effbc9 Make ConditionExpression ! return false for negative numbers.
This brings it in line with C/C++ behaviour.
2017-02-23 20:23:40 +00:00
Paul Chote
22e2deee21 Merge pull request #12719 from atlimit8/ConditionExpression_with_counting
BooleanExpression => ConditionExpression with integer values for token count comparisons
2017-02-23 19:16:19 +00:00
abcdefg30
5636326dc6 Merge pull request #12811 from MustaphaTR/d2k-harkonnen2a
D2K - Add Harkonnen Mission 2a
2017-02-22 21:22:42 +01:00
Mustafa Alperen Seki
3e0b138a7e Add Harkonnen2a 2017-02-22 20:25:46 +02:00
atlimit8
47804e5fab Improve Upgrader for Upgrades => Condition expressions 2017-02-22 08:54:52 -06:00
atlimit8
67dcbd1b2c ConditionExpression: added bool constants 2017-02-22 08:54:52 -06:00
atlimit8
f605756351 ConditionExpression: Add arithmetic operations 2017-02-22 08:54:52 -06:00
atlimit8
725cc7c084 Removed StackedCondition trait 2017-02-22 08:54:52 -06:00
atlimit8
ac4f73b178 ConditionExpression: Add relation operators 2017-02-22 08:54:52 -06:00
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
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
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
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