Commit Graph

25 Commits

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

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

* Dynamic file category handling
2025-05-18 17:14:53 +01:00
Nemanja af0c01c83c
map renderer fixes (#29523)
* map renderer fixes

* remove useless casts
2024-07-25 01:51:40 +02:00
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 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +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
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