/** ** Change the diplomacy from ThisPlayer to another player. ** ** @param state To which state this should be changed. ** @param player Player number to change. */ local SCM CclDiplomacy(SCM state,SCM player) { return CclSetDiplomacy(gh_int2scm(ThisPlayer->Player),state,player); }
/** ** Change the diplomacy from ThisPlayer to another player. ** ** @param l Lua state. */ static int CclDiplomacy(lua_State *l) { lua_pushnumber(l, ThisPlayer->Index); lua_insert(l, 1); return CclSetDiplomacy(l); }