Skip to content

More asset types for the "Find all references" feature (and more).#2179

Open
VladiStep wants to merge 14 commits intoUnderminersTeam:masterfrom
VladiStep:moreGameObjReferences
Open

More asset types for the "Find all references" feature (and more).#2179
VladiStep wants to merge 14 commits intoUnderminersTeam:masterfrom
VladiStep:moreGameObjReferences

Conversation

@VladiStep
Copy link
Member

@VladiStep VladiStep commented Jun 28, 2025

Description

  1. Added the "Find all references" feature support for the following types:
    - Fonts (in texture groups).

  2. Improved the feature support for the following types:
    - Game objects - added new "Game objects (children)" type; added UndertaleGameObject.FindChildren() method.
    - Code - added new "Room object instances" types (creation and/or pre-create code); renamed "Room object instances".

  3. Added new IList<>.SkipNullItems() extension (e.g. for asset lists).

  4. Improved null asset filtering in the "Find all references" code.

  5. Added the ability to pre-select the referenceable types and search for the asset references programmatically - ShowReferencesFor() method.

  6. Added "Show children game objects" button to the game object editor.

  7. The internal arguments variable is not shown in "Unreferenced assets" - fixes Add an option to hide the "arguments" from "Find unreferences assets". #2148.

  8. Removed that big old commented chunk of code from "UndertaleGameObjectEditor.xaml".

  9. Added GameVersion record type.

  10. The "Find unreferenced assets" feature now shows only supported types, fixes The particle systems types are visible for GMS 1.0.0.1539. #1957.

  11. GM LTS 2022.0 is treated as GM 2022.0.

image

Closes #2160.

Notes

I've already made a similar PR, but it's outdated because I also wanted to add a basic references in code support, but I didn't finish that, and recently, there were a lot of decompiler changes ("Underanalyzer").

… for "Find all references", add `UndertaleGameObject.FindChildren()`.
@github-actions
Copy link

github-actions bot commented Jun 28, 2025

@VladiStep VladiStep force-pushed the moreGameObjReferences branch from f46f18b to a776596 Compare June 30, 2025 16:58
@VladiStep VladiStep changed the title More asset types for the "Find all references" feature. More asset types for the "Find all references" feature (and more). Jun 30, 2025
…d more:

1) When there is a results window for the asset, it will be replaced when you search its references the second time.
2) Added `ShowReferencesFor()` method when you need to pre-select the types and start searching programmatically.
@VladiStep VladiStep marked this pull request as ready for review June 30, 2025 23:38
@VladiStep
Copy link
Member Author

VladiStep commented Jun 30, 2025

Hm, one check failed due to some upload error.
image

@VladiStep
Copy link
Member Author

I just made a minor change to re-run the checks.

@VladiStep VladiStep force-pushed the moreGameObjReferences branch from 2e73fef to 804091d Compare September 7, 2025 00:48
@colinator27 colinator27 added this to the Possible for 0.9.x milestone Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants