Nemanja
65c0b699f2
fix and buff the handheld mass scanner ( #31284 )
2024-08-21 12:33:01 -06:00
metalgearsloth
edb05e36bb
Reapply "Remove some BUI boilerplate" ( #30214 ) ( #30219 )
...
* Reapply "Remove some BUI boilerplate" (#30214 )
This reverts commit cb0ba66be3 .
* Fix gas tank
* Fix PA
* Fix microwave
* Comms console underwrap
* Fix rcd
* log wehs
2024-07-21 14:48:13 +10:00
Nemanja
cb0ba66be3
Revert "Remove some BUI boilerplate" ( #30214 )
...
Revert "Remove some BUI boilerplate (#28399 )"
This reverts commit cbf329a82d .
2024-07-20 20:42:27 -04:00
metalgearsloth
cbf329a82d
Remove some BUI boilerplate ( #28399 )
...
* Remove some BUI boilerplate
- The disposals overrides got removed due to the helper method handling it.
- Replace window creation with CreateWindow helper.
- Fixed some stinky code which would cause exceptions.
* More
* moar
* weh
* done
* More BUIs
* More updates
* weh
* moar
* look who it is
* weh
* merge
* weh
* fixes
2024-07-20 15:40:16 +10:00
Plykiya
a03b88979e
Replace obsolete xform.ToMap() with xformSystem.ToMapCoordinates() ( #30010 )
...
* Get rid of a bunch of obsolete usages
* position
---------
Co-authored-by: plykiya <plykiya@protonmail.com >
2024-07-13 23:05:22 +02:00
Plykiya
3acc100ae5
Update ShuttleDockControl.xaml.cs to not use Component.Owner ( #29966 )
...
Update ShuttleDockControl.xaml.cs
Co-authored-by: plykiya <plykiya@protonmail.com >
2024-07-13 14:05:31 +10:00
Plykiya
b6672f087f
Update MapScreen.xaml.cs to not use Component.Owner ( #29938 )
...
Update MapScreen.xaml.cs
Co-authored-by: plykiya <plykiya@protonmail.com >
2024-07-12 19:21:54 +10:00
metalgearsloth
4c5c6a84dc
Shuttle map button tweaks ( #29757 )
...
- Avoids adding pending objects we can never show so the list should fill much faster.
2024-07-06 13:51:55 +10:00
metalgearsloth
b6cf2ce524
Add FTL arrival visuals ( #29402 )
...
* Add FTL arrival visuals
* weh
* Update Content.Shared/Shuttles/Components/FTLComponent.cs
Co-authored-by: Tayrtahn <tayrtahn@gmail.com >
---------
Co-authored-by: Tayrtahn <tayrtahn@gmail.com >
2024-07-01 16:11:30 +10:00
eoineoineoin
b44b159431
Replace Matrix3 with System.Numerics.Matrix3x2 ( #27443 )
...
Replace Matrix3 with Matrix3x2
2024-06-02 14:07:41 +10:00
Kara
1596e04d0f
Resolve all non-obsoleting warnings in content ( #27934 )
...
* Resolve all non-obsoleting warnings in content
* Update ClientGameTicker.cs
* Update SkeletonAccentSystem.cs
* Update BwoinkSystem.cs
2024-05-11 20:13:58 -07:00
exincore
7ffa74abd0
fix(ui): Fix shuttle control radius marking text vertical spacing ( #27695 )
2024-05-06 13:52:35 +10:00
SlamBamActionman
bed9e9ac6a
Coordinates Disks & Shuttle FTL Travel ( #23240 )
...
* Adds the CentComm Disk and configures it to work with direct-use shuttles
* Added functionality for drone shuttles (i.e. cargo shuttle)
* Adds support for pods, and a disk console object for disks to be inserted into. Also sprites.
* Added the disk to HoP's locker
* Removed leftover logs & comments
* Fix for integration test
* Apply suggestions from code review (formatting & proper DataField)
Co-authored-by: 0x6273 <0x40@keemail.me >
* Fix integration test & changes based on code review
* Includes Disk Cases to contain Coordinate Disks, which are now CDs instead of Floppy Disks
* Check pods & non-evac shuttles for CentCom travel, even in FTL
* Import
* Remove CentCom travel restrictions & pod disk consoles
* Major changes that changes the coordinates disk system to work with salvage expeditions
* Missed CC diskcase removal
* Fix build
* Review suggestions and changes
* Major additional changes after merge
* Minor tag miss
* Integration test fix
* review
---------
Co-authored-by: 0x6273 <0x40@keemail.me >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2024-04-01 15:50:00 +11:00
Pieter-Jan Briers
3b791459c7
Refactor FTL time tracking code to fix a UI bug ( #26538 )
...
The FTL UI on the shuttle console would reset the FTL progress bar every time you open it. This is because the server only sends "time until completion", not a start/end time. The FTL code now uses a separate start/end time so the exact same progress bar can be preserved.
For convenience, I made a StartEndTime record struct that stores the actual tuple. This is now used by the code and has some helpers.
2024-03-30 12:40:55 +11:00
Jake Huxell
59e46aab93
Reduced Warning Count By 130 For Full Rebuilds ( #26518 )
...
* remove deprecated entity coordinate extension functions. Reduces warning count by approximately 50
* final toCoords Removed
* Remove all unused variables and dead code paths
* remove always true variable, should be a cvar or something instead
* remove superfluous variables from tests
2024-03-29 16:28:16 +11:00
metalgearsloth
000a259563
FTL UIScale fixes ( #26305 )
...
- Fix text drawing being offset.
- Fix beacon snapping and distance check.
- Fix DrawData being offset.
- Fix bounds check for map objects not using PixelSize.
2024-03-22 12:57:49 +11:00
metalgearsloth
a41772a006
Shuttle map IFF tweaks ( #25897 )
...
- HideLabel just means it won't have its name / button drawn whereas Hide will block it completely.
2024-03-11 13:11:46 +11:00
metalgearsloth
c23b3d804e
Fix exped FTL ( #25823 )
...
Also fixed some other stuff I noticed.
2024-03-04 17:24:24 +11:00
metalgearsloth
87e2755c31
Fix shuttle IFF drawing ( #25821 )
...
Didn't account for UI scale properly I love transforms.
2024-03-04 16:15:47 +11:00
metalgearsloth
b7ccf73888
Fix shuttle console UI scaling ( #25807 )
2024-03-03 22:35:57 +11:00
metalgearsloth
c5486873db
Shuttle console + FTL rework ( #24430 )
...
* Add shuttle interior drawing back
Just do it per-tile she'll be right, at least it's done with 1 draw call.
* Revamp shuttle console
* Bunch of cleanup work
* Lables sortito
* dok
* Pixel alignment and colours
* Fix a bunch of drawing bugs
* Shuttle map drawing
* Drawing fixes
* Map parallax working finally
* weh
* Commit all my stuff
* mic
* deez
* Update everything
* Xamlify everything
* uh
* Rudimentary blocker range
* My enemies have succeeded
* Bunch of changes to FTL
* Heaps of cleanup
* Fix FTL bugs
* FTL
* weewoo
* FTL fallback
* wew
* weh
* Basic FTL working
* FTL working
* FTL destination fixes
* a
* Exclusion zones
* Fix drawing / FTL
* Beacons working
* Coordinates drawing
* Fix unknown map names
* Dorks beginning
* State + docking cleanup start
* Basic dock drawing
* Bunch of drawing fixes
* Batching / color fixes
* Cleanup and beacons support
* weh
* weh
* Begin pings
* First draft at map objects
* Map fixup
* Faster drawing
* Fix perf + FTL
* Cached drawing
* Fix drawing
* Best I got
* strips
* Back to lists but with caching
* Final optimisation
* Fix dock bounds
* Docking work
* stinker
* kobolds
* Btns
* Docking vis working
* Fix docking pre-vis
* canasses
* Helldivers 2
* a
* Array life
* Fix
* Fix TODOs
* liltenhead feature club
* dorking
* Merge artifacts
* Last-minute touchup
2024-03-03 18:39:19 +11:00
metalgearsloth
a9502be29e
Revert "Fix chat bubbles ( #25643 )" ( #25645 )
...
* Revert "Fix chat bubbles (#25643 )"
This reverts commit 23d2c4d924 .
* Revert "Fixes obsolete Transform warnings in Content. (#25256 )"
This reverts commit f284b43ff6 .
2024-02-28 00:51:20 +11:00
TemporalOroboros
f284b43ff6
Fixes obsolete Transform warnings in Content. ( #25256 )
...
* Fix TransformComponent.MapPosition warnings in Content.Client
* Fix TransformComponent.MapPosition warnings in Content.IntegrationTests
* Fix TransformComponent.MapPosition warnings in Content.Shared
* Fix TransformComponent.MapPosition warnings in Content.Server
* Fix TransformComponent.WorldPosition warnings in Content.Shared
* Fix TransformComponent.WorldPosition warnings in Content.Client
Excepts ClickableComponent b/c that needs to be ECS'd entirely later
* Fix TransformComponent.WorldPosition warnings in Content.Server
* Fix TransformComponent.WorldRotation warnings in Content.*
* Fix TransformComponent.MapPosition warnings I missed
* Fix TransformComponent.WorldMatrix warnings in Content.*
* Fix TransformComponent.InvWorldMatrix warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotationMatrixWithInv warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotationMatrix warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotation warnings in Content.*
* Fix TransformComponent.Anchored.set warnings in Content.*
* Fix TransformComponent.Coordinates.set warnings in Content.*
* Fix TransformComponent.LocalPosition.set warnings in Content.*
* Fix TransformComponent.AttachToGridOrMap warnings in Content.*
* Fix TransformComponent.AttachParent warnings in Content.*
* Preempt TransformComponent.LocalRotation.set warnings in Content.Shared
* Preempt TransformComponent.LocalRotation.set warnings in Content.Client
* Preempt TransformComponent.LocalRotation.set warnings in Content.IntegrationTests
* Preempt TransformComponent.LocalRotation.set warnings in Content.Server
* Fix/Preempt the remaining obsolete TransformComponent properties/methods in Content.*
* ECS ClickableComponent
* Fix obsolete SharedTransformSystem methods in Content.*
* Fix ExplosionOverlay `SharedTransformSystem` dependency
* Maybe fix null eye position breaking tests
* MGS requested changes
2024-02-27 12:06:20 +11:00
Pieter-Jan Briers
68ce53ae17
Random spontaneous cleanup PR ( #25131 )
...
* Use new Subs.CVar helper
Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.
This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.
* Fix a bunch of warnings
* More warning fixes
* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.
* Get rid of some more ISerializationHooks for enums
* And a little more
* Apply suggestions from code review
Co-authored-by: 0x6273 <0x40@keemail.me >
---------
Co-authored-by: 0x6273 <0x40@keemail.me >
2024-02-13 16:48:39 -05:00
metalgearsloth
6ae64929ba
Fix dock highlighting ( #24369 )
...
Nentity casualty
2024-01-21 23:14:47 +11:00
metalgearsloth
fda8035a5e
Make radarcontrol use approx grids ( #24360 )
2024-01-21 18:15:12 +11:00
metalgearsloth
80c57170e9
Fix DockingControl ( #21238 )
2023-10-26 00:28:34 +11:00
DrSmugleaf
f560f88eb5
Remove 700 usages of Component.Owner ( #21100 )
2023-10-19 12:34:31 -07:00
metalgearsloth
5a0fc68be2
Content update for NetEntities ( #18935 )
2023-09-11 09:42:41 +10: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
Leon Friedrich
bf90cec696
Fix radar text & misc warnings ( #17902 )
2023-07-08 13:47:53 -06:00
TemporalOroboros
3ac4cf85db
Cleaner BoundUserInterfaces ( #17736 )
2023-07-09 02:02:17 +10:00
metalgearsloth
68480af109
Update content vectors to numerics ( #17759 )
2023-07-08 14:08:32 +10:00
metalgearsloth
cd487b66e4
Content mapmanager query changes ( #16894 )
2023-05-28 23:22:44 +10:00
metalgearsloth
ed297e9d46
Prevent early salvage FTL ( #16409 )
2023-05-14 07:37:58 -04:00
TemporalOroboros
8536756db5
Resolves ThrusterVisualizer is Obsolete ( #13904 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-05-07 23:37:28 +10:00
metalgearsloth
be4e69b0c0
Station maps ( #13027 )
2023-04-13 16:21:24 +10:00
metalgearsloth
e33b178f62
Remove interior shuttle drawing ( #15090 )
2023-04-03 15:46:28 +10:00
metalgearsloth
ca94c1748e
Radar changes ( #14783 )
2023-03-23 16:52:20 +11:00
metalgearsloth
569f30b721
Cargo shuttle changes ( #14363 )
2023-03-23 16:10:49 +11:00
metalgearsloth
32a73acf12
Adjust radar grid drawing ( #14769 )
...
* Adjust radar grid drawing
Looks nicer
* werk
* a
2023-03-22 15:52:39 -05:00
metalgearsloth
6f43a5d983
Fix mapgrid rendering ( #13642 )
2023-01-26 21:13:49 -04:00
deathride58
a2f17d1389
fixes radar UI improperly scaling with ui scaling ( #13358 )
2023-01-06 15:08:26 -08:00
deathride58
c7165a6388
Fixes mass scanner UIs being smol by default by defining a setsize ( #13327 )
2023-01-04 15:34:08 -08:00
deathride58
89ea6eda3e
Allows mass scanners and shuttle console radars to resize gracefully ( #13241 )
2022-12-31 10:45:13 +11:00
metalgearsloth
3b3963083b
Replace GridEntityId with Owner ( #12743 )
2022-12-12 14:59:02 +11:00
metalgearsloth
c9a2ab1cee
Remove transform methods from mapgrid ( #12233 )
2022-11-01 11:27:18 +11:00
metalgearsloth
3d0bac9cf8
Fix airlock dock rotation ( #11581 )
2022-10-03 18:47:36 -07:00