/dports/games/7kaa/7kaa-2.15.4p1/include/ |
H A D | OTALKRES.h | 171 …int ai_send_talk_msg(int toNationRecno, int fromNationRecno, int talkId, int talkPara1=0, int … 175 int can_send_msg(int toNationRecno, int fromNationRecno, int talkId); 176 int can_send_any_msg(int toNationRecno, int fromNationRecno); 182 int wait_msg_count(int toNationRecno, int fromNationRecno);
|
H A D | ONATIONB.h | 410 void give_tribute(int toNationRecno, int tributeAmt); 411 void give_tech(int toNationRecno, int techId, int techVersion); 426 void surrender(int toNationRecno);
|
H A D | ONEWS.h | 229 void nation_surrender(int nationRecno, int toNationRecno); 236 void town_surrendered(int townRecno, int toNationRecno);
|
H A D | OTOWN.h | 263 void surrender(int toNationRecno); 359 int independent_unit_join_nation(int raceId, int toNationRecno);
|
H A D | OSPY.h | 157 …id change_cloaked_nation(int spyPlace, int spyPlacePara, int fromNationRecno, int toNationRecno);
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OTALKRES.cpp | 94 void TalkRes::init_conversion(int toNationRecno) in init_conversion() argument 99 cur_talk_msg.to_nation_recno = toNationRecno; in init_conversion() 503 int TalkRes::can_send_any_msg(int toNationRecno, int fromNationRecno) in can_send_any_msg() argument 515 int TalkRes::can_send_msg(int toNationRecno, int fromNationRecno, int talkId) in can_send_msg() argument 518 Nation* toNation = nation_array[toNationRecno]; in can_send_msg() 520 NationRelation *nationRelation = fromNation->get_relation(toNationRecno); in can_send_msg() 648 if( !fromNation->should_diplomacy_retry(talkId, toNationRecno) ) in ai_send_talk_msg() 689 fromNation->get_relation(toNationRecno)-> in ai_send_talk_msg() 699 talkMsg.to_nation_recno = toNationRecno; in ai_send_talk_msg() 1272 int TalkRes::wait_msg_count(int toNationRecno, int fromNationRecno) in wait_msg_count() argument [all …]
|
H A D | OSPYA.cpp | 435 …rray::change_cloaked_nation(int spyPlace, int spyPlacePara, int fromNationRecno, int toNationRecno) in change_cloaked_nation() argument 461 spyPtr->true_nation_recno==toNationRecno) in change_cloaked_nation() 472 unit_array[firmOverseerRecno]->spy_change_nation(toNationRecno, COMMAND_AUTO); in change_cloaked_nation() 478 unit_array[spyPtr->spy_place_para]->spy_change_nation(toNationRecno, COMMAND_AUTO); in change_cloaked_nation() 484 spyPtr->cloaked_nation_recno = toNationRecno; in change_cloaked_nation()
|
H A D | ONATIONB.cpp | 1752 void NationBase::surrender(int toNationRecno) in surrender() argument 1754 news_array.nation_surrender(nation_recno, toNationRecno); in surrender() 1767 game.game_end(0, 1, toNationRecno); in surrender() 1771 hand_over_to(toNationRecno); in surrender() 1957 void NationBase::give_tribute(int toNationRecno, int tributeAmt) in give_tribute() argument 1959 Nation* toNation = nation_array[toNationRecno]; in give_tribute() 1965 NationRelation* nationRelation = get_relation(toNationRecno); in give_tribute() 1997 Nation* toNation = nation_array[toNationRecno]; in give_tech() 1999 int curVersion = tech_res[techId]->get_nation_tech_level(toNationRecno); in give_tech() 2002 tech_res[techId]->set_nation_tech_level( toNationRecno, techVersion ); in give_tech() [all …]
|
H A D | OTOWNIND.cpp | 383 int Town::independent_unit_join_nation(int raceId, int toNationRecno) in independent_unit_join_nation() argument 445 if( !unitPtr->betray(toNationRecno) ) in independent_unit_join_nation() 454 nation_array[toNationRecno]->last_independent_unit_join_date = info.game_date; in independent_unit_join_nation()
|
H A D | ONEWS2.cpp | 186 void NewsArray::nation_surrender(int nationRecno, int toNationRecno) in nation_surrender() argument 188 add_news( NEWS_NATION_SURRENDER, NEWS_NORMAL, nationRecno, toNationRecno ); in nation_surrender() 405 void NewsArray::town_surrendered(int townRecno, int toNationRecno) in town_surrendered() argument 410 toNationRecno != nation_array.player_recno ); in town_surrendered() 412 …News* newsPtr = add_news( NEWS_TOWN_SURRENDERED, NEWS_NORMAL, toNationRecno, townPtr->nation_recno… in town_surrendered()
|
H A D | OTOWN.cpp | 1798 void Town::surrender(int toNationRecno) in surrender() argument 1800 err_when( !toNationRecno ); in surrender() 1815 toNationRecno == nation_array.player_recno ) in surrender() 1817 news_array.town_surrendered(town_recno, toNationRecno); in surrender() 1820 if( toNationRecno == nation_array.player_recno ) in surrender() 1827 set_nation( toNationRecno ); in surrender()
|
H A D | OREMOTEM.cpp | 2842 int toNationRecno = shortPtr[0]; in chat() local 2850 if( toNationRecno == nation_array.player_recno || in chat() 2851 (toNationRecno == 0 && fromNationRecno != nation_array.player_recno) || in chat() 2852 (toNationRecno == -1 && !nation_array.is_deleted(fromNationRecno) && in chat()
|