Glad I could help! (Actually, thank the kind Mr. Pete Fraser who posted that on the
borland.public.cppbuilder.non-technical google group
- here's the link to the list of groups in
borland . public . cppbuilder - might come in handy for stuff like this...
)
Re hex ranges: I was thinking of a format where you could just loop through the hex editing function by passing it a list of hexes and parameters to edit, give the option for a single hex , range or list. I was thinking it would be good to be able to pass it input strings like:
list:
h0,0;h2,4;h5,8;h20,10;h16,22:EN=Klingon;CN=Neutral;PN=None;BN=None;ME=50;CE=50;EMDV=20;CMDV=20;ECDV=10;CCDV=10
or a range:
hr0,0-10,10:EN=Klingon;CN=Neutral;PN=None;BN=None;ME=50;CE=50;EMDV=20;CMDV=20;ECDV=10;CCDV=10
or maybe even a combo:
h0,0;h3,4;hr10,10-20,20;h25,25:EN=Klingon
...where only the hex properties specified are edited such that you could reset the whole map's economy to one value without disturbing the other properties, for example:
hr0,0-39,29:ME=20;CE=20
or DV:
hr0,0-39,29:EMDV=20;CMDV=20;ECDV=10;CCDV=10
So you can gang-bang edit hexes... this would be thinking forward to a gui with input textboxes for the list/range and dropdowns and textboxes for the properties... to generate the input string for the looping hex editing function.
Don't know it that's easily doable (or makes sense or is user friendly) with your setup but I was thinking it might be nice.
Did you dump the VCL dependency for this console version? I expect it would decrease the size of the exe considerably as vcl50.bpl is the largest of those three libraries at 1.92 MB. (edit: oh, I just downloaded it and the exe is only 219 KB... so its probably not worth the trouble...or borland is smart enough to only link in the dependency functions actually used...)
I'll put together my take on the tensions (and preceeding db portions) for you later today so you'll have it for the weekend if you get a chance to work on this some more.