CyGame
- BOOL GetWorldBuilderMode ()
- CyDeal addDeal ()
- VOID addPlayer (PlayerType eNewPlayer, LeaderHeadType eLeader, CivilizationType eCiv)
void (int eNewPlayer, int eLeader, int eCiv)
- INT calculateOptionsChecksum ()
- INT calculateReligionPercent (ReligionType eReligion)
int (int eReligion)
- INT calculateSyncChecksum ()
- BOOL canHaveSecretaryGeneral (VoteSourceType eVoteSource)
bool (int eVoteSource)
- BOOL canTrainNukes ()
bool ()
- VOID changeDiploVote (VoteSourceType eVoteSource, INT iChange)
void (VoteSourceTypes, int)
- VOID changeFreeTradeCount (INT iChange)
- VOID changeMaxTurns (INT iChange)
- VOID changeNoNukesCount (INT iChange)
- VOID changeNukesExploded (INT iChange)
- VOID changePlotExtraCost (INT iX, INT iY, INT iExtraCost)
void (int iX, int iY, int iCost)
- VOID changeTradeRoutes (INT iChange)
- VOID cityPushOrder (CyCity pCity, OrderType eOrder, INT iData, BOOL bAlt, BOOL bShift, BOOL bCtrl)
void (CyCity* pCity, OrderTypes eOrder, int iData, bool bAlt, bool bShift, bool bCtrl)
- VOID clearHeadquarters (CorporationType eIndex)
void (int eIndex) - clears the headquarters for corporation eIndex
- VOID clearHolyCity (ReligionType eIndex)
void (int eIndex) - clears the holy city for religion eIndex
- INT countCivPlayersAlive ()
int ()
- INT countCivPlayersEverAlive ()
int ()
- INT countCivTeamsAlive ()
int ()
- INT countCivTeamsEverAlive ()
int ()
- INT countCorporationLevels (CorporationType eCorporation)
int (int eCorporation)
- INT countHumanPlayersAlive ()
int ()
- INT countKnownTechNumTeams (TechType eTech)
int (int eTech)
- INT countNumHumanGameTurnActive ()
- INT countPossibleVote (VoteType eVote, VoteSourceType eVoteSource)
int (int eVote, int eVoteSource)
- INT countReligionLevels (ReligionType eReligion)
int (int eReligion)
- INT countTotalCivPower ()
int ()
- INT countTotalNukeUnits ()
int ()
- VOID cycleCities (BOOL bForward, BOOL bAdd)
void (bool bForward, bool bAdd)
- BOOL cyclePlotUnits (CyPlot pPlot, BOOL bForward, BOOL bAuto, INT iCount)
bool (CyPlot* pPlot, bool bForward, bool bAuto, int iCount)
- VOID cycleSelectionGroups (BOOL bClear, BOOL bForward, BOOL bWorkers)
void (bool bClear, bool bForward, bool bWorkers)
- INT getAIAutoPlay ()
- CivilizationType getActiveCivilizationType ()
int () - returns CivilizationID
- PlayerType getActivePlayer ()
returns index of the active player
- INT getActiveTeam ()
int () - returns ID for the group
- INT getAdjustedLandPercent (VictoryType eVictory)
int (int eVictory)
- INT getAdjustedPopulationPercent (VictoryType eVictory)
int (int eVictory)
- UnitType getBestLandUnit ()
returns index of the best unit
- INT getBestLandUnitCombat ()
int ()
- INT getBuildingClassCreatedCount (BuildingClassType eIndex)
int (BuildingClassType) - building Class count
- CalendarType getCalendar ()
CalendarType ()
- INT getCorporationGameTurnFounded (CorporationType eIndex)
- EraType getCurrentEra ()
int /*EratTypes*/ ()
- INT getCurrentLanguage ()
- CyDeal getDeal (INT iID)
- INT getElapsedGameTurns ()
int () - Elapsed turns thus far
- INT getEstimateEndTurn ()
- INT getForceCivicCount (CivicType eIndex)
int (CivicTypes eIndex)
- INT getFreeTradeCount ()
- GameSpeedType getGameSpeedType ()
- GameStateType getGameState ()
- INT getGameTurn ()
int () - current game turn
- INT getGameTurnYear ()
- HandicapType getHandicapType ()
HandicapType () - difficulty level settings
- CyCity getHeadquarters (CorporationType eIndex)
CyCity getHeadquarters()
- CyCity getHolyCity (ReligionType eIndex)
CyCity getHolyCity()
- INT getImprovementUpgradeTime (ImprovementType eImprovement)
int (int /*ImprovementTypes*/ eImprovement)
- INT getIndexAfterLastDeal ()
- INT getInitLand ()
- INT getInitPopulation ()
- INT getInitTech ()
- INT getInitWonders ()
- CyRandom getMapRand ()
- INT getMapRandNum (INT iNum, STRING pszLog)
- INT getMaxCityElimination ()
- INT getMaxLand ()
- INT getMaxPopulation ()
- INT getMaxTech ()
- INT getMaxTurns ()
- INT getMaxWonders ()
- INT getMinutesPlayed ()
Returns the number of minutes since the game began
- STRING getName ()
- INT getNoNukesCount ()
- INT getNukesExploded ()
- INT getNumAdvancedStartPoints ()
- INT getNumCities ()
int () - total cities in Game
- INT getNumCivCities ()
int () - total non-barbarian cities in Game
- INT getNumDeals ()
- INT getNumFreeBonuses (BuildingType eBuilding)
int (int eBonus)
- INT getNumGameTurnActive ()
- INT getNumHumanPlayers ()
int () - # of human players in-game
- INT getNumReplayMessages ()
- INT getPausePlayer ()
int () - will get who paused us
- INT getPitbossTurnTime ()
int ()
- INT getPlayerRank (PlayerType iIndex)
- INT getPlayerScore (PlayerType iIndex)
- INT getPlayerVote (PlayerType eOwnerIndex, INT iVoteId)
- INT getProductionPerPopulation (HurryType eHurry)
int (int /*HurryTypes*/ eHurry)
- INT getProjectCreatedCount (ProjectType eIndex)
int (ProjectTypes eIndex)
- INT getRankPlayer (INT iRank)
- TeamType getRankTeam (INT iRank)
- INT getReligionGameTurnFounded (ReligionType eIndex)
- CyReplayInfo getReplayInfo ()
- ColorType getReplayMessageColor (INT i)
- INT getReplayMessagePlayer (INT i)
- INT getReplayMessagePlotX (INT i)
- INT getReplayMessagePlotY (INT i)
- STRING getReplayMessageText (INT i)
- INT getReplayMessageTurn (INT i)
- ReplayMessageType getReplayMessageType (INT i)
- STRING getScriptData ()
str () - Returns ScriptData member (used to store custom data)
- INT getSecretaryGeneral (VoteSourceType eVoteSource)
int (int eVoteSource)
- INT getSecretaryGeneralTimer (INT iVoteSource)
- CyRandom getSorenRand ()
- INT getSorenRandNum (INT iNum, STRING pszLog)
- EraType getStartEra ()
- 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)
- INT getSymbolID (INT iSymbol)
int (int iSymbol)
- INT getTargetScore ()
- INT getTeamRank (TeamType iIndex)
- INT getTeamScore (TeamType iIndex)
- INT getTotalPopulation ()
int () - total game population
- INT getTradeRoutes ()
- INT getTurnSlice ()
- INT getTurnYear (INT iGameTurn)
int (iGameTurn) - turn Time
- INT getUnitClassCreatedCount (UnitClassType eIndex)
int (eIndex) - returns number of this unit class type created (?)
- INT getUnitCreatedCount (UnitType eIndex)
int (eIndex) - returns number of this unit type created (?)
- VictoryType getVictory ()
- INT getVoteOutcome (VoteType eIndex)
int (VoteTypes eIndex)
- INT getVoteRequired (VoteType eVote, VoteSourceType eVoteSource)
int (int eVote, int eVoteSource)
- INT getVoteSourceReligion (VoteSourceType eVoteSource)
int (int /*VoteSourceTypes*/ eVoteSource)
- INT getVoteTimer (INT iVoteSource)
- TeamType getWinner ()
- INT goldenAgeLength ()
int ()
- BOOL hasSkippedSaveChecksum ()
- BOOL isBuildingClassMaxedOut (BuildingClassType eIndex, INT iExtra)
bool (BuildingClassType) - max # reached?
- BOOL isBuildingEverActive (BuildingType eBuilding)
bool (int /*BuildingTypes*/ eBuilding)
- BOOL isChooseElection (VoteType eVote)
bool (int eVote)
- BOOL isCircumnavigated ()
bool () - is the globe circumnavigated?
- BOOL isCivEverActive (CivilizationType eCivilization)
bool (int /*CivilizationTypes*/ eCivilization)
- BOOL isCorporationFounded (CorporationType eIndex)
bool (CorporationID) - is corporation founded?
- BOOL isDebugMode ()
bool () - is the game in Debug Mode?
- BOOL isDiploVote (VoteSourceType eVoteSource)
bool (VoteSourceTypes)
- BOOL isEventActive (EventTriggerType eTrigger)
bool (int /*EventTriggerTypes*/ eTrigger)
- BOOL isFinalInitialized ()
bool () - Returns whether or not the game initialization process has ended (game has started)
- BOOL isForceCivic (CivicType eIndex)
bool (CivicTypes eIndex)
- BOOL isForceCivicOption (CivicOptionType eCivicOption)
bool (CivicOptionTypes eCivicOption)
- BOOL isForcedControl (ForceControlType eIndex)
bool (eIndex) - returns whether Control should be forced
- BOOL isFreeTrade ()
- BOOL isGameMultiPlayer ()
bool () - GameMultiplayer()?
- BOOL isHotSeat ()
bool ()
- BOOL isInAdvancedStart ()
bool
- BOOL isLeaderEverActive (LeaderHeadType eLeader)
bool (int /*LeaderHeadTypes*/ eLeader)
- BOOL isMPOption (MultiplayerOptionType eIndex)
bool (eIndex) - returns whether MP Option is valid
- BOOL isModem ()
bool () - Using a modem?
- BOOL isNetworkMultiPlayer ()
bool () - NetworkMultiplayer()?
- BOOL isNoNukes ()
- BOOL isNone ()
CyGame* () - is the instance valid?
- BOOL isNukesValid ()
bool
- BOOL isOption (GameOptionType eIndex)
bool (eIndex) - returns whether Game Option is valid
- BOOL isPaused ()
bool () - will say if the game is paused
- BOOL isPbem ()
bool ()
- BOOL isPitboss ()
bool ()
- BOOL isPitbossHost ()
- BOOL isProjectMaxedOut (ProjectType eIndex, INT iExtra)
bool (ProjectTypes eIndex)
- BOOL isReligionFounded (ReligionType eIndex)
bool (ReligionID) - is religion founded?
- BOOL isReligionSlotTaken (ReligionType eIndex)
bool (ReligionID) - is religion in that tech slot founded?
- BOOL isScoreDirty ()
bool ()
- BOOL isSimultaneousTeamTurns ()
bool ()
- BOOL isSpecialBuildingValid (SpecialBuildingType eIndex)
- BOOL isSpecialUnitValid (SpecialUnitType eSpecialUnitType)
- BOOL isTeamGame ()
bool ()
- BOOL isTeamVote (VoteType eVote)
bool (int eVote)
- BOOL isTeamVoteEligible (TeamType eTeam, VoteSourceType eVoteSource)
bool (int eTeam, int eVoteSource)
- BOOL isUnitClassMaxedOut (UnitClassType eIndex, INT iExtra)
bool (eIndex, iExtra) - returns whether or not this unit class is maxed out (e.g. spies)
- BOOL isUnitEverActive (UnitType eUnit)
bool (int /*UnitTypes*/ eUnit)
- BOOL isVictoryValid (VictoryType eIndex)
- BOOL isVotePassed (VoteType eIndex)
- VOID makeCircumnavigated ()
- VOID makeNukesValid (BOOL bValid)
void (bool bValid)
- VOID makeSpecialBuildingValid (SpecialBuildingType eIndex)
- VOID makeSpecialUnitValid (SpecialUnitType eSpecialUnitType)
- VOID reviveActivePlayer ()
void ()
- VOID saveReplay (INT iPlayer)
- 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 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 selectionListMove (CyPlot pPlot, BOOL bAlt, BOOL bShift, BOOL bCtrl)
void (CyPlot* pPlot, bool bAlt, bool bShift, bool bCtrl)
- VOID setAIAutoPlay (INT iNewValue)
- VOID setActivePlayer (PlayerType eNewValue, BOOL bForceHotSeat)
void (int /*PlayerTypes*/ eNewValue, bool bForceHotSeat)
- VOID setCurrentLanguage (INT iNewLanguage)
- VOID setEstimateEndTurn (INT iNewValue)
- VOID setGameTurn (INT iNewValue)
void (iNewValue) - set current game turn
- VOID setHeadquarters (CorporationType eIndex, CyCity pNewValue, BOOL bAnnounce)
void (int eIndex, CyCity *pNewValue, bAnnounce) - Sets headquarters for corporation eIndex to pNewValue
- VOID setHolyCity (ReligionType eIndex, CyCity pNewValue, BOOL bAnnounce)
void (int eIndex, CyCity *pNewValue, bAnnounce) - Sets holy city for religion eIndex to pNewValue
- VOID setMaxCityElimination (INT iNewValue)
- VOID setMaxTurns (INT iNewValue)
- VOID setModem (BOOL bModem)
void (bool bModem) - Use a modem! (or don't)
- VOID setName (STRING szName)
- VOID setNumAdvancedStartPoints (INT iNewValue)
- VOID setOption (GameOptionType eIndex, BOOL bEnabled)
void (GameOptionIndex, bEnabled) - sets a Game Option
- VOID setPitbossTurnTime (INT iHours)
void (int)
- VOID setPlotExtraYield (INT iX, INT iY, YieldType eYield, INT iExtraYield)
void (int iX, int iY, int /*YieldTypes*/ eYield, int iExtraYield)
- VOID setScoreDirty (BOOL bNewValue)
- VOID setScriptData (STRING szNewValue)
void (str) - Sets ScriptData member (used to store custom data)
- VOID setStartYear (INT iNewValue)
void () - Sets the starting year (e.g. -4000)
- VOID setTargetScore (INT iNewValue)
- VOID setVoteSourceReligion (VoteSourceType eVoteSource, ReligionType eReligion, BOOL bAnnounce)
void (int /*VoteSourceTypes*/ eVoteSource, int /*ReligionTypes*/ eReligion, bool bAnnounce)
- VOID setWinner (TeamType eNewWinner, VictoryType eNewVictory)
- VOID toggleDebugMode ()
- VOID updateScore (BOOL bForce)
void (bool bForce)
- INT victoryDelay (VictoryType eVictory)
int (int /*VictoryTypes*/ eVictory)