Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ types & classes
Types & classes
3,771 in github.com/OpenTTD/OpenTTD
⨍
Functions
16,191
◇
Types & classes
3,771
↓ 607 callers
Class
CommandCost
* Common return value for all commands. Wraps the cost and * a possible error message/state together. */
src/command_type.h:24
↓ 213 callers
Class
Hotkey
* All data for a single hotkey. The name (for saving/loading a configfile), * a list of keycodes and a number to help identifying this hotkey. */
src/hotkeys.h:21
↓ 158 callers
Enum
type
src/3rdparty/fmt/base.h:959
↓ 74 callers
Class
now
src/3rdparty/catch2/catch.hpp:6469
↓ 30 callers
Class
Opt
src/3rdparty/catch2/catch.hpp:9374
↓ 29 callers
Class
PerformanceData
src/framerate_gui.cpp:54
↓ 28 callers
Class
Tile
* Wrapper class to abstract away the way the tiles are stored. It is * intended to be used to access the "map" data of a single tile. * * The wrapp
src/map_func.h:25
↓ 27 callers
Class
SQObjectPtr
src/3rdparty/squirrel/squirrel/sqstate.h:52
↓ 26 callers
Class
Colour
src/3rdparty/catch2/catch.hpp:5990
↓ 23 callers
Class
VehiclesOnTile
* Iterate over all vehicles on a tile. * @warning The order is non-deterministic. You have to make sure, that your processing is not order dependant.
src/vehicle_func.h:53
↓ 21 callers
Class
ColumnBreak
src/3rdparty/catch2/catch.hpp:16294
↓ 21 callers
Class
SpiralTileSequence
* Generate TileIndices around a center tile or tile area, with increasing distance. */
src/tilearea_type.h:316
↓ 21 callers
Class
VehicleListIdentifier
The information about a vehicle list. */
src/vehiclelist.h:32
↓ 18 callers
Class
Duration
src/3rdparty/catch2/catch.hpp:16297
↓ 17 callers
Class
Column
src/3rdparty/catch2/catch.hpp:8491
↓ 17 callers
Enum
Date
src/script/api/script_date.hpp:57
↓ 17 callers
Class
span
src/3rdparty/fmt/format-inl.h:1461
↓ 16 callers
Class
NewsTypeData
* Per-NewsType data */
src/news_type.h:109
↓ 16 callers
Class
Script_FatalError
* A throw-class that is given when the script made a fatal error. */
src/script/script_fatalerror.hpp:16
↓ 15 callers
Class
AlternatingView
src/misc/alternating_iterator.hpp:122
↓ 15 callers
Class
SetBitIterator
src/core/bitmath_func.hpp:277
↓ 13 callers
Enum
SwitchMode
Mode which defines what mode we're switching to. */
src/openttd.h:26
↓ 13 callers
Class
pluralise
src/3rdparty/catch2/catch.hpp:3216
↓ 11 callers
Class
exception
@brief general exception of the @ref basic_json class @sa https://json.nlohmann.me/api/basic_json/exception/
src/3rdparty/nlohmann/json.hpp:4371
↓ 11 callers
Class
out_of_range
@brief exception indicating access out of the defined range @sa https://json.nlohmann.me/api/basic_json/out_of_range/
src/3rdparty/nlohmann/json.hpp:4557
↓ 10 callers
Class
NetworkAddress
src/network/core/address.h:19
↓ 10 callers
Class
StringRef
A non-owning string class (similar to the forthcoming std::string_view) Note that, because a StringRef may be a substring of another string, it may no
src/3rdparty/catch2/catch.hpp:606
↓ 10 callers
Class
format_specs
Format specifiers for built-in and string types.
src/3rdparty/fmt/base.h:856
↓ 8 callers
Class
ClosestDepot
* Structure to return information about the closest depot location, * and whether it could be found. */
src/vehicle_base.h:192
↓ 8 callers
Class
ParseState
src/3rdparty/catch2/catch.hpp:9044
↓ 7 callers
Class
Dimension
Dimensions (a width and height) of a rectangle in 2D */
src/core/geometry_type.hpp:56
↓ 7 callers
Class
PBSTileInfo
This struct contains information about the end of a reserved path. */
src/pbs.h:26
↓ 6 callers
Class
Call
src/newgrf_profiling.h:40
↓ 6 callers
Class
FindDepotData
* Helper container to find a depot */
src/pathfinder/pathfinder_type.h:38
↓ 6 callers
Class
OTTDByteReaderSignal
src/newgrf/newgrf_bytereader.h:15
↓ 6 callers
Enum
RoadType
src/script/api/script_road.hpp:55
↓ 6 callers
Class
locale_ref
A type-erased reference to an std::locale to avoid a heavy <locale> include.
src/3rdparty/fmt/base.h:2274
↓ 5 callers
Enum
Commands
* List of commands. * * This enum defines all possible commands which can be executed to the game * engine. Observing the game like the query-tool
src/command_type.h:196
↓ 5 callers
Class
LazyExpression
src/3rdparty/catch2/catch.hpp:2526
↓ 5 callers
Class
diyfp
src/3rdparty/nlohmann/json.hpp:16964
↓ 5 callers
Class
iterator
src/3rdparty/catch2/catch.hpp:8498
↓ 5 callers
Class
path
src/3rdparty/fmt/std.h:166
↓ 4 callers
Class
CasedString
src/3rdparty/catch2/catch.hpp:3538
↓ 4 callers
Class
Estimate
src/3rdparty/catch2/catch.hpp:5432
↓ 4 callers
Class
NameAndLocation
src/3rdparty/catch2/catch.hpp:7476
↓ 4 callers
Class
NetworkError
* Abstraction of a network error where all implementation details of the * error codes are encapsulated in this class and the abstraction layer. */
src/network/core/os_abstraction.h:21
↓ 4 callers
Class
OrthogonalTileArea
Represents the covered area of e.g. a rail station */
src/tilearea_type.h:18
↓ 4 callers
Class
Return
src/script/squirrel_helper.hpp:29
↓ 4 callers
Class
SQOuterVar
src/3rdparty/squirrel/squirrel/sqfuncproto.h:13
↓ 4 callers
Class
SummaryColumn
Fwd decls
src/3rdparty/catch2/catch.hpp:6152
↓ 4 callers
Class
TempoChange
src/music/midifile.hpp:25
↓ 4 callers
Class
Utf8View
* Constant span of UTF-8 encoded data. */
src/core/utf8.hpp:30
↓ 4 callers
Class
WithinRelMatcher
Given IEEE-754 format for floats and doubles, we can assume that float -> double promotion is lossless. Given this, we can assume that if we do the st
src/3rdparty/catch2/catch.hpp:3454
↓ 4 callers
Class
arg_pack
src/3rdparty/fmt/base.h:1660
↓ 3 callers
Enum
CompanyID
src/script/api/script_company.hpp:31
↓ 3 callers
Class
DiagonalTileArea
Represents a diagonal tile area. */
src/tilearea_type.h:70
↓ 3 callers
Class
GUIBadgeClasses
src/newgrf_badge_gui.h:19
↓ 3 callers
Class
GeneratorException
src/3rdparty/catch2/catch.hpp:3919
↓ 3 callers
Class
LanguageStrings
Container for the raw (unencoded) language strings of a language. */
src/game/game_text.hpp:40
↓ 3 callers
Class
Order
If you change this, keep in mind that it is saved on 3 places: * - Load_ORDR, all the global orders * - Vehicle -> current_order */
src/order_base.h:33
↓ 3 callers
Class
OrthogonalTileIterator
src/tilearea_type.h:15
↓ 3 callers
Class
RowBreak
src/3rdparty/catch2/catch.hpp:16295
↓ 3 callers
Class
Script_Suspend
* A throw-class that is given when the script wants to suspend. */
src/script/script_suspend.hpp:21
↓ 3 callers
Class
SpriteLayoutProcessor
* Add dynamic register values to a sprite layout. */
src/newgrf_commons.h:142
↓ 3 callers
Class
TILE
src/pathfinder/yapf/yapf_costrail.hpp:32
↓ 3 callers
Class
VehiclesNearTileXY
* Iterate over all vehicles near a given world coordinate. * @warning This only works for vehicles with proper Vehicle::Tile, so only ground vehicles
src/vehicle_func.h:119
↓ 3 callers
Class
handle
src/3rdparty/fmt/base.h:2459
↓ 3 callers
Class
iterator
src/core/utf8.hpp:43
↓ 3 callers
Class
text_style
src/3rdparty/fmt/color.h:231
↓ 3 callers
Class
uint128_fallback
src/3rdparty/fmt/format.h:273
↓ 2 callers
Class
AirportTileTableIterator
Iterator to iterate over all tiles belonging to an airport spec. */
src/newgrf_airport.h:32
↓ 2 callers
Class
Backup
src/core/backup_type.hpp:21
↓ 2 callers
Class
CargoSorter
src/station_gui.cpp:869
↓ 2 callers
Class
Chronometer
src/3rdparty/catch2/catch.hpp:6617
↓ 2 callers
Class
FileHandle
src/fileio_type.h:132
↓ 2 callers
Class
FlowStat
* Flow statistics telling how much flow should be sent along a link. This is * done by creating "flow shares" and using std::map's upper_bound() meth
src/station_base.h:33
↓ 2 callers
Class
Function
src/library_loader.h:20
↓ 2 callers
Class
GRFLocation
src/newgrf/newgrf_internal.h:160
↓ 2 callers
Class
GroupInfo
src/3rdparty/catch2/catch.hpp:5517
↓ 2 callers
Enum
Grouping
src/station_gui.cpp:1260
↓ 2 callers
Class
Iterator
src/map_func.h:211
↓ 2 callers
Class
Iterator
src/cargotype.h:155
↓ 2 callers
Class
Iterator
src/core/bitmath_func.hpp:278
↓ 2 callers
Class
KnownStructKey
src/misc/dbg_helpers.h:112
↓ 2 callers
Enum
LandscapeType
Landscape types */
src/landscape_type.h:16
↓ 2 callers
Class
Link
src/league_type.h:27
↓ 2 callers
Class
Parser
src/3rdparty/catch2/catch.hpp:9221
↓ 2 callers
Class
ReporterConfig
src/3rdparty/catch2/catch.hpp:5481
↓ 2 callers
Class
RowDisplay
src/station_gui.cpp:1224
↓ 2 callers
Class
ServerAddress
* Address to a game server. * * This generalises addresses which are based on different identifiers. */
src/network/core/address.h:184
↓ 2 callers
Class
Session
src/3rdparty/catch2/catch.hpp:13214
↓ 2 callers
Class
SourceLineInfo
src/3rdparty/catch2/catch.hpp:502
↓ 2 callers
Class
StringBuilder
src/table/strgen_tables.h:19
↓ 2 callers
Class
TestCaseStats
src/3rdparty/catch2/catch.hpp:5560
↓ 2 callers
Class
TestRunStats
src/3rdparty/catch2/catch.hpp:5597
↓ 2 callers
Enum
TownAction
src/script/api/script_town.hpp:27
↓ 2 callers
Class
ValueType
src/3rdparty/nlohmann/json.hpp:21524
↓ 2 callers
Class
WithinUlpsMatcher
src/3rdparty/catch2/catch.hpp:3438
↓ 2 callers
Class
XmlEncode
src/3rdparty/catch2/catch.hpp:6234
↓ 2 callers
Class
back_insert_iterator
src/core/string_inplace.hpp:55
next →
1–100 of 3,771, ranked by callers