Which file contains the code for where starting locations are chosen from?

I always seem to spawn within the center most (0 x and 0y) map chunk even though I’ve ventured far past. Where would I be able to see how the game decides what map chunk to pick a specific location (boarded house, hospital, mall, etc) the player spawns in at?

data/json/start_locations.json maps location names with location ids.
src/start_location.cpp has functions that find and prepare the starting location.

Thanks fam

Can’t find the src folder. Should I not be attempting this with experimental?

src is in the source distribution, it isn’t bundled with the .exe

Ninja’d

[The source is here: https://github.com/CleverRaven/Cataclysm-DDA]