RoosterDragon
285443f10f
Fix CA1310, CA1311
2023-08-07 21:38:09 +02:00
RoosterDragon
d83e579dfe
Fix CA1305
2023-08-07 21:38:09 +02:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
RoosterDragon
023d80b94d
Fix IDE0057
2023-04-08 16:51:51 +03:00
RoosterDragon
939f715e3c
Fix IDE0053
2023-03-07 13:18:13 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Matthias Mailänder
6bcf2f718c
In map editor replace invalid actor owners with neutral.
2022-12-23 18:33:55 +01:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Chris Harris
1c6ca394c1
Fix duplicate ActorIDs
2021-07-17 23:27:25 +02:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Paul Chote
6b6b1e56e6
Resolve random players and spawn points in server replays.
2020-10-31 14:31:44 +01:00
Paul Chote
dd18829def
Traits: add ICreatePlayersInfo
...
Signed-off-by: Clément Bœsch <u@pkh.me >
2020-10-10 01:17:39 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
3bc5d2d02c
Add INotifyEditorPlacementInfo interface.
...
This allows TraitInfos to act when the actor preview is placed
in the editor, returning arbitrary data which the editor stores
and gives back if the preview is removed.
2020-07-13 14:02:02 +02:00
Nikita Pozdeev
cb41be113a
Fix map editor radar ignoring color from terrain
2020-06-20 14:37:23 +02:00
Paul Chote
c6c3a8c60d
Make ActorPreview and EditorActorPreview wrap ActorReference.
2020-06-19 17:57:56 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
Paul Chote
d62fb901e2
Fix actors with no footprint leaving stale data when deleted.
2020-03-29 21:10:45 +02:00
Paul Chote
fe25fdf0ff
Improve robustness of editor actor cell checks.
2020-01-12 18:30:50 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
630ca0aefb
Draw editor selection box using the UI renderers.
2019-12-11 11:02:04 +01:00
teinarss
76034c198e
Added Undo Redo to editor
2019-09-27 17:40:32 +02:00
abcdefg30
7f6149713e
Fix actors with no footprint not being copied and pasted
2019-09-13 23:55:48 +01:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
72c90d84a8
Fix editor crash when modifying newly placed actor ID.
2019-02-21 16:22:32 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
David Wilson
22bece2dc9
Add a basic actor properties panel to the editor.
2018-11-24 10:14:17 +00:00
Noam
c71f97e2c6
Update editor sidebar when a player is removed.
2018-10-07 19:01:55 +02:00
teinarss
e353c8c176
Changed SubCell to byte
2018-09-30 19:48:27 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
RoosterDragon
0899d02377
Avoid allocations when generating RadarSignatureCells.
...
The RadarWidget can supply a reusable buffer to each trait to avoid individual traits having to return new enumerables. Additionally, this allows the two traits to avoid LINQ and further allocations as they can manually enumerate and populate the buffer themselves.
2017-12-12 00:00:51 +01:00
Paul Chote
86bfe28ade
Add ScreenBounds method to IRender interface.
...
This method is expected to return Rectangles that cover
the region where Renderables returned by Render may exist.
2017-12-11 19:45:07 +01:00
abcdefg30
a8c6d12c43
Fix the map editor crashing on invisible actors
2017-10-14 13:35:33 +02:00
reaperrr
8ec3d5ddb8
Require explicit ITickRender
2017-10-07 10:17:11 +02:00
reaperrr
2b391d5724
Require explicit ICreatePlayers
2017-09-28 13:14:08 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
635fc9e1e2
Prevent mod code from changing Actor.Owner directly.
2016-10-23 12:21:03 +01:00
Paul Chote
c68ef3d25f
Preserve editor actor order.
2016-04-17 20:25:20 -04:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
e79fbe1bb9
Reference SubCells directly from MapGrid.
2016-03-16 18:57:07 +00: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