Pieter-Jan Briers
067397c713
Cache Enum.GetValues(typeof(Priority)) in PowerNetNodeGroup
2021-01-11 11:30:17 +01:00
py01
b46b890618
Removes half-implemented ConduitLayer from piping ( #2957 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2021-01-09 10:05:29 +11:00
DrSmugleaf
e7eb23a9b0
Fix some of the build ( #2894 )
...
* THIS TIME FOR REAL
* Fix build
* Bring back old power code
* Remove debugger break
Co-authored-by: AJCM <AJCM@tutanota.com >
2021-01-05 15:36:25 +11:00
py01
1032576a20
Replaces AnchoredChanged C# event with ComponentMessage ( #2905 )
...
* Replaces AnchoredChanged C# event with ComponentMessage
* Removes unneeded fields
Co-authored-by: py01 <pyronetics01@gmail.com >
2021-01-05 15:32:59 +11:00
py01
a87dda47e9
Removes some linq from power ( #2875 )
...
* PowerProviderComponent Linq removal
* AdjacentNode Linq removal
* PipeNode Linq removal
* Replaces HasFlag usage in PipeNode
Co-authored-by: py01 <pyronetics01@gmail.com >
2021-01-02 02:04:10 +01:00
moonheart08
836e2d185a
LV Cables -> APC Cables ( #2884 )
...
i used the github web editor
sue me it's just a string
2021-01-01 20:32:29 +01:00
py01
135a65f030
ApcNet code improvements ( #2876 )
...
* Removes per-frame setting of PowerReceiverComponent.Powered
* PowerReceiver.SetLoad
Co-authored-by: py01 <pyronetics01@gmail.com >
2021-01-01 18:21:18 +01:00
Vera Aguilera Puerto
483f7f4385
You can now examine Node Containers to see their "connectors" ( #2881 )
2021-01-02 00:20:23 +11:00
20kdc
91f2f4f599
Fix Antimatter engine maths and overplacing ( #2736 )
...
* Antimatter engine parts can't be placed overlapping
* Antimatter engine stability maths fixed
* Antimatter engine: Clean up some unused stuff
2020-12-17 00:31:47 +11:00
ColdAutumnRain
216a47dddc
Updated serializer data fields ( #2702 )
2020-12-04 11:06:53 +01:00
DrSmugleaf
5c0cf1b1a0
Use 'new' expression in places where the type is evident for content ( #2590 )
...
* Content.Client
* Content.Benchmarks
* Content.IntegrationTests
* Content.Server
* Content.Server.Database
* Content.Shared
* Content.Tests
* Merge fixes
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2020-11-27 21:00:49 +11:00
DrSmugleaf
06b1939a60
Update usages of ! is with is not ( #2584 )
...
* Update usages of ! is with is not
* Content.IntegrationTests commit
* Content.Server commit
* Content.Shared commit
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-11-27 00:33:31 +11:00
DrSmugleaf
749cd11d33
Add readonly where it is missing and fix those field names according to their modifiers ( #2589 )
2020-11-22 00:02:00 +11:00
DrSmugleaf
9926ef298c
Move rotate event subscription from NodeContainerComponent to NodeContainerSystem ( #2506 )
2020-11-06 12:52:01 +01:00
Julian Giebel
45b610f933
Disposal mailing ( #2194 )
...
* Implement device networking
* Implement device configuration menu
* Fix device network
* Implement disposal mailing unit
* Implement base network connection
Implement wired and wireless network connection
Implement device network metadata
* Fix dereference null error
* Fix wired network null checks
* Change BaseNetworks enum to NetworkUtils class
Add PingResponse function to NetworkUtils
Change device network file structure
* Add doc comments
* Apply suggestions from code review
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Add tag validation to disposal mailing unit
* Add tag validation to the mailing unit component
* Address reviews
Change WiredNetwork can connect check
Change device networking string literals to constants
* Address reviews
Revert changes to PowerProvider and PowerReceiver
Add new NodeGroup
WELP
* Fix recursive access to Owner property
* Integrate suggested changes
* Fix TryGetWireNet acting on NullPowerProvider
Fix network connections not checking if their owner has been deleted
* Close device network connection when the owning entity got deleted
Fix mailing unit not closing the device network connection on remove
* Remove GetWireNet from NullPowerProvider
Co-authored-by: Julian Giebel <j.giebel@netrocks.info >
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-10-30 01:16:26 +01:00
metalgearsloth
71eea91f1b
Bonk power allocations ( #2392 )
...
linq bad.
Last one on my hit list is PVS but that needs a full rewrite.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-10-26 10:31:41 +01:00
DrSmugleaf
4c46c7afce
Make ExplosionHelper methods extensions ( #2373 )
2020-10-25 12:11:23 +01:00
py01
77fa796a3b
Rotatable Pumps ( #2223 )
...
* Pump textures
* PumpVisualizer enabled state
* Pump rotation
* Pump tests fix
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-10-12 13:02:57 +02:00
DrSmugleaf
b64cb24059
Rename usages of collidable to physics ( #2230 )
...
* Rename usages of collidable to physics
* high tier PANIQUE
* aaaaaaaaAAAAAa
* cursed commit dont research
* Fix urist and items being anchored
* Fix the rest
2020-10-11 16:36:58 +02:00
py01
5aa866548b
Gas Canisters and Ports ( #2151 )
...
* CanisterComponent start
* GasCanisterPort
* canister
* GasCanister yaml
* More Gas Canisters
* Canister & port fixes
* Placeholder canister and port sprites
* GasMixture serialization
* Component ignores
* Fix duplicate component ignore
Co-authored-by: py01 <pyronetics01@gmail.com >
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-10-10 13:37:52 +02:00
py01
970f3bc82f
Pipe prototypes ( #2124 )
...
* Pipe prototypes
* PipeDirection setter
* IRotatableNode
* NodeContainer passes rotation events to its nodes
* Removes duplicate pipe prototypes that are rotations of each other
* PipeDirectionHelpers
* PipeNode rotation
* icon removal
* Pipe icons
* Icon fix
* Fixes pipe sprites and icons
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-10-08 17:53:56 +02:00
DrSmugleaf
74943a2770
Typo, redundant string interpolation, namespaces and imports cleanup ( #2068 )
...
* Readonly, typos and redundant string interpolations
* Namespaces
* Optimize imports
* Address reviews
* but actually
* Localize missing strings
* Remove redundant vars
2020-09-13 14:23:52 +02:00
py01
2e5838bb62
Disabled PowerConsumers do not use Apc power ( #2064 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-09-13 14:08:23 +02:00
DrSmugleaf
48b61f6bcc
Replace every usage of GridCoordinates with EntityCoordinates ( #2021 )
...
* Update RobustToolbox
* Transition direct type usages
* More updates
* Fix invalid use of to map
* Update RobustToolbox
* Fix dropping items
* Rename name usages of "GridCoordinates" to "EntityCoordinates"
* Revert "Update RobustToolbox"
This reverts commit 9f334a17c5908ded0043a63158bb671e4aa3f346.
* Revert "Update RobustToolbox"
This reverts commit 3a9c8cfa3606fa501aa84407796d2ad920853a09.
# Conflicts:
# RobustToolbox
* Fix cursed IMapGrid method usage.
* GridTileLookupTest now uses EntityCoordinates
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com >
Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es >
2020-09-06 16:11:53 +02:00
Metal Gear Sloth
363bfb595f
Reduce power allocations
...
It was the 2nd and 3rd highest traffic for memory allocs.
2020-09-03 19:35:09 +10:00
py01
68ec6e6be5
Pipe Sprites & Visualizer ( #1954 )
...
* Pipe sprites
* pipe copyright
* SharedPipeComponent
* Pipe Visualizer draft
* missing longitudinal pipe sprites
* expanded rsi states
* pipe prototype fixes
* Fixed pipe visualizer
* ConduitLayer enum
* PipeVisualizer update
* halfpipe sprites
* yaml unneeded proto removal
* PipeVisualizer uses its own RSI
* Removes unused field from PipeVisualizer
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-08-31 02:13:15 +02:00
DrSmugleaf
b83c8126d7
Change component tests to not use stationstation ( #1963 )
2020-08-30 12:00:47 +02:00
ancientpower
566ed6b770
Adds the antimatter engine ( #1905 )
...
* adds antimatter engine
* fixes some nullables
* fixes ALL OF THE NULLABLES
* adds explosions
* adds fancy lighting
* requested changes + license info
Co-authored-by: ancientpower <ancientpowerer@gmail.com >
2020-08-29 13:05:44 +02:00
py01
7b12d4e08c
PipeNet ( #1626 )
...
* PipeNode
* Pipe prototypes
* Fixes Default NodeGroup not being registered by NodeGroupFactory
* GasNet
* PumpComponent
* IPipeNet
* PipeComponent
* misc naming, yaml
* PipeComponent rework
* PipeNet gas transfer from pipes
* PipeNet correctly combines gas on combining with other group
* Client ignores piping components
* AfterRemake
* PipeNet remake simplification
* IGasMixtureHolder on PipeComponent, IPipeNet
* PipeContainerComponent
* BasePump
* DebugPump
* IgnoredComponent fix
* Pipe LocalAir and Air
* comments
* Pump fix
* PipeNet fix
* name simplification
* PipeDirection name changes
* BaseVentComponent and DebugVentComponent
* Moves Pipe to own file
* DebugVentComponent moved to own file
* BaseScrubberComponent
* DebugScrubberComponent
* IgnoredComponents update
* scrubber prototype
* vent prototype fix
* comments
* Removes vent and scrubber PipeDirection check
* PipeContainer, Pipe, and PipeNode refactor
* Yaml cleanup
* pump prototype fix
* Removes AssumeAir usage from old IGasMixtureHolders
* Simplfies Vent & Scrubber to use AtmosHelper methods
* Vents and scrubbers invalidate the coordinate they changed the gas of
* UpdatedPipingComponent
* ScrubberComponent renamed to SiphonComponent
* Removes PumpSystem
* Removes framTime from UpdatedPiping
* PipeNetDevices
* PipeNetDevice updated by GridAtmosphereComponent
* PipeNets react from update in GridAtmosphereComponent
* GridAtmosphereComponent stores PipeNets/PipeNetDevices to be updated in queue
* diff fix
* Removes debug gas starting in pipes
* type safety in IPipeNet when combining groups
* null checks
* GridAtmos stores PipeNets and PipeNetDevices in List
* comments
* rogue curly bracket
* ProcessPipeNets update fix
* RemovePipeNet fix
* PipeNet update() unique index
* fix diff
* Integration test fixes
* Error Logging
* error fix
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-08-27 17:45:27 +02:00
DrSmugleaf
8a27a5322a
Replace pragma warning 649 disable/restore with default!
2020-08-24 14:10:28 +02:00
DrSmugleaf
b9196d0a10
Add a test that puts all components on an entity and checks for no exceptions ( #1815 )
...
* Add test that puts all components on an entity and checks for no exceptions
Also fix all the exceptions that happened because of this
* Add comments to the test
* Fix nullable errors
* Fix more nullable errors
* More nullable error fixes
* Unignore basic actor component
* Fix more nullable errors
* NULLABLE ERROR
* Add string interpolation
* Merge if checks
* Remove redundant pragma warning disable 649
* Address reviews
* Remove null wrappers around TryGetComponent
* Merge conflict fixes
* APC battery component error fix
* Fix power test
* Fix atmos mapgrid usages
2020-08-22 22:29:20 +02:00
DrSmugleaf
4a8ed41e3a
Fix namespaces and optimize imports ( #1651 )
...
* Fix namespaces and optimize imports
* Cleanup fixes
* Merge conflict fixes
* Merge conflict fixes
* Merge conflict fixes
2020-08-13 14:40:27 +02:00
py01
01b10cb687
Node serialization change ( #1497 )
...
* NodeContainerComponent serializes a set of Nodes with ExposeData
* Fixes Nodes to work when being created by serializer
* ConduitNode
* ConduitPlacer to replace WirePlacer
* ConduitNode ConduitLayer setter
* Map update
* Comments
* Map update again
* Method ordering by privacy
* Removes conduits
* ignored component
* reorg
* map update
* readd wireplacer
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-08-07 02:47:54 +02:00
py01
5e0ca8a85a
Replaces obsolete PhysicsComponent usage in Power and Node ( #1515 )
...
* Node Physics replacement
* PowerReceiver Physics replacement
* wires are anchored
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-27 23:34:01 -07:00
py01
fbbe43fff8
Powernet Recalculation simplification ( #1427 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-26 12:14:03 +02:00
Acruid
c9374992a6
Converted everything to use collision and physics component interfaces.
2020-07-19 00:33:02 -07:00
py01
137511d8b9
NodeGroup remake deferment ( #1268 )
...
* Remove Unnecessary AnchorUpdate() call
* NodeGroupManager
* NodeGroupManager issues NodeGroup remake attempts
* Code cleanup
* NodeGroupManager only stores dirty groups, handles them on next frame
* Removes unused NodeGroupManager dependency
* Prevents OnRemoveNode from iterating over every connector after the first time
* Revert "Prevents OnRemoveNode from iterating over every connector after the first time"
This reverts commit c72af4b18d55192af789514f74bef893cf076fbc.
* Dependancy warning fix
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-06 15:48:18 +02:00
Pieter-Jan Briers
7e061b5968
Fix compile.
2020-07-02 14:00:45 +02:00
py01
7b17698336
Power works with Anchorable ( #1240 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-02 12:02:29 +02:00
py01
23cc6b1d4e
Power Rework ( #863 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-06-28 17:23:26 +02:00