Hey -- sorry all, I have been busy.
@Afforess, I've attached what I've got to this thread; if you could take over from here, that would be awesome.
What still needs to be done
-- soft code / XML tags for the weights on various terrain and feature types (yes, you set up the groundwork for this, but I didn't quite understand how to get them integrated; spent some time trying to get this working and finally gave up)
-- some debugging with the rivers blocking culture spread; it seems to work sometimes, and then other times it just doesn't
-- consider tweaking the amount of culture a city puts down on a tile, as it's very difficult to hold a captured culture-level-established (or greater) city when revolutions are enabled
Anyway, the core algorithm is there, and the remaining tweaks should be relatively straightforward. I'm leaving this in the community's more than capable hands. I've had a bit of fun playtesting, but really haven't had a chance to program this in the last couple of weeks. The AI seems to do reasonably well with it, though it really should learn to use fixed borders to grab resources in its BFC before culture expands sufficiently.
Anyway, code attached. Anyone is free to use it with whatever mod they want; just give me a quick shoutout in the acknowledgments section
