Esempio n. 1
0
File: of_war.cpp Progetto: 7k2/7k2
//--------- Begin of function FirmWar::next_day ---------//
//
void FirmWar::next_day()
{
    //----- call next_day() of the base class -----//

    FirmWork::next_day();

    //--------- process building weapon -------//

    if( build_unit_id )
        process_build();
    else
        process_queue();
}
Esempio n. 2
0
//--------- Begin of function FirmHarbor::next_day ---------//
//
void FirmHarbor::next_day()
{
	//----- call next_day() of the base class -----//

	Firm::next_day();

	//------- process building -------//

	if( build_unit_id )
		process_build();
	else
		process_queue();

	//-*********** simulate ship movement ************-//
	//if(build_unit_id==0)
	//	build_ship(UNIT_CARAVEL, 0);
	//-*********** simulate ship movement ************-//
}