Commit Graph
2717 Commits
Author SHA1 Message Date
f2625bf5c5 Removes IMapManager (#6584)
* Move MapManager queries to SharedMapSystem
Moves all variants of FindGridsIntersecting/TryFindGridAt to SharedMapSystem
Hollows out the MapManager methods and converts them into relays to SharedMapSystem

* Move CreateGrid to SharedMapSystem
Moves the functionality for CreateGrid and its variants to SharedMapSystem
Hollows out the MapManager methods and converts them into relays for the SharedMapSystem methods
Obsoletes them too
Also moves over the GetAllMapGrids and GetAllGrids methods

* Move RaiseOnTileChanged to SharedMapSystem
Also moves the SuppressOnTileChanged flag member to SharedMapSystem
Hollows out and obsoletes the MapManager versions

* Move default value constants to SharedMapSystem

* Converts map pausing events into LocalizedEntityCommands

* Move MapManager related delegates/structs to SharedMapSystem
Moves the GridCreationOptions struct to the same namespace as SharedMapSystem and converts it into a record struct
Move the GridCallback delegates to the same namespace as SharedMapSystem

* Move CullDeletionHistory to SharedMapSystem
Well, that was less painful than I thought it would be

* Actually obsolete the NetworkedMapManager method

* Rename file

* Doc comments for new SharedMapSystem methods

* Doc comment

* Doc comments

* Fix access

* Purge all references to IMapManagerInternal

* Cull easy IMapManager references

* The rest

* Purge IMapManager

* Private internal FindGridsIntersecting method

* please die

* 41

* notes

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-07-01 19:32:17 -07:00
metalgearslothandGitHub 792f795fbe Sourcegen eventsub fixes (#6702) 2026-07-01 14:07:41 +10:00
1322177e62 IEntitySystem Event Subscription Code Generation (#6227)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2026-07-01 13:30:23 +10:00
HaydenandGitHub e458c13e10 Basic Tracy support (#6686) 2026-07-01 12:55:04 +10:00
WhatstoneandGitHub dfe1d4ef8a Cleanup: ProtoMan Part 3 - remove redundant EntitySystem IPrototypeManager, IComponentFactory instances (#6693) 2026-06-30 17:12:55 +10:00
Jessica MandGitHub e128a7f695 Partially Revert "More Cursor Usage in Controls" (#6654)
revert button and scrollbar changes
2026-06-29 18:49:43 +10:00
TheShuEdandGitHub 7dbb2a2614 Clean up Player manager (#6566)
* file-scoping Player manager

* readonly playerManager

* Update PlayerManager.cs

* revert readonly
2026-06-28 14:31:06 +02:00
c3f80b99bd Change SpawnAtPoisition EntityCoordinates overload to use the rotation of the attached entity, and to allow a rotation override. (#6527)
* minor API addition

* better

* I forgor

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-06-28 20:56:10 +10:00
metalgearslothandGitHub 7fcf49ea61 Add audio device switching API (#6661) 2026-06-27 19:09:59 +10:00
metalgearslothandGitHub afd792c0b1 Merge branch 'master' into master-merge 2026-06-26 21:48:28 +10:00
metalgearslothandGitHub 03ef503285 Add batch drawing methods (#6655)
* Add batched drawing API

Internally Clyde batches drawing, however when drawing hundreds / thousands of the same quad the batch checks add up. This just omits those checks and directly draws instead. Same with skipping color modulation.

Long-term could probably figure out a way to SIMD the transforms better.

* RN
2026-06-26 21:45:32 +10:00
8862e8d632 Debug Console Autocompletes for Contains (#6418)
* Debug Console Autocompletes for Contains

Entering commands to console now filters for commands
containing, not just starting with, what you typed.

* RN

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2026-06-26 21:21:19 +10:00
slarticodefast dbaf8c4e8c Merge branch 'new_master' into master-merge 2026-06-26 00:53:09 +02:00
AidenandGitHub 31053007fb fix websocket no dispose (#6646)
fix pls
2026-06-24 01:25:21 +02:00
PJB3005 1a09f17dad Add HBox and VBox convenience types. 2026-06-20 03:42:07 +02:00
PJB3005 a4f4275572 Add IUserInterfaceManager.GetRootForMouse and Popup.OpenAtCursor 2026-06-20 00:21:09 +02:00
PJB3005 a1a03d9fa1 Allow specifying tooltip in cmdlink tag 2026-06-19 22:50:15 +02:00
metalgearsloth 3000a76322 Merge remote-tracking branch 'upstream/master' into 2026-06-07-sprite-sort 2026-06-19 19:33:07 +10:00
metalgearsloth af82ba744c Merge remote-tracking branch 'upstream/master' into 2026-05-20-window-fix 2026-06-19 19:24:15 +10:00
PJB3005 51cdfb6b7e Add "hidden" console commands 2026-06-18 10:39:35 +02:00
metalgearsloth 8e98d5479f Also this one 2026-06-11 19:49:58 +10:00
metalgearsloth 9d677d2277 Reduce per-frame allocs for openGL logs
Skip allocating entirely if we log-level not enabled. This is no.2 on debug allocations on client.
2026-06-11 18:55:43 +10:00
metalgearsloth 72ae628a5c Optimise sprite sorts
Quick and dirty but shaved off 10% on debug, would be less on release.
2026-06-07 00:00:18 +10:00
SamukaandGitHub 94c20cae28 Add scroll lock key (#6617)
* add scroll lock

* localization
2026-06-04 16:50:18 +02:00
metalgearslothandGitHub 5ff88372b2 Use AsSpan for audio resource signatures (#6613)
CA1832 and less IDE warning.
2026-06-03 18:02:04 +02:00
ThomasandGitHub a79c6bbc1d Add Track StyleProperty to ScrollBar (#6559)
Add track style property to ScrollBar

It makes it easier to see that there's a scrollbar if there's a backing
track, especially when the grabber is very small.
2026-05-26 16:25:14 +02:00
ThomasandGitHub 0a648ab619 More Cursor Usage in Controls (#6583)
* Add cursors for controls

Have TextEdot use NotAllowed instead of Arrow for Disabled

Make ScrollBar use {H,V}Resize

Make BaseButton use Pointer/NotAllowed instead of Arrow

Make ItemList use NotALlowed/Pointer/Arrow

Make MenuTopButton use Pointer

Make Slider use HResize

Fix SplitContainer not changing DefaultCursorShape if it changed
orientation

Make Tree use Pointer/Arrow

Make TabContainer use Pointer

* Fix ScrollBar

It needs to also change MouseMove because we don't have track
functionality yet and thus we only want to show interactivity when we're
directly hovering/grabbing the scrollbar.

* Address review
2026-05-25 18:14:44 +02:00
metalgearsloth f1af4bb3ba Merge remote-tracking branch 'upstream/master' into 2026-05-20-window-fix 2026-05-23 16:17:36 +10:00
metalgearsloth b7de935f3c Make windows keep relative position when game re-sizes
Previously they would keep absolute pixel position but sometimes it can be annoying, this just keeps them where you'd expect them to be.
2026-05-20 02:06:43 +10:00
ThomasandGitHub 0dc7da78cf Invalidate the measure of BoxContainer's SeparationOverride (#6572)
InvalidateMeasure of SeparationOverride in BoxContainer

It currently doesn't trigger a new measure/arrange, but it should.
2026-05-19 15:21:28 +02:00
ThomasandGitHub 00c1a9f9d2 Fix BoxContainer's SeparationOverride (#6570)
Fix BoxContainer's override property
2026-05-14 16:24:32 +02:00
ThomasandGitHub 2e5f20cfb2 Fix Overrides In WrapContainer (#6561)
Make {,Cross}SeparationOverride override StyleProperty

The doc comments say that Overide overrides the StyleProperty, but the
actual code makes it so that Seperationoverride is a fallback value.
2026-05-13 17:38:22 +02:00
83c2a1be11 [Dependency] source generator part 2 (#6550)
* [Dependency] source generator

No more reflection, no more codegen at runtime

Also various changes to Roslyn helpers to make this easier to write.

Requires all types with dependencies to be partial and not have readonly dependency fields. An analyzer enforces this at warning level, the previous injection strategies have remained in the code *for now* as a fallback.

No fallback is available for [field: Dependency] properties, due to a Roslyn bug.

Code Fixes exist. We love Roslyn

* Apply dependencies generator changes to all code

* Release notes

* Preprocessor got hands

* Handle nullable dependencies

These are bad but gotta deal with it.

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

* Fine, let's not use collection expressions

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-05-08 12:38:33 +02:00
B_KirillandGitHub bbf199757c Fix VRAM leak in MapChunk edge rendering (#6441)
* Fix VRAM leak in MapChunk edge rendering

* Remove CheckGlError because it is called in each of the deletion methods

* Revert "Remove CheckGlError because it is called in each of the deletion methods"

This reverts commit a48ffd71aa.
2026-05-08 11:57:50 +02:00
448d202a16 Add deterministic disposal for textures in IResourceCache (#6483)
* Add deterministic disposal for textures in IResourceCache

* Review

* Thanks PJB

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Review

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2026-05-08 11:43:32 +02:00
PJB3005 47a1e63999 Fix broken XML doc on IKeyBinding.GetKeyString() 2026-05-07 17:53:50 +02:00
TriviaSolariandGitHub eb0f03596c Allow hex colour input (#6485)
* Allow entering hex codes for colour selection

* Clarify comment

* Use method groups, fix alpha channel
2026-05-05 18:56:21 +02:00
MoonyandGitHub 90259ffda7 Fix a violation of measure invariants in ScrollContainer (#6494)
* Fix a violation of measure invariants in ScrollContainer

* Poke

* Fix ReturnMeasure-using UIs.
2026-05-05 12:49:39 +02:00
f95a16cf2e Always clean up render handle state after overlay draws (#6508)
* Always clean up render handle state after overlay draws

* i just forgot to commit that part i guess

---------

Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:44:42 +02:00
53e1ec24d5 HRTF support through openal-soft (#6511)
* HRTF support through openal-soft

* a

* more correct

---------

Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:41:35 +02:00
mastermiller01andGitHub a0809b6112 fix ScrollContainer nullable bool logic (#6484) 2026-03-26 14:31:49 -04:00
TayrtahnandGitHub d2792926e5 Remove [Virtual] attributes from abstract/sealed classes (#6482)
Removed [Virtual] attributes that shouldn't be there
2026-03-24 23:41:58 -04:00
JohnJohnandGitHub 74c993cb1d Fix scroll containers not working properly (#6471) 2026-03-23 20:19:04 +01:00
mastermiller01andGitHub 8404008c60 improve ClientGameStateManager error logs (#6452)
* improve ClientGameStateManager error logs

* make it even better
2026-03-15 16:42:12 -04:00
AmyandGitHub 63f1d3b4a5 Report error string on create cursor failure (#6455)
report error string on create cursor failure
2026-03-14 22:28:29 -04:00
886df674fe allow hiding scroll bars in the scrollbox (#6451)
* add hiding scroll bar

* 14 billion dollars on this never being used once

* comments

* yes because what could VScrollBarHidden possibly MEAN?????????????

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-03-13 18:01:23 +01:00
MoonyandGitHub 745e3906f3 Prevent UI update limits from causing test flaking. (#6443) 2026-03-12 14:02:39 +01:00
eoineoineoinandGitHub 5393cfab85 Avoid crashing client when reloading a shader with syntax errors (#6425) 2026-02-27 08:20:19 -05:00
TayrtahnandGitHub 9c4dd7a5e7 Add entity ProtoId to spawn panel tooltip (#6424)
* Add entity ProtoId to spawn panel tooltip

* Add backup message for entities with no description

* Release notes
2026-02-22 15:23:48 -05:00
PJB3005 5d6dbc18e3 Remove swnfd from ClientDllMap 2026-01-31 22:21:36 +01:00