I have recently purchased a Logitech G19 keyboard which has an LCD display built in. This LCD is often used in games to show useful status information. I would like to use my LCD screen to show me which weapons I have available in Hedgewars while it's not my turn. I'm always forgetting which weapons I have and there's no normal way to find out without opening the weapon menu during my turn.
I've downloaded the Logitech LCD SDK and read all of the info. I've created my new applet in C++ and I've got it to display "Hello world!" in the middle. Now I need to access the ammo variables in the game somehow to display them on the LCD. I have the latest SVN version of the source and I see that what I'm looking for may be in "uAmmos.pas" but it's Pascal and I don't know that language. I also don't know how to read another app's memory for the information.
Can anyone help me out? I'm using Visual Studio 2008 on Windows XP x64.