Merge pull request #7299 from dabingnn/fast_tmx

Fast tmx
fix windows compile and running error
initialize member variable
fix indent problems
Merge pull request #7311 from andyque/fixWindowsError

fix windows compile and running error