Commit Graph
58 Commits
Author SHA1 Message Date
Pieter-Jan Briers ccea85136b 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>
(cherry picked from commit 68ce53ae17)
2024-02-18 23:02:29 +01:00
Pieter-Jan Briers 1c54b75da5 Dependency update / fixes / skrungle bungle (#23745)
* Give .props files 2-space indents.

* Move to Central Package Management.

Allows us to store NuGet package versions all in one place. Yay!

* Update NuGet packages and fix code for changes.

Notable:

Changes to ILVerify.
Npgsql doesn't need hacks for inet anymore, now we need hacks to make the old code work with this new reality.
NUnit's analyzers are already complaining and I didn't even update it to 4.x yet.
TerraFX changed to GetLastSystemError so error handling had to be changed.
Buncha APIs have more NRT annotations.

* Remove dotnet-eng NuGet package source.

I genuinely don't know what this was for, and Central Package Management starts throwing warnings about it, so YEET.

* Remove Robust.Physics project.

Never used.

* Remove erroneous NVorbis reference.

Should be VorbisPizza and otherwise wasn't used.

* Sandbox fixes

* Remove unused unit test package references.

Castle.Core and NUnit.ConsoleRunner.

* Update NUnit to 4.0.1

This requires replacing all the old assertion methods because they removed them 🥲

* Oh so that's what dotnet-eng was used for. Yeah ok that makes sense.

* Add Robust.Analyzers.Test

* Update submodule

* commit to re-run CI

(cherry picked from commit a6c9c36b68)
2024-01-26 22:33:46 +01:00
metalgearsloth 867f873c9c Fix MapPainter (#22290) 2023-12-16 19:37:31 +01:00
metalgearslothandPieter-Jan Briers b1ee2d48ff Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-12-02 20:16:36 +01:00
DrSmugleaf 03ac68ce5a Fix map renderer (#21515) 2023-11-12 20:48:03 +01:00
Leon Friedrich e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
DrSmugleaf 5ff50bf537 Fix entities getting shuffled in the map renderer (#20100) 2023-09-27 21:59:12 +02:00
DrSmugleaf e39f3d2019 Fix the map renderer not rendering entities (#20082) 2023-09-27 21:59:12 +02:00
Visne 9bd30d57ad Remove obsolete PoolManager methods (#19499) 2023-08-25 12:13:11 +10:00
Visne 3c667b6f7e Remove obsolete TestPair.Pair (#19496) 2023-08-25 10:56:51 +10:00
TemporalOroboros 7cdc7ab972 Fix warnings in MapRenderer module (#17865) 2023-08-08 11:07:08 +10:00
Leon Friedrich 9c84108672 Change default test pooling options. (#18732) 2023-08-06 12:30:28 +10:00
Leon Friedrich d58786faf4 Remove PoolSettings.ExtraPrototypes option (#18678) 2023-08-05 14:16:48 +10:00
metalgearsloth 68480af109 Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth c82d1b437e Fix some MapPainter warnings (#17639) 2023-06-26 01:56:20 +10:00
DrSmugleaf ca8adf10aa Fix map renderer error when painting decals with paths that start with /Textures (#16822) 2023-05-25 20:46:27 -05:00
Julian Giebel 9f3f3b4998 Remove checking for SpriteComponent on the server (#16821) 2023-05-25 16:17:48 -06:00
Leon Friedrich f99533a7bf Remove server and shared sprite component (#15917) 2023-04-30 16:09:52 +10:00
DrSmugleaf d2533265c5 Fix map renderer erroring on tiles with an empty sprite string (#15849) 2023-04-27 11:46:29 -07:00
DrSmugleaf 82e1c2104a Fix map renderer build (#15543) 2023-04-19 13:25:23 -07:00
Pieter-Jan Briers c5b3f62f6f Update project files for configuration changes. (#14281) 2023-03-06 11:38:07 -08:00
metalgearsloth 37f432ca58 Procgen biomes (#13487)
* Planetmap tiles

Biomes etc etc

* a

* oop

* Chunk-based rendering

* funny

* Less allocations

* Fix overdraw

* Content tile edge support

Also updated grass to use it as a POC.

* Kindly revert

* Update for variant edges

* fixes

* Use fastnoise

* Remove redundant group

* a

* refactor a fair bit

* Prototype data instead

* tweaks

* a

* fix maths

* working

* a

* Slightly better empty support

* a

* flowers

* sounds

* lewd

* Networking

* more fixes

* better

* colours

* Some chunk loading

* Proper loading and unloading

* Better loading

* Fix parallax and movement sounds

* Anchoring support + decal setup

* Most of the way to load and unload

* Decal loading kinda werkin

* large trees

* started diffing

* a

* Variant support and deserts

* a

* snow

* agony, even

* working again

* todo

* a

* laba tiles

* aeiou

* a

# Conflicts:
#	Resources/Prototypes/Entities/Tiles/planet.yml
#	Resources/Prototypes/Tiles/planet.yml
#	Resources/Textures/Tiles/Planet/Lava/lava.rsi/meta.json

* laba

* Add lava

* Initial ignition

* triggers

* a

* a

* y

* Add basalt tiles

Did some unconventional things for the animation + rocks.

* fixies

* mergies

* promotion

* lava biome

* Lava planet start

* cleanup and more lava

* laba

* maccas

* biome stuf

* weh

* bongflicts

* aeaeae

* More fixes

* a

* these too
2023-02-12 02:15:09 +00:00
metalgearsloth b82622749d Fix maprenderer crash (#13692) 2023-01-25 21:08:05 -04:00
Leon Friedrich 8f352f87c2 Decal state handling (#12624) 2022-12-19 06:28:46 +11:00
metalgearsloth 3b3963083b Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
Pieter-Jan Briers acdc92d0ab Pull TFM on missing content projects from robust props files. (#12872) 2022-12-05 20:22:38 +01:00
metalgearsloth 6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
Pieter-Jan Briers bbca523756 Enable server GC by default on some relevant projects. (#12674) 2022-11-20 14:49:36 +11:00
Julian Giebel ac99f4dd5e Map renderer file name option (#12463)
* Add option for supplying map names instead of ids as argument

* Allow options to be used with the map selector
2022-11-08 08:03:34 -06:00
metalgearsloth c9a2ab1cee Remove transform methods from mapgrid (#12233) 2022-11-01 11:27:18 +11:00
Mervill 920fde469d QoL for the MapRenderer tool (#11921) 2022-10-15 00:10:53 +02:00
DrSmugleaf b62ee2b1b4 Add selecting maps to render when running MapRenderer, fix rendering multiple maps (#11783) 2022-10-09 16:36:18 +11:00
Julian Giebel 1390cd4019 Add webp and json generation options to the map renderer (#10367) 2022-08-13 22:50:03 -07:00
metalgearsloth a549a85e81 Update tiles to modern standards (#10436) 2022-08-10 17:05:40 +10:00
metalgearsloth dfec3a10a5 Update submodule to 0.38.1.0 again (#10481) 2022-08-10 16:37:43 +10:00
metalgearsloth 044e688ce8 Revert "Update submodule to 0.38.1.0 (#10473)" (#10479) 2022-08-10 15:33:53 +10:00
metalgearsloth 2aa08c7627 Update submodule to 0.38.1.0 (#10473) 2022-08-10 13:49:45 +10:00
Leon Friedrich ce24d16593 Remove more server sprite component uses (#9963) 2022-07-27 02:22:49 +10:00
Kara a480b2e2fd Guard against weird renderer bug (#9720) 2022-07-14 08:38:21 -07:00
wrexbe 1a30d42ae3 Change imagesharp on map renderer back to 1.0.4 (#9046) 2022-06-22 19:41:32 -07:00
wrexbe 81e3b2da88 Make tests faster (#8737)
* Test changes

* Make finding the test tile a little smarter
2022-06-19 20:22:28 -07:00
Leon Friedrich fa4c6f63f8 Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Acruidandmetalgearsloth 4f9be42f40 Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
wrexbe b01e605ee3 Nuget fix (#8742) 2022-06-09 19:38:08 -07:00
wrexbe 0fc8c0ef5e Update some nugets (#8738) 2022-06-09 18:25:59 -07:00
Pieter-Jan Briers cb4d5f3e59 More nullable component fixes (#8659) 2022-06-04 20:22:26 -07:00
wrexbe 5c132fdc9e Remove extra ; 2022-05-29 00:02:06 -07:00
wrexbe 5f94c8d57a Fix map rendering (#8514)
* Fix negative grids

* Map renderer: skip, and warn on empty grids.

* Fix local transform
2022-05-28 22:57:37 -07:00
metalgearsloth 58aae01ee3 Update for grid API changes (#8152) 2022-05-14 14:56:15 +10:00
wrexbe bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00