Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented Nov 1, 2025

Merge with Rebase

This change merges code in MapUtil and ImageCollection.

Generals gets

  • CPU optimization in ImageCollection by swapping linked list with map
  • Code for Max Brutal Image (RedYell_Star) in Singleplayer Map List
  • Non localized name lookup tag in MapCache

TODO

  • Add pull id to commits

@xezon xezon added this to the Code foundation build up milestone Nov 1, 2025
@xezon xezon added Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals Unify Unifies code between Generals and Zero Hour labels Nov 1, 2025
@xezon xezon force-pushed the xezon/unity-maputil branch from efbb271 to 2285ef0 Compare November 1, 2025 11:29
@xezon
Copy link
Author

xezon commented Nov 1, 2025

Fixed GUIEdit compile error.


#if RTS_ZEROHOUR
//Patch 1.03 -- Purposely filter out these broken maps that exist in Generals.
if( !asciiMapName.compare( "maps\\armored fury\\armored fury.map" ) ||

Choose a reason for hiding this comment

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

how broken are these? I would rather remove this part from ZH then exclude maps hardcoded.

Copy link
Author

Choose a reason for hiding this comment

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

I commented this out and tested in Zero Hour and both maps show in the list and do load successfully. I do not know why they were removed here. It is separate investigation. Maybe we can bring them back.

Copy link

@Skyaero42 Skyaero42 left a comment

Choose a reason for hiding this comment

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

This looks ok

@xezon xezon merged commit e7ee57b into TheSuperHackers:main Nov 1, 2025
18 checks passed
@xezon xezon deleted the xezon/unity-maputil branch November 1, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker Unify Unifies code between Generals and Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants