*************************************************************
*                         CPP -> BIN                        *
*                         by Amalfi                         *
*                  [petr.skalsky@seznam.cz]                 *
*************************************************************

This utility converts OFP CPP files into BIN. I want to support
MOD makers and addon makers. This took me a long time, so I
would be glad if you gave me some credit.

There must be right syntax for correct conversion. It can convert all
classes, arrays and all types of properties.
It ignores comments in source only if its after // - double slash. Comments
closed in /* */ are wrong.
It's posibble to have comments only on separate line and at the end of line.
But beware to have comments after class header before left brace -it's wrong;
WRONG:
class CfgVehicles: Land  // vehicles
{

CORRECT:
class CfgVehicles: Land
{
  // vehicles

Another thing to beware of is to make many public constant definitons. Public
constant definition begins with #define clause followed with constant identifier
and integer value.
EXAMPLE
#define ManPosNoWeapon -1

Constants definition in OFP is only of integer type, nothing else. And what is
critical with these constants? They are public for all BIN files in OFP.
Than don't use the same constants names as someone other in his config bin. And try to
use constants defined in OFP without your own redefinition.

To beware, system constants redefinition there are all constants defined in OFP
at the end of this file.

If you will have some questions go to http://forum.ofp.info topic English - Addons

Version history:

1.2 - public build
1.1 - last dir used in open dialog is now correctly opened from ini file (useful for Win98 users)
1.0 - first build


OFP: Cold War Crisis

#define manposnoweapon	7
#define manactturnr	3
#define manactwalklf	12
#define manactwalkr	15
#define manactslowl	22
#define manactmedic	55
#define cpcommander	2
#define manactthrowgrenade	10
#define manactladderoff	59
#define destructengine	2
#define manactreloadmortar	9
#define manactslowrb	25
#define manactfastb	34
#define manactjumpoff	47
#define manactsitdown	50
#define manacttakeflag	66
#define manactn	67
#define destructdefault	6
#define manactreloadmgun	7
#define manactwalkf	11
#define manactwalkrf	13
#define manactslowlf	20
#define manactfastr	31
#define manactbinocoff	53
#define destructtree	3
#define destructtent	4
#define manposbinocstand	9
#define manactstop	0
#define manactladderofftop	60
#define manactgetouttank	65
#define manposdead	0
#define manposcombat	5
#define manactslowb	26
#define manactfastlb	32
#define manactweaponoff	45
#define manactstrokefist	48
#define manactladderondown	57
#define unitinfocar	2
#define manactslowrf	21
#define manactslowr	23
#define manactfastf	27
#define manactdefault	46
#define destructno	0
#define unitinfoship	3
#define unitinfohelicopter	5
#define cpcargo	3
#define manposbinoclying	2
#define manposstand	6
#define manactreloadat	8
#define unitinfosoldier	0
#define manposweapon	1
#define manactfastrb	33
#define manactturnl	2
#define manactwalkl	14
#define manactslowf	19
#define manactfastlf	28
#define manactcivil	40
#define manactladderoffbottom	61
#define manposlying	4
#define manactturnrrelaxed	5
#define manactstand	38
#define unitinfotank	1
#define manactreloadmagazine	6
#define manactwalklb	16
#define manactdown	35
#define manactcombat	39
#define manactcivillying	41
#define manactfirenotpossible	42
#define manactstrokegun	49
#define manactsalute	51
#define manactputdown	54
#define manposlyingnoweapon	3
#define manposbinoc	8
#define manactfastrf	29
#define manactfastl	30
#define manactup	36
#define manactdie	43
#define manacttreated	56
#define manactgetincar	62
#define manactgetoutcar	63
#define manactgetintank	64
#define destructman	5
#define unitinfoairplane	4
#define cpgunner	1
#define manactstoprelaxed	1
#define manactturnlrelaxed	4
#define manactlying	37
#define manactbinocon	52
#define cpdriver	0
#define manactwalkrb	17
#define manactwalkb	18
#define manactslowlb	24
#define manactweaponon	44
#define manactladderonup	58
#define destructbuilding	1

and from OFP: Resistance

#define manposnoweapon	11
#define manactturnr	3
#define manactwalklf	12
#define manactwalkr	15
#define manactslowl	22
#define manactmedic	56
#define cpcommander	2
#define manposhandgunstand	9
#define manactthrowgrenade	10
#define manactladderoff	60
#define destructengine	2
#define manposcrouch	6
#define manactreloadmortar	9
#define manactslowrb	25
#define manactfastb	34
#define manactjumpoff	48
#define manactsitdown	51
#define manacttakeflag	67
#define manactn	69
#define destructdefault	6
#define manactreloadmgun	7
#define manactwalkf	11
#define manactwalkrf	13
#define manactslowlf	20
#define manactfastr	31
#define manactbinocoff	54
#define destructtree	3
#define destructtent	4
#define manposhandgunlying	5
#define manposhandguncrouch	7
#define manposbinocstand	13
#define manactstop	0
#define manactladderofftop	61
#define manactgetouttank	66
#define manposdead	0
#define manposcombat	8
#define manactslowb	26
#define manactfastlb	32
#define manactweaponoff	46
#define manactstrokefist	49
#define manactladderondown	58
#define unitinfocar	2
#define manactslowrf	21
#define manactslowr	23
#define manactfastf	27
#define manactdefault	47
#define destructno	0
#define unitinfoship	3
#define unitinfohelicopter	5
#define cpcargo	3
#define manposbinoclying	2
#define manposstand	10
#define manactreloadat	8
#define unitinfosoldier	0
#define manposweapon	1
#define manactfastrb	33
#define manactcrouch	40
#define manacthandgunon	68
#define manactturnl	2
#define manactwalkl	14
#define manactslowf	19
#define manactfastlf	28
#define manactcivil	41
#define manactladderoffbottom	62
#define manposlying	4
#define manactturnrrelaxed	5
#define manactstand	38
#define unitinfotank	1
#define manactreloadmagazine	6
#define manactwalklb	16
#define manactdown	35
#define manactcombat	39
#define manactcivillying	42
#define manactfirenotpossible	43
#define manactstrokegun	50
#define manactsalute	52
#define manactputdown	55
#define manposlyingnoweapon	3
#define manposbinoc	12
#define manactfastrf	29
#define manactfastl	30
#define manactup	36
#define manactdie	44
#define manacttreated	57
#define manactgetincar	63
#define manactgetoutcar	64
#define manactgetintank	65
#define destructman	5
#define unitinfoairplane	4
#define cpgunner	1
#define manactstoprelaxed	1
#define manactturnlrelaxed	4
#define manactlying	37
#define manactbinocon	53
#define cpdriver	0
#define manactwalkrb	17
#define manactwalkb	18
#define manactslowlb	24
#define manactweaponon	45
#define manactladderonup	59
#define destructbuilding	1


