Mount Fuji Engine  0.8b
MF_API int MFCommandLine_GetInt ( const char *  pParameter,
int  defaultValue = 0 
)

Gets a int argument from the command line.

Parameters
pParameterName of the parameter to fetch from the command line.
defaultValueDefault value to use if parameter does not appear on the command line.
Returns
The value of the parameter on the command line as an int. If the parameter does not exist, defaultValue is returned.