This is cool, maybe "target left arm" implies that it's your left, when targetting them and you're facing each other. So, their right arm.
I wish they would release MC1 source the way they did with MC2.
If you need a compact byte -> bit lookup table on x86, consider using the memory form of the bit test (BT) instruction.
Oh man this was my biggest pet peeve with mechcommander as a kid, thanks for fixing it!
Now let's see this working for Darkest Hours. ;)
(Assuming they didn't fix it themselves, it is a pretty big overhaul to MC1)
99% sure it should work fine for (Exodus and Turncoat), (X-Ray and DSC Raid), and (Xenocide and Bengal Lancers) since those are just custom campaigns.
Lovely stuff. Always a joy to see anything MechWarrior related end up here on HN.
I really need to put some of these techniques to the test with Metal Fatigue.
Great writeup! Vividly remember this being a thing especially in multiplayer. What was that janky match matching service, MSN something?
Also a really underrated game, the mechanics (line of sight over the horizon stuff) and isometric graphics were pretty cool for the time and it had a well developed story/campaign mode.