Also, if I can't find another solution, I will create a separate version specifically for single-core systems (I will revert to higher CPU load), as single-core systems experience slowdowns when scrolling the map.
The abbreviations TE and HB are associated with the heroes.by resource by most of the Heroes community. Maybe it's worth slightly changing the logo? Maybe replace HB with HB1 or HW?
Added 18 hours and 43 minutes later
Fixed version 1.03
http://alexspl.narod.ru/H1TE.zip
1. Fixed a bug in the tournament version that caused incorrect calculation of the remaining troops if there were empty slots at the beginning or between troops in the hero's army before the battle.
I also fixed a couple of bugs in the original game:
2. Fixed a bug that caused the number of remaining neutral creatures to be calculated incorrectly in the event of a hero's retreat or defeat.
3. Fixed a bug with the incorrect calculation of the remaining troops if the hero has identical troops (e.g., added in the map editor).
Since slowdowns are observed when scrolling the map and moving the mouse while the hero is moving on single-core processors, I have created a version without reducing the CPU load. Later, if I can find a solution to this problem, I will create a single version; for now, download this one.
http://alexspl.narod.ru/H1TE_single_core.zip