Inightshade
Chieftain
So somewhere Civ calculates what you (the active player) can visibly see.
However, I do not seem to be able to find it. I've prowled a lot of the source (most through search's for 'Visible' and 'Reveal' as these are tied) but have either glanced over it or are searching for the wrong thing/wrong place.
I've also looked a little at the games (non source) lua, but most of this is UI and Map scripts, and haven't turned up the stone I'm searching for.
I'ma keep looking, but if someone knows it'd help cut out at least the mass of time that seems to be required!
--Note: I'm searching for this to discern how city sight is calculated and see if it's reasonable to increase the city sight as a trait. (presumably by adding to the traits table, though if it's in the lua this would be much easier. Here's to hoping.)
--pss: I've found a section of the source that is lCanSeePlot, and it contains a eFacingDirection, I don't think I've ever noticed something that would use this...
However, I do not seem to be able to find it. I've prowled a lot of the source (most through search's for 'Visible' and 'Reveal' as these are tied) but have either glanced over it or are searching for the wrong thing/wrong place.
I've also looked a little at the games (non source) lua, but most of this is UI and Map scripts, and haven't turned up the stone I'm searching for.
I'ma keep looking, but if someone knows it'd help cut out at least the mass of time that seems to be required!
--Note: I'm searching for this to discern how city sight is calculated and see if it's reasonable to increase the city sight as a trait. (presumably by adding to the traits table, though if it's in the lua this would be much easier. Here's to hoping.)
--pss: I've found a section of the source that is lCanSeePlot, and it contains a eFacingDirection, I don't think I've ever noticed something that would use this...