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

Commonizes IconSet functions #1020

Draft
wants to merge 1 commit into
base: vanilla
Choose a base branch
from

Conversation

tomsons26
Copy link
Contributor

This turned into a bit of a mess, don't like all those is CC checks or the various system specific magics...

Looking at IconsetClass that was in compat.h, maybe a better way is to create two classes with a singleton static instance, then on game init check a single tile, find out what type it is and use the appropriate class, not sure.

At any rate this still is better as there were unseen direct struct member accesses before.

@tomsons26 tomsons26 force-pushed the ciconset branch 6 times, most recently from fbecc6f to 6061077 Compare June 27, 2024 08:29
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

Successfully merging this pull request may close these issues.

1 participant