include "aiHeader.xs"; // Gets global vars, function forward declarations include "aiUtil.xs"; // Misc. shared AI utility functions include "aiEcon.xs"; // All of the AI's econ functionality include "aiMilitary.xs"; // All of the AI's military functionality include "aiNavy.xs"; // All of the AI's naval functionality include "aiEventHandlers.xs"; // Event handler methods for the AI include "aiMain.xs"; // The bulk of the AI void preInit(void) { aiEcho("preInit() starting."); cvOkToBuild = true; cvOKToDefend = false; cvOkToAttack = false; cvOkToExplore = false; cvOkToSelectMissions = false; cvGuardAlliedBases = false; cvOkToGatherFood = true; cvOkToGatherGold = true; cvOkToGatherWood = true; cvOkToGatherStone = true; btTargetAge1VilCount = 4; btTargetAge4VilCount = 6; } void postInit(void) { aiEcho("postInit() starting."); }