Paul Chote
64498b1ea7
Fix singleplayer game latency.
2015-10-31 11:36:32 +00:00
atlimit8
faa1a49604
RallyPoint palette tracks owner
2015-10-30 20:09:39 -05:00
Oliver Brakmann
b1e6916838
Add missing Requires<> to ProductionBar
2015-10-31 00:24:41 +01:00
Oliver Brakmann
9843d10dbd
Fix production bars not being visible on captured factories
2015-10-31 00:00:08 +01:00
atlimit8
168dab9707
Merge pull request #9706 from reaperrr/block-height
...
Add Height property to BlocksProjectiles
2015-10-29 23:51:14 -05:00
RoosterDragon
26d7d59c1a
Fix MoveWithinRange not moving far enough for min range checks.
...
MoveWithinRange was only moving the unit far enough away so the center of the target was above the minimum distance. However, the min range checks in the attack code require all positions on the target to be above the minimum distance. For large targets (e.g. buildings) this means some of the target was still too close, and the unit would get stuck in a loop.
Now MoveWithinRange uses the same range checks in order to ensure units are moved the correct distances.
2015-10-29 22:59:20 +00:00
Oliver Brakmann
e7e4f2f825
Fix base range circle not being shown during building placement
2015-10-29 11:00:59 +01:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
Oliver Brakmann
0997f5b52f
Merge pull request #9773 from Mailaender/musictab-dereference
...
Fixed musicTab = null return value from GetOrNull<ButtonWidget>
2015-10-28 21:53:59 +01:00
Oliver Brakmann
bdf71eabf3
Merge pull request #9777 from teees/repulsion-fix
...
calculate correct altitude with terrain elevation offset (aircraft repulsion)
2015-10-28 20:56:53 +01:00
Oliver Brakmann
c89bced9f0
Merge pull request #9782 from atlimit8/AircraftIsMovingAboveGround
...
Fix Aircaft.IsMoving Check
2015-10-28 20:45:15 +01:00
RoosterDragon
b4180615a8
Add Aircraft.MakeReservation.
...
This provides a simpler method for making reservations and also ensures the previous reservation is definitely unreserved before being discarded.
2015-10-27 22:15:56 +00:00
RoosterDragon
e2dd967757
Fix some reservation issues.
...
- TakeOff.Tick was nulling a local variable, rather than the Reservation field - this is changed to call UnReserve which does the right thing.
- Aircraft.ResolveOrder was missing an UnReserve call before setting a new reservation.
2015-10-27 22:00:26 +00:00
atlimit8
a5b93156db
Add --rgba2hex & --argb2hex color format conversion utility commands
2015-10-27 16:12:57 -05:00
atlimit8
dac15edce5
Load rgb[a] hex colors from MiniYaml (+ Lua)
2015-10-27 16:09:48 -05:00
Oliver Brakmann
b096671acb
Add an ActorInit for unit stances
2015-10-27 19:41:49 +01:00
Oliver Brakmann
1a879009f1
Change InitialStance to Defend for human players
2015-10-27 19:41:49 +01:00
atlimit8
2772ddbab4
Fix Aircaft.IsMoving Check
2015-10-27 10:45:45 -05:00
teees
3f718ae7d5
calculate correct altitude with terrain elevation offset
2015-10-27 11:19:56 +01:00
atlimit8
549f8a9e7c
Merge pull request #9760 from pchote/fix-teleporting-harvesters
...
Fix harvesters teleporting through doors
2015-10-26 23:42:51 -05:00
Matthias Mailänder
d2ce79e580
avoid a possible null return value musicTab
2015-10-26 21:45:40 +01:00
Matthias Mailänder
e435864531
don't dereference null return value
2015-10-26 21:21:47 +01:00
reaperrr
731875c270
Reduce default warhead TargetExtraSearchRadius
...
There aren't any actors in any shipping mod where a health radius larger
than 1c512 would be feasible, so no need to make the default larger than necessary.
2015-10-26 16:24:16 +01:00
reaperrr
f166fd9525
Merge pull request #9526 from penev92/tileShapes
...
Rename TileShape to fit its role better
2015-10-26 15:41:09 +01:00
Pavel Penev
b16ebd480b
Rename MapGridType.Diamond to MapGridType.RectangularIsometric
2015-10-26 00:42:30 +02:00
Pavel Penev
0e417a3cf3
Rename MapGridType.Rectangle to MapGridType.Rectangular
2015-10-26 00:41:26 +02:00
Pavel Penev
bb3aea338a
Rename enum TileShape to MapGridType
2015-10-26 00:41:21 +02:00
RoosterDragon
7c889c5ef0
Fix TOCTOU issues when calling Game.RunAfterDelay.
...
Since the action runs after a delay, the state of the game may no longer be the same and it may no longer be valid to run the action. Anything that references the world now calls IsCurrentWorld to ensure the world hasn't changed or been disposed.
2015-10-25 19:44:21 +00:00
atlimit8
10aca92bef
Merge pull request #9720 from penev92/fixUtility
...
Fix a crash in CheckPlayers when an actor doesn't define an Owner
2015-10-25 12:41:50 -05:00
Matthias Mailänder
d4016ae6f0
Merge pull request #9716 from teees/hover-fix
...
Disable hovering for landed aircraft
2015-10-25 18:01:29 +01:00
Pavel Penev
0487ec0d08
Fix a crash in CheckPlayers when an actor doesn't define an Owner
2015-10-25 17:11:51 +02:00
atlimit8
7c1e93a880
Merge pull request #9730 from r34ch/fake-structures-detonate
...
Fake structures detonate to mask health difference.
2015-10-25 09:12:02 -05:00
reaperrr
fa29b16967
Skip DoImpact if actor has no Health trait
2015-10-25 13:23:21 +01:00
Pavel Penev
82144ce975
Merge pull request #9738 from abcdefg30/loadimport
...
Fix the legacy map importer not working
2015-10-25 13:41:29 +02:00
reaperrr
92c05912e1
Remove negligible stages from default warhead Falloff
...
- reduces situations where infantry goes prone even though the impact was rather far away and damage absolutely negligible
- saves a little bit of performance by reducing the total area of effect, resulting in lower average number of calls to Health.InflictDamage at a given Spread value
2015-10-25 11:55:47 +01:00
Paul Chote
68bdedb9ba
Make the production exit wait uncancellable.
2015-10-25 10:41:17 +00:00
atlimit8
128574723a
Merge pull request #9753 from RoosterDragon/better-actor-lookups
...
Improve some actor queries
2015-10-25 02:38:21 -05:00
Matthias Mailänder
40a7ab5a6a
Merge pull request #9628 from abcdefg30/luatime
...
Fix Utils.FormatTime not working properly on different game speeds
2015-10-25 07:49:01 +01:00
Matthias Mailänder
3dc765f7c1
Merge pull request #9744 from pchote/serverbrowser
...
Redesign the MP server browser.
2015-10-25 07:32:04 +01:00
RoosterDragon
30aee56d78
Improve some actor queries.
...
Use ActorsWithTrait if possible to avoid querying all actors in the world.
2015-10-25 01:19:29 +01:00
DArcy Rush
c0850e44f4
Explodes trait has new 'DamageThreshold' property.
...
An actor will explode when its health is below the
defined percentage of its max health.
2015-10-24 23:02:42 +01:00
abcdefg30
e65465c539
Fix Utils.FormatTime not working properly on different game speeds
2015-10-24 23:42:32 +02:00
Paul Chote
e0177d7798
Merge pull request #9494 from abcdefg30/luabackground
...
Add lua support for playing background music
2015-10-24 22:25:35 +01:00
Paul Chote
be37717e6d
Account for cross-mod tile shapes in map previews.
2015-10-24 22:02:46 +01:00
Paul Chote
c0f42904f0
Overhaul the server browser.
2015-10-24 21:58:31 +01:00
Oliver Brakmann
c62d1a395b
Merge pull request #9748 from pchote/map-metadata-lint
...
Add a lint pass for map format/author/title.
2015-10-24 22:13:49 +02:00
Paul Chote
347eb6410c
Add a lint pass for map metadata.
2015-10-24 20:36:38 +01:00
abcdefg30
caaa779da4
Merge pull request #9736 from obrakmann/fix9693_lua-attack-broken
...
Fix broken scripted attacks in some missions
2015-10-24 21:18:45 +02:00
Matija Hustić
7ca8d85771
Revert explosion condition to strictly less than zero
2015-10-24 18:20:18 +02:00
abcdefg30
69496c2f16
Fix the legacy map importer not working
2015-10-24 00:59:14 +02:00