Commit Graph

56 Commits

Author SHA1 Message Date
DrSmugleaf a8c2444a66 Add mapping editor (#23427)
* Add mapping editor (#757)

* Remove mapping actions, never again

* Cleanup actions system

* Jarvis, remove all references to CM14

* Fix InventoryUIController crashing when an InventoryGui is not found

* Rename mapping1 to mapping

* Clean up context calls

* Add doc comments

* Add delegate for hiding decals in the mapping screen

* Jarvis mission failed

* a

* Add test

* Fix not flushing save stream in mapping manager

* change

* Fix verbs

* fixes

* localise

---------

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2024-09-22 02:44:27 +01:00
eoineoineoin c62bd23656
Replace Matrix3 with System.Numerics.Matrix3x2 (#27443)
Replace Matrix3 with Matrix3x2
2024-06-06 21:44:48 +02:00
Leon Friedrich 396a6ad5a6
Content changes for engine delta-state PR (#28134)
* Update GasTileOverlayState

* Update DecalGridState

* Update NavMapState

* poke

* poke2

* poke3

* Poke dem tests
2024-06-01 16:55:53 +02:00
Kara b93f956353
Resolve `'EntitySystem.Get<T>()' is obsolete` in content (#27936)
* PROJECT 0 WARNINGS: Resolve `'EntitySystem.Get<T>()' is obsolete` in content

* pass entman

* dog ass test

* webeditor
2024-05-18 13:58:55 +02:00
metalgearsloth cd8b5b96b5
Optimise DecalOverlay (#25266)
ChunkSize is still 32 so doesn't cut down on heaps of decals atm though we avoid passing many decals to drawing with the coordinates bounds check now.

(cherry picked from commit d8e5f5c24b88bf8096ddaec11e80f1af2953637b)
2024-03-05 09:49:43 +01:00
metalgearsloth cb97e156cb
Fix decal error spam (#25172)
(cherry picked from commit 4cec0821e40cf0eabde7f8919a0474e2719aa8cb)
2024-02-18 23:01:15 +01:00
metalgearsloth 371fafddbd
Fix decal draw-order (#22953)
* Fix decal draw-order

Using the new overlayspace ensures they don't draw above grids above them.

* a

(cherry picked from commit 9ce847a840f06a13f4a32b721b21abef66ee4af8)
2024-01-22 21:00:32 +01:00
metalgearsloth 96329dd25f Minor decal change (#21860) 2023-12-02 19:05:11 +01:00
metalgearsloth 9b845cf9a0 Decal fix (#21761)
- Don't send stale chunks for deleted grid as client just errors it anyway.
- Store some allocations in fields.
2023-12-02 19:00:04 +01:00
DrSmugleaf 9cc8a7fc81 Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
Nemanja 00800197f7 decal settings (#20324) 2023-09-27 21:59:12 +02:00
metalgearsloth 21fdea5e5a Remove lights compref (#19531) 2023-09-27 21:59:12 +02:00
metalgearsloth c9648da984 Content update for NetEntities (#18935) 2023-09-27 21:59:12 +02:00
DrSmugleaf c71f97e3a2
Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
metalgearsloth 4cfc578011
Revert "Remove most usages of obsolete TransformComponent methods (#1… (#19714) 2023-09-01 12:30:29 +10:00
Visne 1416942bea
Remove most usages of obsolete TransformComponent methods (#19571) 2023-08-30 12:05:19 +10:00
DrSmugleaf a88e747a0b
Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
TemporalOroboros 3b02d461a2
Corrects for singularity distortion. (#13925) 2023-08-13 09:43:07 +10:00
Leon Friedrich 385b587cfc
Validate prototype ids in c# fields (#18224) 2023-07-30 03:34:51 +10:00
metalgearsloth 68480af109
Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
Vordenburg 18837c305d
Fix action bar not filling with mappables (#17218)
* Fix action bar not filling with mappables

* Update Content.Client/UserInterface/Systems/Actions/ActionUIController.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-15 13:21:52 -06:00
metalgearsloth cd487b66e4
Content mapmanager query changes (#16894) 2023-05-28 23:22:44 +10:00
DamianX 0bd1756fb2
Made ColorSelectorSliders use SpinBox instead of FloatSpinBox (#13702)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-03-06 10:07:49 -08:00
Visne c6d3e4f3bd
Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
Leon Friedrich dbe99f9fa6
Decal system cleanup (#13493)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-01-16 11:46:22 +11:00
metalgearsloth 59f7fc58fc
Decal placement preview (#13460) 2023-01-16 07:35:36 +11:00
Leon Friedrich 5990393e31
Fix decal error (#13471)
Fixes https://github.com/space-wizards/space-station-14/issues/13466
2023-01-15 11:56:20 +11:00
metalgearsloth 399c3c7aec
Remove 1 protomanager TryIndex per drawn decal (#13395) 2023-01-10 03:59:17 -08:00
Vordenburg 92f806439e
Order decals in the placer window for mappers. (#13153) 2022-12-23 13:51:19 -06:00
Leon Friedrich decce17e94
Fix decal state exceptions (#13075) 2022-12-19 07:44:14 +11:00
Leon Friedrich 8f352f87c2
Decal state handling (#12624) 2022-12-19 06:28:46 +11:00
Rane 8d1773742e
World target action uses entity coordinates (#12484) 2022-12-06 15:03:20 -08:00
wrexbe 018a96ee88
Merge more UI refactor stuff (#11277)
* Changelog+options ui controller
* Sandbox UI controller
* Escape menu UI controller
2022-09-14 14:34:48 -07:00
wrexbe c55a015b77
Small UI refactor pieces (#11026)
* ActionType rename Name to DisplayName

* Gameplay State rename+move
2022-09-04 17:21:14 -07:00
metalgearsloth 3fa666bd06
Snap to nearest cardinal on traversal (#10869) 2022-08-29 15:59:19 +10:00
Leon Friedrich dc8f6d6bac
Fix cross-map decal rendering (#10548) 2022-08-15 03:25:33 +10:00
metalgearsloth 87c05f2949
Cleanup overlay shaders when done (#10432) 2022-08-13 10:58:53 +10:00
Nemanja f8b8b83657
allow decals to be removed from placement menu (#9843) 2022-07-17 21:02:03 -05:00
Leon Friedrich 72599e5282
Fix disappearing decals bug (#9608) 2022-07-14 19:33:11 -07:00
Leon Friedrich c13c0b8b0b
Remove implicit GridId conversions (#8975) 2022-06-28 22:56:02 +10:00
Acruid 4f9be42f40
Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
metalgearsloth 77bd892bbd
Fix decals (finally) (#7771) 2022-04-28 20:23:43 +10:00
Flipp Syder afb999fb50
Restores the palette picker in decals (#7635) 2022-04-18 15:43:27 -07:00
Flipp Syder c7856327a8
Adds colorable sliders & RGB/HSV color picker (#7441) 2022-04-15 15:55:56 -07:00
metalgearsloth 859ba303fc
Optimise decal allocs (#7550)
I saw it at the time but didn't think it'd be as big of a deal as it is.
2022-04-14 17:10:32 +10:00
Leon Friedrich ba75934512
Re-add action prototypes (#7508)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-04-14 06:17:34 +02:00
Leon Friedrich 1317f0214a
Fix decal crash (#7484) 2022-04-09 10:36:24 -05:00
metalgearsloth d0077b4ff2
Reduce decal allocs take 3 (#7243) 2022-03-25 13:18:15 +11:00
Leon Friedrich 36fcca8337
Mapping Actions (#6877) 2022-03-02 10:12:34 +11:00
metalgearsloth 5b53b69191
Decal rendering improvements (#6704)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-02-20 17:39:33 +11:00