Ejemplo n.º 1
0
/**
**	Change the shared vision from ThisPlayer to another player.
**
**	@param state	To which state this should be changed.
**	@param player	Player number to change.
*/
local SCM CclSharedVision(SCM state,SCM player)
{
    return CclSetSharedVision(gh_int2scm(ThisPlayer->Player),state,player);
}
Ejemplo n.º 2
0
/**
**  Change the shared vision from ThisPlayer to another player.
**
**  @param l  Lua state.
*/
static int CclSharedVision(lua_State *l)
{
	lua_pushnumber(l, ThisPlayer->Index);
	lua_insert(l, 1);
	return CclSetSharedVision(l);
}