예제 #1
0
파일: OTALKFRE.cpp 프로젝트: brianV/7kaa
//----- Begin of function TalkMsg::request_declare_war ------//
//
// talk_para1 - the recno of the nation to declare war with.
//
void TalkMsg::request_declare_war()
{
	//---------------------------------------------//
	//
	// Send:
	// <King>'s Kingdom requests that you declare war on <King B>'s Kingdom.
	// You request <King>'s Kingdom to declare war on <King B>'s Kingdom.
	//
	// Reply:
	// <King>'s Kingdom agrees/refuses to declare war on <King B>'s Kingdom.
	// You agree/refuse to declare war on <King B>'s Kingdom.
	//
	//---------------------------------------------//
	//
	// Envoyer:
	// Le Royaume de <King> demande que vous déclariez la guerre au
	// Royaume de <King B>.
	//
	// Vous demandez au Royaume de <King> de déclarer la guerre au
	// Royaume de <King B>.
	//
	// Répondre:
	// Le Royaume de <King> accepte/refuse de déclarer la guerre au
	// Royaume de <King B>.
	//
	// Vous acceptez/refusez de déclarer la guerre au Royaume de <King B>.
	//
	//---------------------------------------------//


	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Vous demandez au ";
			str +=  to_nation_name();
			str += " de";
		}
		else
		{
			str = "Le ";
			str += from_nation_name();
			str += " demande que vous";
		}

		str += " déclarer la guerre au ";
		str += nation_array[talk_para1]->nation_name();
		str += nation_color_code_str(talk_para1);
		str += ".";
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Le ";
			str += to_nation_name();

			if( reply_type == REPLY_ACCEPT )
				str += " accepte";
			else
				str += " refuse";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
				str = "Vous acceptez";
			else
				str = "Vous refusez";
		}

		str += " de déclarer la guerre au ";
		str += nation_array[talk_para1]->nation_name();
		str += nation_color_code_str(talk_para1);
		str += ".";
	}
}
예제 #2
0
파일: otalkger.cpp 프로젝트: 112212/7k2
//----- Begin of function TalkMsg::request_declare_war ------//
//
// talk_para1 - the recno of the nation to declare war with.
//
void TalkMsg::request_declare_war()
{
	//---------------------------------------------//
	//
	// Send:
	// <King>'s Kingdom requests that you declare war on <King B>'s Kingdom.
	// You request <King>'s Kingdom to declare war on <King B>'s Kingdom.
	//
	// Reply:
	// <King>'s Kingdom agrees/refuses to declare war on <King B>'s Kingdom.
	// You agree/refuse to declare war on <King B>'s Kingdom.
	//
	//---------------------------------------------//
	//
	// Senden:
	// <King>'s Königreich erbittet Ihre Kriegserklärung gegen <King B>'s Königreich.
	// Sie bitten <King>'s Königreich um Kriegserklärung gegen <King B>'s Königreich.
	//
	// Antwort:
	// <King>'s Königreich akzeptiert/verweigert Kriegserklärung gegen <King B>'s Königreich.
	// Sie akzeptieren/verweigern Kriegserklärung gegen <King B>'s Königreich.
	//
	//---------------------------------------------//

	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Sie bitten ";
			str +=  to_nation_name();
			str += " um";
		}
		else
		{
			str = from_nation_name();
			str += " erbittet Ihre";
		}

		str += " Kriegserklärung gegen ";
		if (nation_array.is_deleted(talk_para1))
		{
			str += "the destroyed ";
			str += nation_array.custom_nation_name_array[talk_para1];
		}
		else
		{
			str += nation_array.custom_nation_name_array[talk_para1];
				//nation_array[talk_para1]->nation_name();
			str += nation_color_code_str(talk_para1);
		}
		str += ".";
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str = to_nation_name();

			if( reply_type == REPLY_ACCEPT )
				str += " akzeptiert";
			else
				str += " verweigert";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
				str = "Sie akzeptieren";
			else
				str = "Sie verweigern";
		}

		str += " Kriegserklärung gegen ";
		if (nation_array.is_deleted(talk_para1))
		{
			str += "the destroyed ";
			str += nation_array.custom_nation_name_array[talk_para1];
		}
		else
		{
			str += nation_array.custom_nation_name_array[talk_para1];
				//nation_array[talk_para1]->nation_name();
			str += nation_color_code_str(talk_para1);
		}
		str += ".";
	}
}
예제 #3
0
파일: OTALKFRE.cpp 프로젝트: brianV/7kaa
//----- Begin of function TalkMsg::request_trade_embargo ------//
//
// talk_para1 - the nation to have a trade embargo on.
//
void TalkMsg::request_trade_embargo()
{
	//---------------------------------------------//
	//
	// Send:
	// <King>'s Kingdom requests you to join an embargo on trade with
	// <King B>'s Kingdom.
	//
	// You request <King>'s Kingdom to join an embargo on trade with
	// <King B>'s Kingdom.
	//
	// Reply:
	// <King>'s Kingdom agrees/refuses to join an embargo on trade
	// with <King B>'s Kingdom.
	//
	// You agree/refuse to join an embargo on trade with <King B>'s Kingdom
	// as requested by <King>'s Kingdom.
	//
	//---------------------------------------------//
	//
	// Envoyer:
	// Le Royaume de <King> demande que vous preniez part à un embargo 
	// commercial contre le Royaume de <King B>.
	//
	// Vous demandez au Royaume de <King> de prendre part à un embargo
	// commercial contre le Royaume de <King B>.
	//
	// Répondre:
	// Le Royaume de <King> accepte/refuse de prendre part à un embargo
	// commercial contre le Royaume de <King B>.
	//
	// Vous acceptez/refusez de prendre part à l'embargo commercial contre 
	// le Royaume de <King B>, organisé par le Royaume de <King>.
	//
	//---------------------------------------------//

	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Vous demandez au ";
			str += to_nation_name();
			str += " de prendre part";
		}
		else
		{
			str  = "Le ";
			str += from_nation_name();
			str += " demande que vous preniez part";
		}

		str += " à un embargo commercial contre le ";
		str += nation_array[talk_para1]->nation_name();
		str += nation_color_code_str(talk_para1);
		str += ".";
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Le ";
			str += to_nation_name();

			if( reply_type == REPLY_ACCEPT )
				str += " accepte";
			else
				str += " refuse";

			str += "  de prendre part à un embargo commercial contre le ";
			str += nation_array[talk_para1]->nation_name();
			str += nation_color_code_str(talk_para1);
			str += ".";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
				str = "Vous acceptez";
			else
				str = "Vous refusez";

			str += " de prendre part à l'embargo commercial contre le ";
			str += nation_array[talk_para1]->nation_name();
			str += nation_color_code_str(talk_para1);
			str += ", organisé par le ";
			str += from_nation_name();
			str += ".";
		}
	}
}
예제 #4
0
파일: otalkger.cpp 프로젝트: 112212/7k2
//----- Begin of function TalkMsg::request_trade_embargo ------//
//
// talk_para1 - the nation to have a trade embargo on.
//
void TalkMsg::request_trade_embargo()
{
	//---------------------------------------------//
	//
	// Send:
	// <King>'s Kingdom requests you to join an embargo on trade with
	// <King B>'s Kingdom.
	//
	// You request <King>'s Kingdom to join an embargo on trade with
	// <King B>'s Kingdom.
	//
	// Reply:
	// <King>'s Kingdom agrees/refuses to join an embargo on trade
	// with <King B>'s Kingdom.
	//
	// You agree/refuse to join an embargo on trade with <King B>'s Kingdom
	// as requested by <King>'s Kingdom.
	//
	//---------------------------------------------//
	//
	// Senden:
	// <King>'s Königreich bittet Sie, sich einem Handels-Embargo gegen
	// <King B>'s Königreich anzuschließen.
	//
	// Sie bitten <King>'s Königreich, sich einem Handels-Embargo gegen
	// <King B>'s Königreich anzuschließen.
	//
	// Antwort:
	// <King>'s Königreich akzeptiert/verweigert, sich dem Handels-Embargo gegen
	// <King B>'s Königreich anzuschließen.
	//
	// Sie akzeptieren/verweigern, sich dem Handels-Embargo gegen  <King B>'s 
	// Königreich anzuschließen, das von <King>'s Königreich erbeten wurde.
	//
	//---------------------------------------------//

	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Sie bitten ";
			str += to_nation_name();
		}
		else
		{
			str  = from_nation_name();
			str += " bittet Sie";
		}

		str += ", sich einem Handels-Embargo gegen ";
		if (nation_array.is_deleted(talk_para1))
		{
			str += "the destroyed ";
			str += nation_array.custom_nation_name_array[talk_para1];
		}
		else
		{
			str += nation_array.custom_nation_name_array[talk_para1];
				//nation_array[talk_para1]->nation_name();
			str += nation_color_code_str(talk_para1);
		}
		str += " anzuschließen.";
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str = to_nation_name();

			if( reply_type == REPLY_ACCEPT )
				str += " akzeptiert";
			else
				str += " verweigert";

			str += ", sich dem Handels-Embargo gegen ";
			if (nation_array.is_deleted(talk_para1))
			{
				str += "the destroyed ";
				str += nation_array.custom_nation_name_array[talk_para1];
			}
			else
			{
				str += nation_array.custom_nation_name_array[talk_para1];
					//nation_array[talk_para1]->nation_name();
				str += nation_color_code_str(talk_para1);
			}
			str += " anzuschließen.";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
				str = "Sie akzeptieren";
			else
				str = "Sie verweigern";

			str += ", sich dem Handels-Embargo gegen ";
			if (nation_array.is_deleted(talk_para1))
			{
				str += "the destroyed ";
				str += nation_array.custom_nation_name_array[talk_para1];
			}
			else
			{
				str += nation_array.custom_nation_name_array[talk_para1];
					//nation_array[talk_para1]->nation_name();
				str += nation_color_code_str(talk_para1);
			}
			str += " anzuschließen, das von ";
			str += from_nation_name();
			str += " erbeten wurde.";
		}
	}
}