2729 Commits
Author SHA1 Message Date
WhatstoneandGitHub 7c7d1ae451 Cleanup: Warning resolution/suppression (#6721) 2026-07-16 19:43:54 +10:00
metalgearslothandGitHub 651e9034dd Cache grafana histograms (#6767) 2026-07-16 19:14:32 +10:00
metalgearslothandGitHub 17b66c574e Fix SetUniformDirect allocation spam (#6769) 2026-07-16 17:28:34 +10:00
B_KirillandGitHub 4e11a3892e Add API for loading OwnedTexture with texture parameters (#6794) 2026-07-15 11:00:18 +10:00
AJCM-gitandGitHub 07ddeaa8d6 File Dialog: Expose file name of the selected file (#6755)
* FileDialog cleanup and extra functionality

* this was for testing ooops

* stringing things along
2026-07-14 14:17:31 +10:00
eoineoineoinandGitHub b3daa0b794 Fix BaseWindow jittering on resize (#6788) 2026-07-14 12:59:12 +10:00
Princess CheeseballsandGitHub 1c84809e04 Make TableContainer virtual and public (#6753) 2026-07-12 13:50:47 -07:00
metalgearslothandGitHub 657e9bfb2d Reduce ImageSharp arraypool ballooning (#6768)
Dispose images as soon as practical so we don't balloon its arraypool as much.
2026-07-12 16:44:31 +10:00
PokandGitHub b0b1fa354a FovRenderTarget (#6781) 2026-07-11 07:13:05 +10:00
Whatstone 47572c2e52 make TableContainer virtual and public 2026-07-07 08:22:08 -04:00
metalgearslothandGitHub 83c5c8eaf2 Fix UserDataDir accepting relative game names (#6745) 2026-07-07 17:36:28 +10:00
metalgearslothandGitHub 622ecc6241 Fix command ordering (#6729) 2026-07-06 19:41:09 +10:00
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