Ticket #951: addpopMax.diff

File addpopMax.diff, 515 bytes (added by Jonathan Waller, 13 years ago)

Patch so AI can read Max Population

  • GuiInterface.js

     
    6060            "colour": cmpPlayer.GetColour(),
    6161            "popCount": cmpPlayer.GetPopulationCount(),
    6262            "popLimit": cmpPlayer.GetPopulationLimit(),
     63            "popMax": cmpPlayer.GetMaxPopulation(),
    6364            "resourceCounts": cmpPlayer.GetResourceCounts(),
    6465            "trainingQueueBlocked": cmpPlayer.IsTrainingQueueBlocked(),
    6566            "state": cmpPlayer.GetState(),