Commit Graph

23942 Commits

Author SHA1 Message Date
abcdefg30
8b7797326a Revise CaptureOrderTargeter a tiny bit 2017-02-27 00:28:18 +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
abcdefg30
e318c028ba Fix support powers not being enabled by cheats 2017-02-25 16:57:30 +01:00
ltem
46165f8d00 Added a condition so that the dish animation of the outpost won't be active if the structure is server damaged 2017-02-25 15:28:57 +01:00
ltem
35494b2abd Fix welding lights of Dune 2000 structures
- Fixed starport lights
- Fixed offsets and welding lights of light factory
- Fixed welding lights of high tech factory
- Fixed offsets and welding lights of heavy factory
2017-02-25 13:37:12 +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
forcecore
0483708487 Rename uncloaking conditions from uncloak to cloak-force-disabled
Descriptive condition name is better.
2017-02-24 20:56:52 -06:00
forcecore
53e7cf0ef1 Rules updated to unhardcode cloak diable on criticalHP
Rules updated for CNC mod (uncloak on critical HP)

STNK, stealth crate are affected

Rules updated for D2K mod (uncloak on critical HP)

Saboteur, fremen, stealth raider affected

Rules updated for RA mod (uncloak on critical HP)

Affects
Hijacker, sniper, sub, msub, hbox, stnk.
Mines are not affected, they are not exactly "stealth".
Hijackers and snipers aren't machines and should be able to hide
themselves even when they are wounded but for least surprise to
players, uncloaking stays as well.

Rules updated for TS mod (uncloak on critical HP)

Only affects STNK.
Things that are cloak generators will stay cloaked even when critical
HP! The cloak generation mechanism is by the cloak generator!
2017-02-24 20:55:06 -06:00
forcecore
28ce32d8fa damageDisabled removed from Cloak.cs (#12741)
To unhard code uncloak behavior getting disabled by the unit's critical HP.
2017-02-24 20:53:42 -06:00
Paul Chote
d6d166ee36 Restore sell value of TD refinery. 2017-02-23 22:24:27 +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
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