Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Handling Refactor - For 4.2 #1343

Open
wants to merge 15 commits into
base: development
Choose a base branch
from

Conversation

marauder2k7
Copy link
Contributor

@marauder2k7 marauder2k7 commented Dec 27, 2024

All classes using image assets now go throught the image asset for the resource, before each class had a GFXTexHandle attached to them through the macros.

TypeImageAssetPtrRefactor replaces TypeImageAssetPtr and TypeImageAssetId for the script interfacing.

@todo:
NamedTarget support (either as its own asset or part of imageAsset)
CubemapData and PostEffect - these 2 classes seem to be the main reason the macros grew to the size they did.

@Azaezel Azaezel added the 4.2 label Dec 27, 2024
start of attempt 3
bitmap button popup ctrl ex
moved error printout in guiType guiControlProfile incLoadCount inside a check to make sure the profile has a bitmap asset set.

remove older typeImageAssetId from group and variable inspector classes
basicClouds refactored
null dereference fixes in guiMenuBar
changing the beast over to the refactor
@marauder2k7 marauder2k7 force-pushed the imageAsset_refactor_rev3 branch from 3a4f0eb to 2bf2da7 Compare January 23, 2025 22:17
@marauder2k7 marauder2k7 changed the title Image asset refactor - For 4.2 Asset Handling Refactor - For 4.2 Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants