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

Drawable.ObjectDecalType not rendered #834

Open
charliefoxtwo opened this issue Feb 2, 2024 · 0 comments
Open

Drawable.ObjectDecalType not rendered #834

charliefoxtwo opened this issue Feb 2, 2024 · 0 comments

Comments

@charliefoxtwo
Copy link
Contributor

The China horde logic is in for Generals, which normally has an accompanying image drawn underneath all affected units. this is set in Drawable.cs, and just needs to be, well... drawn.

public ObjectDecalType ObjectDecalType;

It appears similar to RadiusCursorDecals, only that class can only handle 512x512 images, and these decals are 128x128.

// TODO: Support non-512px texture sizes.
private const uint TextureSize = 512;

Desired outcome:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant