Paul Chote
69105180eb
Hide developer-only settings behind a hidden setting.
2018-12-26 17:33:55 +01:00
Paul Chote
601990aa27
Add setting to check BotModule sync.
2018-12-26 17:33:55 +01:00
Paul Chote
83e44bee66
Rework and rename Sync.CheckSyncUnchanged
2018-12-26 17:33:55 +01:00
Unknown
7184f5f97e
Fix QueryRemoteMapDetails multi-map status updates
2018-12-25 11:14:48 +13:00
Jeremy
85a97998aa
Added final game tick to replay meta data for completion percentage on replay.
2018-12-24 20:51:03 +01:00
David Wilson
bbc83c1799
Rate limits for notification sounds
2018-12-24 12:18:52 +13:00
Paul Chote
d823d38e8c
Fix "game is full" error when the game is not full.
...
Client.IsObserver is not valid to check until the
slot has been assigned.
2018-12-22 04:55:57 +01:00
Paul Chote
224377f078
Track visibility modifiers on FrozenActors.
2018-12-17 22:19:26 +01:00
Paul Chote
0406b89a96
Add Actor.ReplacedByActor to track transformations.
...
This isn't great conceptually, but has precedent
in the Generation number.
2018-12-17 22:19:26 +01:00
Paul Chote
8eeb6d68e7
Tweak FrozenActorLayer queries:
...
- FrozenActorsInRegion now filters for valid and (optionally) visible FAs
- Add new FrozenActorsInCircle to mirror World.FindActorsInCircle.
The first change means that SupportPowerDecision now correctly ignores
FrozenActors that the AI has not discovered.
2018-12-17 22:19:26 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Paul Chote
98b80d44eb
Remove legacy workaround that crashes modern Mono.
2018-12-15 23:35:29 +01:00
Paul Chote
04359206ff
Remove long-broken setting to ignore version mismatches.
2018-12-15 23:30:36 +01:00
Paul Chote
cc707f0037
Disable MP sync report generation by default.
...
A new Server.EnableSyncReports option is provided
so that server operators can restore them remotely
in the event of a future desync bug.
2018-12-15 23:30:36 +01:00
Paul Chote
081182b60f
Profile sync report generation separately.
2018-12-15 23:30:36 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
Paul Chote
4b6853b433
Prevent multiple Transforms from triggering in the same tick.
...
This leads to actor duplication.
2018-12-08 11:34:49 +01:00
reaperrr
1553a8a5cb
Fix empty activity tick when becoming idle
...
Activities usually don't do much more than cleanup on their last, 'null' tick.
That, combined with queued activities normally only starting to tick on the next tick,
would lead to visible 1-tick 'gaps' between movement activities.
Non-movement activities would suffer from the same problem,
only with different (presumably less noticable) symptoms.
Now we start ticking any activity that was queued from OnBecomingIdle
immediately, to avoid that issue.
2018-12-05 09:20:58 +13:00
reaperrr
67cba65800
Fix bot module plumbing
...
Fixes the issues pointed out after the original harvester module was merged.
Also merges the update rules as discussed on IRC.
2018-11-24 11:05:37 +00:00
teinarss
3b6024c086
Defer setting slot on client to completeConnection
2018-11-19 22:05:32 +00:00
Paul Chote
ad4b4dc7f8
Remove unused tileset update/save code.
2018-11-18 14:11:11 +01:00
Andre Mohren
89051d40e8
Remove utf8 BOM.
2018-11-17 17:23:22 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
reaperrr
16e78b8ca8
Add LocalRandom to World
...
To - in the long term - reduce or remove Game.CosmeticRandom.
2018-11-11 19:50:16 +01:00
Mustafa Alperen Seki
4987d45f23
Fix a crash when protected properties are [Sync]ed.
2018-11-10 12:14:14 +01:00
Paul Chote
2064dc7c30
Support non-int Enum types in the Lua API.
2018-11-04 18:32:33 +01:00
Chris Forbes
d653614e75
Replicate palette high bits into the low bits
...
Previously we didn't quite get the full range -- the most intense value we
could produce was 0xfc.
2018-11-04 15:06:50 +01:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
Paul Chote
4ea3e8382d
Work around a race condition between server join and auth validation.
2018-11-03 14:25:05 +01:00
Taryn Hill
5899636e10
Fix SubCell indexing in Map.CenterOfSubCell and MapGrid.OffsetOfSubCell
2018-11-02 22:42:51 +00:00
Paul Chote
95c5c683e3
Limit samplers to 8 in combined.frag.
...
The additional palette sampler wasn't accounted
for in the original PR.
2018-11-01 14:38:57 +01:00
Paul Chote
dee6d03626
Allow sprites to store custom metadata.
2018-10-28 20:55:40 +00:00
reaperrr
422ba16ed9
Run TickIdle from inside Actor.Tick instead of World.Tick
...
Avoids calling ActorsWithTrait<INotifyIdle> every tick and allows caching all INotifyIdle traits at creation.
2018-10-15 22:53:57 +02:00
Paul Chote
a06cfb4004
Move TerrainRenderer to a mod-defined trait.
2018-10-13 18:16:56 +02:00
Andre Mohren
450dc70375
Refactored cursors.yaml to use palettes from rules.
2018-10-07 19:28:11 +02:00
Paul Chote
eb0e2eeb9d
Fix misc indentation errors.
2018-10-06 23:32:38 +02:00
teinarss
cfaf5a6467
Updated CPos struct to use a bit field for all properties.
2018-10-02 00:54:45 +01:00
abcdefg30
9f82ef999f
Set AutoGenerateBindingRedirects to true in OpenRA.Game.csproj
2018-10-01 17:52:52 +01:00
teinarss
e353c8c176
Changed SubCell to byte
2018-09-30 19:48:27 +01:00
Andre Mohren
693b5a54af
PNG spritesheet support, along with PaletteFromPng.
...
Cursor palette loader can now be specified via yaml.
2018-09-29 21:12:40 +02:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
reaperrr
28c89920ac
Add dynamic muzzle LaunchEffect facing plumbing
2018-09-28 21:32:34 +02:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
reaperrr
9bcb754836
Add OnActorDispose plumbing to Activity
...
This allows activities to perform necessary cleanups on actor
death/disposal, for example by running OnLastRun directly,
which would otherwise be skipped when the actor dies or is disposed
through other means.
2018-09-24 22:01:22 +02:00
Noam
4e7a35b50f
add NoAvailableMaps exception.
...
modify ChooseInitialMap to throw NoAvailalbeMaps exception if no maps were loaded.
implement Utilities.TryWithPrompt - safe execution of a provided action with ability to prompt user on error.
2018-09-19 12:52:51 +02:00
Paul Chote
8533aa8d26
Disable sync reports when we know we won't need them.
...
Generating the sync report takes ~twice as long as
a normal tick, and occurs once every 3 ticks.
These reports record of all of the synced state
(separate to the sync hash, which is still calculated)
in order to generate the syncreport.log of the game
desyncs. This perf overhead is completely unnecessary
when we know that we won't have other syncreports to
compare against (singleplayer, replays).
Disabling report generation in these cases gives
us an easy 40% average tick-time win.
2018-09-10 19:44:06 +02:00
abcdefg30
5d1c37a4c5
Remove the CodeAnalysisRuleSet property from all csproj files
2018-08-25 22:02:59 +02:00
Paul Chote
8475bd6294
Ignore malformed orders instead of crashing.
2018-08-25 18:23:35 +02:00
Paul Chote
e374c8e6c3
Sync auth information with the master server.
2018-08-18 16:57:28 +02:00
Paul Chote
77bb39304b
Give server operators more control over client validation.
2018-08-18 16:57:28 +02:00