Commit graph

49 commits

Author SHA1 Message Date
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
Pieter-Jan Briers
a6c9c36b68
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
2024-01-12 23:22:01 +01:00
metalgearsloth
88de2e8407
Fix MapPainter (#22290) 2023-12-10 22:19:26 +11:00
metalgearsloth
269c93245d
Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
DrSmugleaf
651dffba16
Fix map renderer (#21515) 2023-11-07 14:27:01 -08:00
metalgearsloth
5b8f3c48c4
Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth
9b1b3e03ed
Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon Friedrich
e685cb626b
Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
metalgearsloth
a2bbda43cc
Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich
7ba0ea2926
IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
DrSmugleaf
5c15f52703
Fix entities getting shuffled in the map renderer (#20100) 2023-09-13 00:12:35 -07:00
DrSmugleaf
4b13d0cbc2
Fix the map renderer not rendering entities (#20082) 2023-09-12 14:39:41 -07: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
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
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
metalgearsloth
6c76061887
Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
metalgearsloth
c9a2ab1cee
Remove transform methods from mapgrid (#12233) 2022-11-01 11:27:18 +11: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
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
Acruid
4f9be42f40
Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10: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
Moony
12b682ee4d
Tile variants content (#6956) 2022-03-09 20:59:44 +01:00
Moony
b73621587a
Map renderer now supports large sprites and rotations. (#6938) 2022-03-01 17:23:28 -07:00
mirrorcult
ec1e07c832
Map renderer decal painter (#6754)
* Map renderer decal painter

* not yet

* no conk dick
2022-02-23 10:23:39 -06:00
mirrorcult
ec4d4688c7
Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
DrSmugleaf
67eaa7bfe6 Fix MapRenderer crash when checking if an entity has an ISpriteComponent 2022-01-07 19:10:39 +01:00
Javier Guardia Fernández
c30c8020e8
Add a map renderer (#3613)
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-01-07 18:54:06 +01:00