Exemplo n.º 1
0
//------------------------------------------------------------------------------
//int getNumRevealedTiles(TeamTypes eIndex);
int CvLuaArea::lGetNumRevealedTiles(lua_State* L)
{
	CvArea* pkArea = GetInstance(L);
	const TeamTypes eIndex = (TeamTypes)lua_tointeger(L, 2);

	const int iResult = pkArea->getNumRevealedTiles(eIndex);
	lua_pushinteger(L, iResult);
	return 1;
}