OpenTTD Source 20251019-master-g9f7f314f81
AISettings Struct Reference

Settings related to the AI. More...

#include <settings_type.h>

Data Fields

bool ai_in_multiplayer
 so we allow AIs in multiplayer
 
bool ai_disable_veh_train
 disable types for AI
 
bool ai_disable_veh_roadveh
 disable types for AI
 
bool ai_disable_veh_aircraft
 disable types for AI
 
bool ai_disable_veh_ship
 disable types for AI
 

Detailed Description

Settings related to the AI.

Definition at line 426 of file settings_type.h.

Field Documentation

◆ ai_disable_veh_aircraft

bool AISettings::ai_disable_veh_aircraft

disable types for AI

Definition at line 430 of file settings_type.h.

Referenced by IsVehicleTypeDisabled().

◆ ai_disable_veh_roadveh

bool AISettings::ai_disable_veh_roadveh

disable types for AI

Definition at line 429 of file settings_type.h.

Referenced by IsVehicleTypeDisabled().

◆ ai_disable_veh_ship

bool AISettings::ai_disable_veh_ship

disable types for AI

Definition at line 431 of file settings_type.h.

Referenced by IsVehicleTypeDisabled().

◆ ai_disable_veh_train

bool AISettings::ai_disable_veh_train

disable types for AI

Definition at line 428 of file settings_type.h.

Referenced by IsVehicleTypeDisabled().

◆ ai_in_multiplayer

bool AISettings::ai_in_multiplayer

so we allow AIs in multiplayer

Definition at line 427 of file settings_type.h.

Referenced by AI::CanStartNew(), and AI::GameLoop().


The documentation for this struct was generated from the following file: