Commit Graph

25 Commits

Author SHA1 Message Date
Vlad
d9542ae700 Map renderer rework (#37306)
* Update TilePainter.cs

* Add support for custom offsets, grid files, and markers

* Dynamic file category handling
2025-05-12 00:06:09 +10:00
Nemanja
c7fcbe8c16 map renderer fixes (#29523)
* map renderer fixes

* remove useless casts
2024-06-28 10:09:05 +10: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
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
TemporalOroboros
7cdc7ab972 Fix warnings in MapRenderer module (#17865) 2023-08-08 11:07:08 +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
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
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
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
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