Exemple #1
0
CNrpHUDConfig::CNrpHUDConfig() : INrpConfig(CLASS_HUDCONFIG, CLASS_HUDCONFIG)
{		
	RegProperty( FONT_SIMPLE, NrpText("") );
	RegProperty( FONT_TOOLTIP, NrpText("") );

	Load( L"config/hud.ini" );
}
Exemple #2
0
CNrpRetailer::CNrpRetailer(const NrpText& name) : INrpProject( CLASS_NRPRETAILER, "" )
{
	RegProperty<NrpText>( NAME, name );
	RegProperty<float>( FAMOUS, 0 );
	RegProperty( STARTDATE, NrpTime( 0. ) );
	RegProperty( ENDDATE, NrpTime( 0. ) );
}
Exemple #3
0
void CNrpLoan::_InitOptions()
{
	RegProperty<NrpText>( COMPANYNAME, "" );
	RegProperty( YEARPERCENT, 0.f );
	RegProperty( STARTDATE, NrpTime( 0. ) );
	RegProperty( ENDDATE, NrpTime( 0. ) );
	RegProperty( MONEY, 0 );
	RegProperty( STARTMONEY, 0 );
	RegProperty( MONEYPAY, 0 );
	RegProperty( CLOSESHTRAF, 0 );
	RegProperty( LOANTYPE, (int)TL_FREEMONEY );
	RegProperty( ID, 0 );
	RegProperty( MONTHLEFT, 0 );
}
Exemple #4
0
CNrpLaborMarket::CNrpLaborMarket(void) : INrpConfig( CLASS_NRPLABORMARKET, CLASS_NRPLABORMARKET )
{
	RegProperty( USERNUMBER, (int)0 );
}