Commit Graph

4901 Commits

Author SHA1 Message Date
Vera Aguilera Puerto
4ce05a9b75 Work around transform anchoring in construction. 2021-06-29 21:23:00 +02:00
Vera Aguilera Puerto
bc7b315b18 Replace IResettingEntitySystem with RoundRestartCleanupEvent. (#4245)
* Replace IResettingEntitySystem with RoundRestartCleanupEvent.

* oops
2021-06-29 23:56:07 +10:00
metalgearsloth
16e1c2c798 Update submodule 2021-06-29 22:45:33 +10:00
Vera Aguilera Puerto
77ae49fd9c Sound Specifiers. (#4239)
* Adds SoundSpecifier and a type serializer.

* DiceComponent makes use of SoundSpecifier.

* When rider autorefactoring decices to add field:

* Remove SoundEmptySpecifier, use nullable everywhere
2021-06-28 16:20:57 +02:00
Vera Aguilera Puerto
9bedfe79be Fix being able to start pulling something while incapacitated. (#4240) 2021-06-28 22:17:37 +10:00
Vera Aguilera Puerto
a1088faa35 When the changelog is sus. 2021-06-28 14:09:46 +02:00
Vera Aguilera Puerto
6a4e0beacc Fix being able to play structure instruments while in crit/dead.
Fixes #4038
2021-06-28 13:45:23 +02:00
Vera Aguilera Puerto
599814d5a0 Chat manager won't enqueue speech bubbles in a different map than you eye.
Fixes #4215
2021-06-28 13:21:41 +02:00
Vera Aguilera Puerto
dfe29a1550 Clean up vending machine prototypes. 2021-06-28 13:17:37 +02:00
Vera Aguilera Puerto
ff6cd00438 Fix spray puff and fire extinguisher cloud not moving.
They were anchored and had the wrong body type...
2021-06-28 13:08:10 +02:00
Vera Aguilera Puerto
2307dcb675 Update submodule, fixes MIDI stop crash 2021-06-28 11:01:46 +02:00
metalgearsloth
05e31c2cd3 Don't pushback when throwing while buckled (#4232)
* Don't pushback when throwing while buckled

* Address reviews

* Fix
2021-06-28 14:17:08 +10:00
metalgearsloth
50cc526ebd Refactor standing to be ECS (#4142)
* Refactor standing to be ECS

E C S B A B Y

* DONE

* FIX IT FIX IT FIX IT

* IsDown event

* Change to methods

* Fixes

* Address some reviews

* Last of the Mohicans

* Final fixes

* Fix tests
2021-06-27 19:02:46 +10:00
Galactic Chimp
97f4f0a9bd #4222 fixed crayon cast issue causing exception (#4229) 2021-06-27 18:01:26 +10:00
metalgearsloth
c25b103316 Gravity fixes (#4231)
git was being dumb so I just made a diff pr
2021-06-27 15:57:02 +10:00
metalgearsloth
cc35558de9 Update submodule 2021-06-27 15:48:10 +10:00
Galactic Chimp
afb5f5c8eb #1462 extracted MapGrid's HasGravity property to separate Content com… (#4200)
* #1462 extracted MapGrid's HasGravity property to separate Content component

* #1462 - PR suggestions

* Merge to master

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-06-27 15:43:39 +10:00
metalgearsloth
3cb627531f Update submodule 2021-06-27 13:41:07 +10:00
Galactic Chimp
769daedaa9 #1607 deprecate IEntityQuery (#4204)
* #1607 partial progress

* #1607 partial progress

* #1607 almost done

* #1607 PR suggestions

* #1607 PR suggestions

* #1607 PR suggestions

* #1607 PR tweak

* #1607 PR tweak

* #1607 removed unused namespaces

* #1607 PR tweak

* Fix jank

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-06-27 13:40:03 +10:00
Galactic Chimp
71d939bed5 #3927 beakers will now break and spill on landing after a throw (#4230) 2021-06-27 13:05:43 +10:00
Vera Aguilera Puerto
4d89eda952 Use cached atmosphere system in pipenet update.
- Also unslows PJB's yeast
2021-06-26 11:56:23 +02:00
Pieter-Jan Briers
fc74eaca62 Use new DrawString helper in TraitorOverlay 2021-06-26 03:26:57 +02:00
Vera Aguilera Puerto
8f1aed5412 Remove workaround for engine bug in disposals. 2021-06-25 14:46:47 +02:00
Swept
d6805f47a3 Added fireaxe cabinets (#4221)
* Added fireaxe cabinets

* Now inserts and renamed ItemCabinetVisuals file

* Added netsync

* Cut out layers for future ItemCabinetVisualizer work and reorganized some RSIs

* Update Resources/Textures/Constructible/Storage/Cabinets/extinguisher_cabinet.rsi/meta.json

* Update Resources/Textures/Constructible/Storage/Cabinets/extinguisher_cabinet.rsi/meta.json

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-06-25 13:27:22 +10:00
Vera Aguilera Puerto
fcbe0baea4 Update submodule to v0.4.71 2021-06-24 21:44:07 +02:00
DrSmugleaf
716bee0746 Remove IClientSingularityInstance, move visual effects to SingularityDistortionComponent (#4194)
* Remove IClientSingularityInstance

* In and out 5 minute refactor

* Component states for singularity distortion

* Fix distortion states

* Address reviews
2021-06-24 12:48:11 +10:00
Vera Aguilera Puerto
34e457b854 Gas Tanks no longer use NodeContainer, Gas Canisters no longer use passive gates. 2021-06-23 12:02:28 +02:00
Vera Aguilera Puerto
263c9ef974 ECS Atmos Part 2: Moves a lot of Gas Mixture methods to AtmosphereSystem. (#4218) 2021-06-23 11:35:30 +02:00
SweptWasTaken
e16c23a747 AME jars and parts now have inhand sprites 2021-06-23 00:39:35 -07:00
Pieter-Jan Briers
cee6600d77 Help smugleaf is holding me at gunpoint (rider templates). 2021-06-22 11:20:46 +02:00
Vera Aguilera Puerto
3f28a4d784 ECS Atmos Part 1: Move GridAtmosphere updating and processing to AtmosphereSystem.Processing (#4206) 2021-06-22 10:28:15 +02:00
collinlunn
f2816e8081 Moves Hands to shared, some prediction (#3829)
* HandsGuiState

* Gui state setting methods

* code cleanup

* Removes TryGetHands

* ClientHand

* Gui Hands

* Refactor WIP 1

* Hand index

* refactors 2

* wip 3

* wip 4

* wiip 4

* wip 5

* wip 6

* wip 7

* wip 8

* wip 9

* wip 11

* Hand ui mostly looks fine

* hands gui cleanup 1

* cleanup 2

* wip 13

* hand enabled

* stuff

* Hands gui gap fix

* onpressed test

* hand gui buttons events work

* bag activation works

* fix item use

* todo comment

* hands activate fix

* Moves Client Hands back to using strings to identify active hand

* fixes action hand highlighting

* diff fix

* serverhand

* SharedHand

* SharedHand, IReadOnlyHand

* Client Hands only stores SharedHand

* cleanup server hands

* server hand container shutdown

* misc renames, refactors of serverhand

* stuff 1

* stuff 3

* server hand refactor 1

* Undo API changes to remove massive diff

* More API name fixes

* server hands cleanup 2

* cleanup 3

* dropping cleanup

* Cleanup 4

* MoveItemFromHand

* Stuff

* region sorting

* Hand Putter methods cleanup

* stuff 2

* Merges all of serverhand and clienthand into sharedhand

* Other hands systems, hack to make inhands update (gui state set every frame, visualzier updated every frame)

* GetFinalDropCoordinates cleanup

* SwapHands cleanup

* Moves server hands code to shared hands

* Fixed hand selected and deselected

* Naming fixes

* Server hands system cleanup

* Hands privacy fixes

* Client hand updates when containers are modified

* HeldItemVisualizer

* Fixes hand gui item status panel

* method name fix

* Swap hands prediction

* Dropping prediction

* Fixes pickup entity animation

* Fixes HeldItemsVisualizer

* moves item pickup to shared

* PR cleanup

* fixes hand enabling/disabling

* build fix

* Conflict fixes

* Fixes pickup animation

* Uses component directed message subscriptions

* event unsubscriptions in hand system

* unsubscribe fix

* CanInsertEntityIntoHand checks if hand is enabled

* Moving items from one hand to another checks if the hands can pick up and drop

* Fixes stop pulling not re-enabling hand

* Fixes pickup animation for entities containers on the floor

* Fixes using held items

* Fixes multiple hands guis appearing

* test fix

* removes obsolete system sunsubscribes

* Checks IsFirstTimePredicted before playing drop animation

* fixes hand item deleted crash

* Uses Get to get other system

* Replaces AppearanceComponent with SharedAppearanceComponent

* Replaces EnsureComponent with TryGetComponent

* Improves event class names

* Moves property up to top of class

* Moves code for determining the hand visualizer rsi state into the visualizer instead of being determined on hand component

* Eventbus todo comment

* Yaml fix for changed visualizer name

* Makes HandsVisuals a byte

* Removes state from HandsVisualizer

* Fixes hand using interaction method name

* Namespace changes fixes

* Fix for changed hand interaction method

* missing }

* conflict build fix

* Moves cleint HandsSystem to correct folder

* Moved namespace fix for interaction test

* Moves Handsvisualizer ot correct folder

* Moves SharedHandsSystem to correct folder

* Fixes errors from moving namespace of hand systems

* Fixes PDA component changes

* Fixes ActionsComponent diff

* Fixes inventory component diff

* fixes null ref

* Replaces obsolete Loc.GetString usage with fluent translations

* Fluent for hands disarming

* SwapHands and Drop user input specify to the server which hand

* Pickup animation WorldPosiiton todo

* Cleans up hands gui subscription handling

* Fixes change in ActionBlockerSystem access

* Namespace references fixes

* HandsComponent PlayerAttached/Detached messages are handled through eventbus

* Fixes GasCanisterSystem drop method usage

* Fix gameticker equipping method at new location

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-06-21 19:21:20 +10:00
Vera Aguilera Puerto
a6a073cfdb Remove invalid gas 2021-06-21 10:51:06 +02:00
DrSmugleaf
2c7720befe Fix missing await in ConstantsTest.TotalGasesTest 2021-06-21 10:50:21 +02:00
metalgearsloth
4dc871b2be Add cvar thresholds to gas overlays (#3835)
* Add cvar thresholds to gas overlays

Rather than having 256 thresholds it can now be reduced to whatever you want

* Address review

* Fix namespace
2021-06-21 17:08:37 +10:00
mirrorcult
2ea5aec101 Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Pieter-Jan Briers
64813d9c56 Oops that broke integration tests on Windows. 2021-06-21 02:29:54 +02:00
Galactic Chimp
392b820796 Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-21 02:13:54 +02:00
Pieter-Jan Briers
4a46fbe6dd Enable server GC for integration tests. 2021-06-21 02:09:57 +02:00
Vera Aguilera Puerto
82a2663d1f Fix crafting menu icon not appearing
Fixes #4210
2021-06-20 22:45:00 +02:00
Pieter-Jan Briers
1eae13a863 HumanoidProfileEditor defers preview updates to FrameUpdate.
Fixes most of the perf problems with it.
2021-06-20 19:50:28 +02:00
Vera Aguilera Puerto
efad7b8dbb Fix BaseConstructible and BaseConstructibleDynamic to use the new entity anchoring 2021-06-20 18:20:46 +02:00
Vera Aguilera Puerto
5b41d3328e Fix crash when getting server status
- Adds _roundStartDateTime field to GameTicker, the UTC time when the round started.
2021-06-20 17:38:05 +02:00
Vera Aguilera Puerto
f7b89daa74 Move ComputerUIActivatorSystem to Computer namespace. 2021-06-20 11:42:37 +02:00
Vera Aguilera Puerto
f7f996e168 Fix a single namespace 2021-06-20 10:14:52 +02:00
Vera Aguilera Puerto
d3a611164b Turns GameTicker into an EntitySystem. (#4197)
* GameTicker turned into an EntitySystem

* Turns ClientGameTicker into an EntitySystem, turn NetMessages into events

* Change event names to be more consistent with the rest.

* YAML linter uses the dummy gameticker CVar override.

* Fix game ticker initialization order

* Dummy ticker won't spawn players.

* Fix character creation test
2021-06-20 10:09:24 +02:00
Acruid
15fb554c28 Engine Entity Anchoring Changes (#4195)
* Converted all SnapGridPositionChangedEvent subscriptions to AnchorStateChangedEvent.

* Fixes power tests with new anchored requirements.

* Moved AnchorableComponent into construction.
AnchorableComponent now uses Transform.Anchored.

* Fixed bug with nodes, power works again.

* Adds lifetime stages to Component.

* Update Engine to v0.4.70.
2021-06-19 19:41:26 -07:00
DrSmugleaf
0ab7b3a5d2 Fix a tragic 2D suffix on the filename of DrinkFoodContainerVisualizer 2021-06-20 00:19:14 +02:00
PJBot
e9a4c52c0f Automatic changelog update 2021-06-19 15:35:04 -04:00
Swept
a51305466e Makes more stuff destructible/breakable (#4081) 2021-06-19 19:34:01 +00:00