CyGame
bool isNone ()
CyGame* () - is the instance valid?
void updateScore (bool bForce)
void (bool bForce)
void cycleCities (bool bForward, bool bAdd)
void (bool bForward, bool bAdd)
void cycleSelectionGroups (bool bClear, bool bForward, bool bWorker)
void (bool bClear, bool bForward, bool bWorkers)
bool cyclePlotUnits (CyPlot pPlot, bool bForward, bool bAuto, int iCount)
bool (CyPlot* pPlot, bool bForward, bool bAuto, int iCount)
void selectionListMove (CyPlot pPlot, bool bAlt, bool bShift, bool bCtrl)
void (CyPlot* pPlot, bool bAlt, bool bShift, bool bCtrl)
void selectionListGameNetMessage (int eMessage, int iData2, int iData3, int iData4, int iFlags, bool bAlt, bool bShift)
void (int eMessage, int iData2, int iData3, int iData4, int iFlags, bool bAlt, bool bShift)
void selectedCitiesGameNetMessage (int eMessage, int iData2, int iData3, int iData4, bool bOption, bool bAlt, bool bShift, bool bCtrl)
void (int eMessage, int iData2, int iData3, int iData4, bool bOption, bool bAlt, bool bShift, bool bCtrl)
void cityPushOrder (CyCity pCity, OrderTypes eOrder, int iData, bool bAlt, bool bShift, bool bCtrl)
void (CyCity* pCity, OrderTypes eOrder, int iData, bool bAlt, bool bShift, bool bCtrl)
int getSymbolID (int iSymbol)
int (int iSymbol)
int getProductionPerPopulation (HurryType eHurry)
int (int /*HurryTypes*/ eHurry)
int getAdjustedPopulationPercent (int eVictory)
int (int eVictory)
int getAdjustedLandPercent (int eVictory)
int (int eVictory)
bool isTeamVote (int eVote)
bool (int eVote)
bool isChooseElection (int eVote)
bool (int eVote)
bool isTeamVoteEligible (int eTeam, int eVoteSource)
bool (int eTeam, int eVoteSource)
int countPossibleVote (int eVote, int eVoteSource)
int (int eVote, int eVoteSource)
int getVoteRequired (int eVote, int eVoteSource)
int (int eVote, int eVoteSource)
int getSecretaryGeneral (int eVoteSource)
int (int eVoteSource)
bool canHaveSecretaryGeneral (int eVoteSource) BtS Only
bool (int eVoteSource)
int getVoteSourceReligion (VoteSourceType eVoteSource) BtS Only
int (int /*VoteSourceTypes*/ eVoteSource)
void setVoteSourceReligion (VoteSourceType eVoteSource, ReligionType eReligion, bool bAnnounce) BtS Only
void (int /*VoteSourceTypes*/ eVoteSource, int /*ReligionTypes*/ eReligion, bool bAnnounce)
int countCivPlayersAlive ()
int ()
int countCivPlayersEverAlive ()
int ()
int countCivTeamsAlive ()
int ()
int countCivTeamsEverAlive ()
int ()
int countHumanPlayersAlive ()
int ()
int countHumanPlayersEverAlive ()
int ()
int countTotalCivPower ()
int ()
int countTotalNukeUnits ()
int ()
int countKnownTechNumTeams (int eTech)
int (int eTech)
int getNumFreeBonuses (int eBonu)
int (int eBonus)
int countReligionLevels (int eReligion)
int (int eReligion)
int calculateReligionPercent (int eReligion)
int (int eReligion)
int countCorporationLevels (int eCorporation) BtS Only
int (int eCorporation)
int goldenAgeLength ()
int ()
int victoryDelay (VictoryType eVictory) BtS Only
int (int /*VictoryTypes*/ eVictory)
int getImprovementUpgradeTime (ImprovementType eImprovement)
int (int /*ImprovementTypes*/ eImprovement)
bool canTrainNukes ()
bool ()
EratTypes getCurrentEra ()
int /*EratTypes*/ ()
int getActiveTeam ()
int () - returns ID for the group
int getActiveCivilizationType ()
int () - returns CivilizationID" )
bool isNetworkMultiPlayer ()
bool () - NetworkMultiplayer()?)
bool isGameMultiPlayer ()
bool () - GameMultiplayer()?)
bool isTeamGame ()
bool ()
int getNumHumanPlayers ()
int () - # of human players in-game
bool isModem ()
bool () - Using a modem?)
void setModem (bool bModem)
void (bool bModem) - Use a modem! (or don't)
void reviveActivePlayer ()
void ()
int getGameTurn ()
int () - current game turn
void setGameTurn (int iNewValue)
void (iNewValue) - set current game turn
int getTurnYear (int iGameTurn)
int (iGameTurn) - turn Time
int getElapsedGameTurns ()
int () - Elapsed turns thus far
int getStartTurn ()
int () - Returns the starting Turn (0 unless a scenario or advanced era start)
int getStartYear ()
int () - Returns the starting year (e.g. -4000)
void setStartYear (int iNewValue )
void () - Sets the starting year (e.g. -4000)
int getMinutesPlayed ()
Returns the number of minutes since the game began
int getNumCities ()
int () - total cities in Game
int getNumCivCities ()
int () - total non-barbarian cities in Game
int getTotalPopulation ()
int () - total game population
bool isScoreDirty ()
bool ()
bool isCircumnavigated ()
bool () - is the globe circumnavigated?
bool isDiploVote (VoteSourceType eVoteSource)
bool (VoteSourceTypes)
void changeDiploVote (VoteSourceTypes eVoteSource, int iChange) BtS Only
void (VoteSourceTypes, int)
bool isDebugMode ()
bool () - is the game in Debug Mode?
int getPitbossTurnTime ()
int ()
void setPitbossTurnTime (int iHours) BtS Only
void (int)
bool isHotSeat ()
bool ()
bool isPbem ()
bool ()
bool isPitboss ()
bool ()
bool isSimultaneousTeamTurns () BtS Only
bool ()
bool isFinalInitialized ()
bool () - Returns whether or not the game initialization process has ended (game has started)
PlayerTypes getActivePlayer ()
returns index of the active player
void setActivePlayer (PlayerType eNewValue, bool bForceHotSeat)
void (int /*PlayerTypes*/ eNewValue, bool bForceHotSeat)
int getPausePlayer ()
int () - will get who paused us
bool isPaused ()
bool () - will say if the game is paused
UnitType getBestLandUnit ()
returns index of the best unit
int getBestLandUnitCombat ()
int ()
HandicapType getHandicapType ()
HandicapType () - difficulty level settings
CalendarType getCalendar ()
CalendarType ()
bool isOption (GameOptionType eIndex)
bool (eIndex) - returns whether Game Option is valid
void setOption (GameOptionIndex eIndex, bool bEnabled)
void (GameOptionIndex, bEnabled) - sets a Game Option
bool isMPOption (MultiplayerOptionType eIndex)
bool (eIndex) - returns whether MP Option is valid
bool isForcedControl (ForceControlType eIndex)
bool (eIndex) - returns whether Control should be forced
int getUnitCreatedCount (UnitType eIndex)
int (eIndex) - returns number of this unit type created (?)
int getUnitClassCreatedCount (UnitClassType eIndex)
int (eIndex) - returns number of this unit class type created (?)
bool isUnitClassMaxedOut (UnitClassType eIndex, int iExtra)
bool (eIndex, iExtra) - returns whether or not this unit class is maxed out (e.g. spies)
int getBuildingClassCreatedCount (BuildingClassType eIndex)
int (BuildingClassType) - building Class count
bool isBuildingClassMaxedOut (BuildingClassType eIndex)
bool (BuildingClassType) - max # reached?
int getProjectCreatedCount (ProjectTypes eIndex)
int (ProjectTypes eIndex)
bool isProjectMaxedOut (ProjectTypes eIndex)
bool (ProjectTypes eIndex)
int getForceCivicCount (CivicTypes eIndex)
int (CivicTypes eIndex)
bool isForceCivic (CivicTypes eIndex)
bool (CivicTypes eIndex)
bool isForceCivicOption (CivicOptionTypes eCivicOption)
bool (CivicOptionTypes eCivicOption)
int getVoteOutcome (VoteTypes eIndex)
int (VoteTypes eIndex)
bool isReligionFounded (ReligionID eIndex)
bool (ReligionID) - is religion founded?
bool isReligionSlotTaken (ReligionID eIndex) BtS Only
bool (ReligionID) - is religion in that tech slot founded?
bool isCorporationFounded (CorporationID eIndex) BtS Only
bool (CorporationID) - is corporation founded?
bool isNukesValid () BtS Only
bool
void makeNukesValid (bool bValid) BtS Only
void (bool bValid)
bool isInAdvancedStart () BtS Only
bool
CyCity getHolyCity ()
CyCity getHolyCity()
void setHolyCity (int eIndex, CyCity pNewValue, bool bAnnounce)
void (int eIndex, CyCity *pNewValue, bAnnounce) - Sets holy city for religion eIndex to pNewValue
void clearHolyCity (int eIndex)
void (int eIndex) - clears the holy city for religion eIndex
CyCity getHeadquarters () BtS Only
CyCity getHeadquarters()
void setHeadquarters (int eIndex, CyCity pNewValue, bool bAnnounce) BtS Only
void (int eIndex, CyCity *pNewValue, bAnnounce) - Sets headquarters for corporation eIndex to pNewValue
void clearHeadquarters (int eIndex) BtS Only
void (int eIndex) - clears the headquarters for corporation eIndex
string getScriptData ()
str () - Returns ScriptData member (used to store custom data)
void setScriptData (string szNewValue)
void (str) - Sets ScriptData member (used to store custom data)
void addPlayer (int eNewPlayer, int eNewTeam, int eLeader, int eCiv) BtS Only
void (int eNewPlayer, int eNewTeam, int eLeader, int eCiv)
void setPlotExtraYield (int iX, int iY, YieldType eYield, int iExtraYield) BtS Only
void (int iX, int iY, int /*YieldTypes*/ eYield, int iExtraYield)
void changePlotExtraCost (int iX, int iY, int iCost) BtS Only
void (int iX, int iY, int iCost)
bool isCivEverActive (CivilizationType eCivilization) BtS Only
bool (int /*CivilizationTypes*/ eCivilization)
bool isLeaderEverActive (LeaderHeadType eLeader) BtS Only
bool (int /*LeaderHeadTypes*/ eLeader)
bool isUnitEverActive (UnitType eUnit) BtS Only
bool (int /*UnitTypes*/ eUnit)
bool isBuildingEverActive (BuildingType eBuilding) BtS Only
bool (int /*BuildingTypes*/ eBuilding)
bool isEventActive (EventTriggerType eTrigger) BtS Only
bool (int /*EventTriggerTypes*/ eTrigger)