10.04.2008, 22:46:34
Alright, the first feature of Ares (aka RockPatch2) is done...
but it's no big deal.
I'm talking of the -NOLOGO command line argument, I just used it to try out command line argument parsing via DLLs, and it works fine.
Heck, there's progress!
I finished the AircraftType/BuildingType/InfantryType and UnitType handlers and also introduces mouse event handling.
This is where it gets really funny.
DLLs can react on any mouse event on the battlefield, ie mouse movement, clicking, etc, in realtime.
A funny little test of this was spawning an AMCV everywhere you clicked:
http://rp2.strategy-x.com/mouse_input_handling.jpg
(source code: http://rp2.strategy-x.com/mouse_input_handling.txt )
What can this be used for other than for fun?
The first idea that popped into my head on this was unit context menus.
With primitive and SHP drawing support and now mouse event handling, this belongs to the "possible" section...
but it's no big deal.

I'm talking of the -NOLOGO command line argument, I just used it to try out command line argument parsing via DLLs, and it works fine.

Heck, there's progress!
I finished the AircraftType/BuildingType/InfantryType and UnitType handlers and also introduces mouse event handling.
This is where it gets really funny.
DLLs can react on any mouse event on the battlefield, ie mouse movement, clicking, etc, in realtime.
A funny little test of this was spawning an AMCV everywhere you clicked:
http://rp2.strategy-x.com/mouse_input_handling.jpg
(source code: http://rp2.strategy-x.com/mouse_input_handling.txt )
What can this be used for other than for fun?
The first idea that popped into my head on this was unit context menus.

With primitive and SHP drawing support and now mouse event handling, this belongs to the "possible" section...