예제 #1
0
파일: of_war.cpp 프로젝트: 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();
}
예제 #2
0
파일: OF_HARB.cpp 프로젝트: Stummi/7kaa
//--------- 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 ************-//
}