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

Add method for sprite visibility test #2783

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Alberth289346
Copy link
Contributor

Create separate method for testing if a sprite is visible at all.

Addresses #2779

@Alberth289346 Alberth289346 self-assigned this Feb 23, 2025
@Alberth289346
Copy link
Contributor Author

Actually, addresses #2744

@@ -562,6 +562,13 @@ class sprite_sheet {
*/
bool get_sprite_average_colour(size_t iSprite, argb_colour* pColour) const;

//! Return whether the given sprite show any pixel when displayed.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//! Return whether the given sprite show any pixel when displayed.
//! Return whether the given sprite shows any pixel when displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants