Commit Graph

27292 Commits

Author SHA1 Message Date
reaperrr
9e95cd5331 Considerably raise Locomotor WaitAverage and WaitSpread
This considerably reduces frequency of repathing attempts without too much of an impact of in-game repathing speed, since most of the time the blocking actor doesn't move out of the way that fast anyway.
2018-05-22 13:10:43 +02:00
reaperrr
e2979658a2 Extract AI support power handling to AISupportPowerManager 2018-05-21 16:41:53 +02:00
Paul Chote
3c1b129158 Tweak the project README.
- Remove BountySource references (deprecated for a long time).
- Add a comment about the Hacking page being very outdated.
- Add a link to the Mod SDK.
2018-05-21 02:57:03 +02:00
abcdefg30
3a74e880c5 Add 'update.log' to .gitignore 2018-05-20 23:08:08 +02:00
Paul Chote
be6fd1c7c7 Copy updater messages to an update.log file in the working directory. 2018-05-20 23:08:08 +02:00
abcdefg30
e83f5a9d59 Replace "\r\n" by "\n" in unit tests 2018-05-20 22:44:34 +02:00
Paul Chote
ba9d1c3182 Improve MiniYaml nunit tests:
- Fixes incorrectly used variable.
- Adds additional tests for node positions.
2018-05-20 22:44:34 +02:00
reaperrr
8e11f0cf4e Add Oasis Trouble to TS 2018-05-20 21:02:30 +01:00
reaperrr
295d665db1 Add The Pit to TS 2018-05-20 21:02:30 +01:00
reaperrr
fa9dd45e30 Add Tournament Rift to TS 2018-05-20 21:02:30 +01:00
reaperrr
92f720d121 Add Way to Uganda to TS 2018-05-20 21:02:30 +01:00
lawando
32c7869718 Add stance filter to TooltipDescription; Add YAML descriptions. 2018-05-20 20:04:59 +02:00
Zimmermann Gyula
c4b5ec5241 Shift temporary owner-change logic from D2k to Common. 2018-05-20 19:44:35 +02:00
Smittytron
38f415255b Make shellmap bridges unkillable 2018-05-20 19:35:39 +02:00
Smittytron
847d2fd106 Add destructable desert bridges 2018-05-20 19:35:39 +02:00
Paul Chote
a9fa9ee741 Fix NRE when updating actors with inline comments. 2018-05-20 19:16:47 +02:00
Paul Chote
dbf6937062 Trim empty space around edges of Shp(TD) frames.
This significantly cuts down the amount of texture
space allocated in VRAM.
2018-05-20 14:12:11 +02:00
Paul Chote
178b6b658d Remove broken DEV_VERSION warning.
This (before it was broken) was hardcoding upstream policy-specific
conventions into the core engine.
2018-05-20 13:55:10 +02:00
Paul Chote
9073249fe4 Fix player connection notifications.
New player notifications are now never reported to the joining player,
and always reported in the dedicated server output.
2018-05-20 13:55:10 +02:00
Paul Chote
c77051790a Fix spurious "This isn't a server order" logging on player disconnect. 2018-05-20 12:35:58 +02:00
teinarss
dcc11c7a41 Added HpPerStep to Repairable for enable repair speed to be changed per unit. 2018-05-14 19:56:35 +02:00
Smittytron
c5e36636ae Fix Nod Laser Turret disabled on lowpower 2018-05-12 17:47:13 +02:00
Smittytron
d154349a29 Fix power down speech notification 2018-05-12 17:47:13 +02:00
Paul Chote
6fdb25b48f Fix yaml formatting. 2018-05-12 16:42:54 +02:00
Paul Chote
82e2595beb Enable comment and whitespace parsing where it is useful. 2018-05-12 16:42:54 +02:00
Paul Chote
df31690332 Extend MiniYaml parser with new features:
- Add support for escaping '#' inside values
- Add support for escaping leading and trailing whitespace

And when discardCommentsAndWhitespace is set to false:
- Add proper support for comments
- Persist empty lines

Whitespace and comment support requires an explicit opt-in because
they produce MiniYamlNodes with null keys.  Supporting these through
the entire game engine would require changing all yaml enumerations
to explicitly check and account for these keys with no benefit.

Comments and whitespace are now treated as real nodes during parsing,
which means that the yaml parser will throw errors if they have
incorrect indentation, even if these nodes will be discarded.
2018-05-12 16:42:54 +02:00
Paul Chote
7a41b3aa89 Fix incorrect yaml indents in the default mods. 2018-05-12 16:42:54 +02:00
reaperrr
c30970975a Fix TS GDI APC leaving water trails while on high bridges 2018-05-10 20:57:01 +02:00
Michael Silber
b199f45f04 Account for custom terrain layers in GrantConditionOnTerrain. 2018-05-10 20:57:01 +02:00
Paul Chote
579cc090a7 Suppress 0-cash ticks on CashTricker and GivesCashOnCapture. 2018-05-07 19:47:41 +02:00
Paul Chote
0eeb38a310 Show negative bounty cash ticks. 2018-05-07 19:47:41 +02:00
Paul Chote
c65d6d1484 Suppress negative cash crate action if the collector has no cash. 2018-05-07 19:47:41 +02:00
GSonderling
bf4dbd9b80 Added checks to make sure cash can't be < 0. 2018-05-07 19:47:41 +02:00
Paul Chote
b8fd4abc4a Fix NRE in Guard when the target actor is dead. 2018-05-07 19:41:13 +02:00
reaperrr
ff8f147955 Some Mobile and Harvester clean-ups
Made Harvester interface implementations explicit.
Made Mobile internal VisualMove activity private.
2018-05-07 19:40:07 +02:00
reaperrr
545ca5da61 Made some interface implementations in Mobile explicit 2018-05-07 19:40:07 +02:00
reaperrr
98289d8573 Reorganized Mobile.cs to be more readable and structured
Implicit interface members, explicit interface members, local method etc. were happily scattered all over the place.
We can't explicitly implement most IMove/IPositionable interface members without some large rewrite,
so we should at least organize the file in a way that makes it less of a pain to tell which parts belong to which interface.
2018-05-07 19:40:07 +02:00
reaperrr
45ee4ad4cf Move IOccupySpace interface right above IPositionable in TraitsInterfaces 2018-05-07 19:40:07 +02:00
reaperrr
030902f691 Style fixes to some code comments in Mobile 2018-05-07 19:40:07 +02:00
Mustafa Alperen Seki
6c5c4a129f Add CargoCondition(s) to Passenger 2018-05-06 20:09:39 +01:00
Paul Chote
3febae1644 Fix exception in DefaultSpriteSequence.GetSprite. 2018-05-06 17:32:17 +02:00
abcdefg30
7ae6326f2a Fix Repairable not accounting for multiple ICallForTransport traits 2018-05-06 16:31:21 +01:00
abcdefg30
c6fee041b1 Add an update rule adding ShakeOnDeath to bridges 2018-05-06 04:51:03 +02:00
abcdefg30
917fd2103f Use ShakeOnDeath instead of the hardcoded shaking for bridges 2018-05-06 04:51:03 +02:00
abcdefg30
b89e6211b2 Add an update rules for the ShakeOnDeath fix 2018-05-06 04:51:03 +02:00
abcdefg30
e7b060c1be Fix ShakeOnDeath using intensity as duration 2018-05-06 04:51:03 +02:00
Paul Chote
91f22c40bd Add kdialog support for KDE. 2018-05-05 22:34:27 +02:00
Paul Chote
b78e9ee89a Extract error messages to a variable to reduce duplication. 2018-05-05 22:34:27 +02:00
Paul Chote
562cf2ad44 Suppress GTK transient parent warning. 2018-05-05 22:34:27 +02:00
Paul Chote
c1a4e66b29 Adjust zenity crash dialog.
This removes the "View FAQ" button, which does not work in the AppImage
enivronment.  It also replaces the inconsistent question mark icon with
a more appropriate stop symbol, and makes the wording consistent across
the zenity, terminal, and native macOS dialogs.
2018-05-05 22:34:27 +02:00