Paul Chote
862a274357
Merge ServerOrder into Order and 0xFE order type into 0xFF.
2019-06-20 22:50:17 +02:00
teinarss
4fae77ed1c
Writing benchmark data at the end of the game
2019-06-02 00:00:48 +02:00
Evgeniy S
3a30b013a5
Move Selection into a Trait
2019-05-31 15:50:53 +02:00
teinarss
e801537d96
Hide cursor and render the placeholder directly
2019-04-22 21:51:49 +02:00
Paul Chote
1f3b30c2d2
Implement game save/load backend.
2019-04-20 14:54:48 +02:00
Paul Chote
5d43417a5f
Add player trait support for IWorldLoaded.
2019-04-20 14:54:48 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
0df159e73b
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:31 +00:00
Jeremy
85a97998aa
Added final game tick to replay meta data for completion percentage on replay.
2018-12-24 20:51:03 +01: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
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
8c0f4fde81
Fix newlines in C# files.
2018-07-01 11:08:32 +02:00
Paul Chote
ebf3ec0e90
Add some basic safeguards around RenderPlayer.set.
2018-05-31 18:54:07 +02:00
reaperrr
3c34330925
Skip check for ITemporaryBlocker entirely if rules don't contain any temporary blockers
...
This benefits all mods without temporary blockers like gates or energy walls.
2018-05-04 19:40:18 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
RoosterDragon
b1e2ee9b79
ScreenMap should TickRender, rather than just Tick.
...
This is as FrozenUnderFog.TickRender queues an update to the screen map. If this is not processed in the same tick, this results in screen bounds for the frozen actor being 1 tick behind. By making ScreenMap TickRender, it ensures changes from both Tick and TickRender traits are processed, rather than just Tick traits.
2018-01-06 15:16:59 +01:00
RoosterDragon
5b51f2a0fa
Avoid format strings in some places.
...
Where it is possible to directly concat strings, prefer this in some often-called methods.
2017-12-16 17:26:29 +01:00
Paul Chote
46f6263061
Update ScreenMap state in a single pass at the end of the tick.
2017-12-11 19:45:07 +01:00
Paul Chote
9e18ec7314
Simplify ScreenMap bounds checking.
2017-12-11 19:45:07 +01:00
RoosterDragon
8ef8c60a1a
Remove allocations when enumerating sync hashes on an actor.
...
Exposing Actor.SyncHashes as an array allows allocation free enumeration, we just need to adjust the SyncHash type to run the hash function.
2017-12-10 13:49:52 +00:00
reaperrr
be290cfabd
Split Actor.Bounds into RenderBounds and SelectableBounds
...
Additionally, internally renamed VisualBounds to SelectionOverlayBounds to avoid confusion with RenderBounds.
This step was necessary to prevent actors with selectable area smaller than their graphics to be removed too early from ScreenMap even though part of the graphics should still be visible.
RA cruisers were a prime example, but to a lesser extent several other actors were affected as well.
This separation also serves as preparation to determine the final RenderBounds from multiple source bounds later, to fix the remaining ScreenMap issues (building 'bibs', aircraft shadows).
2017-11-21 01:00:09 +02:00
Paul Chote
1376ad674e
Remove Player.CanViewActor and .CanTargetActor.
2017-11-03 09:56:00 +01:00
Matthias Mailänder
1aebf9857c
Add support for only rendering effects inside screen bounds
2017-09-17 12:52:04 +01:00
Paul Chote
0e3bfcfb35
Replace WorldCommandWidget with individual logic classes.
2017-09-15 23:06:38 +02:00
Paul Chote
e1cd00c1dd
Add backend plumbing for model loaders.
2017-06-14 18:56:06 +02:00
Paul Chote
695a572dc3
Move ActorMap to mod code.
2017-01-29 18:57:36 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
a16344d347
Remove "Show Shellmap" setting.
2016-12-23 11:34:23 +00:00
Paul Chote
635fc9e1e2
Prevent mod code from changing Actor.Owner directly.
2016-10-23 12:21:03 +01:00
Paul Chote
bf4867909f
Rename Manifest.Mod -> Metadata.
2016-08-08 22:36:07 +01:00
Paul Chote
3df9efb95d
Rework mod enumeration / caching.
...
- Replaced ModMetadata.AllMods with Game.Mods.
- Store / reference mod Manifest instead of ModMetadata.
- Removes engine dependency on ModContent class.
2016-08-08 22:36:07 +01:00
Matthias Mailänder
b70fdd7edc
Correct the comment as not all ticking traits are synced.
2016-06-19 08:19:48 +02:00
Matthias Mailänder
71743b3b4a
Only sync projectiles and future synced effects.
2016-06-13 14:35:28 +02:00
Paul Chote
7e49ae7eb0
Prepare DeveloperMode code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
a0b5b5ce66
Move initial map exploration to Shroud.
2016-05-14 18:54:44 +01:00
Paul Chote
602acabe47
Remove World.TileSet.
2016-03-12 19:47:07 +00:00
Paul Chote
a3b1baa654
Extract default TileSet/Sequence dictionaries to ModData.
2016-03-11 21:18:32 +00:00
Oliver Brakmann
59d9eeaa08
Merge pull request #10795 from Mailaender/screenmap-bounds-crash
...
Fixed screen map updates for invisible mobile actors
2016-02-27 17:52:49 +01:00
Matthias Mailänder
9734054582
Reduce duplication.
2016-02-27 14:10:17 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
RoosterDragon
dc37574494
Cache sync hash functions per actor for faster sync calculations.
...
Caching the result of the function lookup allows the actor to calculate all the sync hashes for its syncable traits faster as it does not need to repeat the lookup each time.
2016-01-31 00:44:43 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
RoosterDragon
3026bdcea5
Implement equality on TraitPair.
2016-01-17 00:13:06 +00:00
Matthias Mailänder
f8161300ed
Merge pull request #10304 from whinis/ReplayReworkPR
...
Reworking ReplayRecorderConnection to be not be a Connection
2015-12-31 12:40:51 +01:00
Matthias Mailänder
6a555a7a8d
Merge pull request #10089 from abcdefg30/shellmapCPU
...
Try to win a small amount of performance when the shellmap is disabled
2015-12-31 12:22:14 +01:00
Whinis
155c74fc5f
Reworking ReplayRecorderConnection to no longer be an IConnection but rather attached to IConnection
2015-12-30 22:17:13 -05:00
abcdefg30
64f57ac9a5
Try to win a small amount of performance when the shellmap is disabled
2015-12-29 14:54:21 +01:00
RoosterDragon
611a928a47
Prevent changing world players after being set once.
2015-12-23 21:53:47 +00:00
RoosterDragon
23a38a08f7
Refactor player setup.
...
Tweak how players in a world are created. Change the collection to be an array to more strongly imply it will not change during a game.
2015-11-27 15:15:43 +00:00