Skip to content

Commonizes IconSet functions#1020

Draft
tomsons26 wants to merge 1 commit into
TheAssemblyArmada:vanillafrom
tomsons26:ciconset
Draft

Commonizes IconSet functions#1020
tomsons26 wants to merge 1 commit into
TheAssemblyArmada:vanillafrom
tomsons26:ciconset

Conversation

@tomsons26
Copy link
Copy Markdown
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