Another one of those troublesome SLIC problems. If you are looking at one of the screens in CTP2 like the diplomacy screen, how do you tell SLIC what civilization you have selected in the menu? (i.e. just highlighted, not highlighted and then cliked through to the next screen)
I've been trying this for cities selected in the National Manager with CitySelected and CityClicked with no luck. I am hoping someone (Locutus?) may have run across this problem while they were working on improving the diplomacy in the game.
Also, regarding the CityClicked function; when you click a city, is the city that you clicked assigned to the variable within the parenthesis:
city_t tmpCity
CityClicked(tmpCity) // The City selected through the GUI is now tmpCity
Or is it the reverse
GetCityByIndex(g.player, 3, tmpCity); //Assigns player's city 3 to tmpCity
CityClicked(tmpCity) // tells CTP2 that tmpCity is the CityClicked
??
I've been trying this for cities selected in the National Manager with CitySelected and CityClicked with no luck. I am hoping someone (Locutus?) may have run across this problem while they were working on improving the diplomacy in the game.
Also, regarding the CityClicked function; when you click a city, is the city that you clicked assigned to the variable within the parenthesis:
city_t tmpCity
CityClicked(tmpCity) // The City selected through the GUI is now tmpCity
Or is it the reverse
GetCityByIndex(g.player, 3, tmpCity); //Assigns player's city 3 to tmpCity
CityClicked(tmpCity) // tells CTP2 that tmpCity is the CityClicked
??
Comment