This is one of the Southern Gate Houses. They used to be part of the wall, and you would attack this gate first, then fight your way through a courtyard, and then attack another gate (I have a better picture in Xi'an).