Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JGRennison/OpenTTD-patches
/ types & classes
Types & classes
5,085 in github.com/JGRennison/OpenTTD-patches
⨍
Functions
21,952
◇
Types & classes
5,085
↓ 940 callers
Class
CommandCost
src/error.h:56
↓ 378 callers
Class
SlXvFeatureTest
* Structure to describe an extended feature version test, and how it combines with a traditional savegame version test */
src/sl/extended_ver_sl.h:227
↓ 269 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:23
↓ 158 callers
Enum
type
src/3rdparty/fmt/base.h:964
↓ 91 callers
Class
now
src/3rdparty/catch2/catch.hpp:6469
↓ 71 callers
Class
PriceBaseSpec
* Describes properties of price bases. */
src/newgrf.h:448
↓ 61 callers
Class
GRFPropertyMapDefinition
src/newgrf.h:175
↓ 60 callers
Class
GRFFeatureInfo
Action14 feature definition */
src/newgrf_extension.h:129
↓ 57 callers
Class
GRFVariableMapDefinition
src/newgrf.h:213
↓ 48 callers
Class
iterator
src/3rdparty/catch2/catch.hpp:8498
↓ 35 callers
Class
Colour
src/3rdparty/catch2/catch.hpp:5990
↓ 33 callers
Class
ChunkIDDumper
src/sl/saveload.h:126
↓ 30 callers
Class
Opt
src/3rdparty/catch2/catch.hpp:9374
↓ 29 callers
Class
PerformanceData
src/framerate_gui.cpp:56
↓ 27 callers
Class
SQObjectPtr
src/3rdparty/squirrel/squirrel/sqstate.h:52
↓ 26 callers
Class
SignalReference
src/signal_type.h:46
↓ 23 callers
Class
VehicleListIdentifier
The information about a vehicle list. */
src/vehiclelist.h:42
↓ 23 callers
Class
span
src/3rdparty/fmt/format-inl.h:1461
↓ 22 callers
Class
SpiralTileSequence
* Generate TileIndices around a center tile or tile area, with increasing distance. */
src/tilearea_type.h:417
↓ 21 callers
Class
ColumnBreak
src/3rdparty/catch2/catch.hpp:16294
↓ 19 callers
Class
SetBitIterator
src/core/bitmath_func.hpp:365
↓ 19 callers
Class
debug_date_dumper
src/date_func.h:127
↓ 18 callers
Class
Duration
src/3rdparty/catch2/catch.hpp:16297
↓ 17 callers
Class
Column
src/3rdparty/catch2/catch.hpp:8491
↓ 17 callers
Class
NewsTypeData
* Per-NewsType data */
src/news_type.h:113
↓ 17 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
ZoningModeInfo
src/zoning_gui.cpp:35
↓ 14 callers
Class
Error
src/order_serialisation.h:29
↓ 14 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
↓ 13 callers
Class
GetStringFmtParam
src/strings_func.h:252
↓ 13 callers
Enum
SwitchMode
Mode which defines what mode we're switching to. */
src/openttd.h:27
↓ 13 callers
Class
label_dumper
src/table/newgrf_debug_data.h:49
↓ 13 callers
Class
pluralise
src/3rdparty/catch2/catch.hpp:3216
↓ 12 callers
Enum
CompanyID
src/script/api/script_company.hpp:32
↓ 11 callers
Class
FormatNetworkAddress
src/network/core/address.h:174
↓ 11 callers
Class
InspectTargetId
src/newgrf_debug_gui.cpp:83
↓ 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
iterator
src/core/utf8.hpp:41
↓ 10 callers
Class
IterateSimpleContainerSpriteGroup
Wrapper to iterate the sprite groups within SGT_RANDOMIZED or SGT_REAL groups */
src/newgrf/newgrf_optimiser.cpp:786
↓ 10 callers
Class
NetworkAddress
src/network/core/address.h:22
↓ 10 callers
Class
ScoreInfo
Data structure for storing how the score is computed for a single score id. */
src/economy_type.h:70
↓ 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
CallAtTargetID
src/departures_type.h:45
↓ 8 callers
Class
ClosestDepot
* Structure to return information about the closest depot location, * and whether it could be found. */
src/vehicle_base.h:238
↓ 8 callers
Class
PBSTileInfo
This struct contains information about the end of a reserved path. */
src/pbs.h:29
↓ 8 callers
Class
ParseState
src/3rdparty/catch2/catch.hpp:9044
↓ 7 callers
Class
CargoMaskedStationIDVector
src/order_base.h:872
↓ 7 callers
Class
DestinationID
src/order_type.h:26
↓ 7 callers
Class
Dimension
Dimensions (a width and height) of a rectangle in 2D */
src/core/geometry_type.hpp:72
↓ 7 callers
Class
FindDepotData
* Helper container to find a depot */
src/pathfinder/pathfinder_type.h:36
↓ 7 callers
Class
NetworkTextMessageData
src/network/network_type.h:148
↓ 7 callers
Class
OrderConditionEvalResult
* Result type for EvaluateDispatchSlotConditionalOrderGeneral. */
src/schdispatch.h:27
↓ 7 callers
Class
StringBuilder
src/strings_internal.h:205
↓ 7 callers
Class
TraceRestrictInstructionIterateWrapper
src/tracerestrict.h:742
↓ 6 callers
Class
Call
src/newgrf_profiling.h:43
↓ 6 callers
Class
FiosOrderListInfo
src/fios.h:46
↓ 6 callers
Class
GUITimer
src/guitimer_func.h:13
↓ 6 callers
Enum
RoadType
src/script/api/script_road.hpp:56
↓ 6 callers
Class
StrErrorDumper
* The use of a struct is so that when used as an argument to seprintf/etc, the buffer lives * on the stack with a lifetime which lasts until the end
src/string_func.h:245
↓ 6 callers
Class
Utf8View
* Constant span of UTF-8 encoded data. */
src/core/utf8.hpp:28
↓ 6 callers
Class
locale_ref
A type-erased reference to an std::locale to avoid a heavy <locale> include.
src/3rdparty/fmt/base.h:2286
↓ 6 callers
Class
sigaction
src/saveload/afterload.cpp:332
↓ 5 callers
Class
Action5TypeRemapDefinition
src/newgrf.h:258
↓ 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:492
↓ 5 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:68
↓ 5 callers
Class
GRFFilePropertyDescriptor
src/newgrf/newgrf_act0.cpp:56
↓ 5 callers
Class
IterateSettingTables
Wrapper to iterate the settings within a set of settings tables: std::initializer_list<SettingTable> */
src/settings_internal.h:495
↓ 5 callers
Class
LazyExpression
src/3rdparty/catch2/catch.hpp:2526
↓ 5 callers
Class
NewGRFLabelDumper
src/newgrf.h:515
↓ 5 callers
Class
Node
src/3rdparty/catch2/catch.hpp:5810
↓ 5 callers
Class
SQSizedAllocationTag
src/3rdparty/squirrel/squirrel/sqobject.h:59
↓ 5 callers
Class
diyfp
src/3rdparty/nlohmann/json.hpp:16964
↓ 4 callers
Class
CallAt
src/departures_type.h:74
↓ 4 callers
Class
CasedString
src/3rdparty/catch2/catch.hpp:3538
↓ 4 callers
Class
Estimate
src/3rdparty/catch2/catch.hpp:5432
↓ 4 callers
Class
GRFFeatureMapDefinition
src/newgrf.h:142
↓ 4 callers
Class
GUIBadgeClasses
src/newgrf_badge_gui.h:20
↓ 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:17
↓ 4 callers
Class
OrthogonalTileArea
Represents the covered area of e.g. a rail station */
src/tilearea_type.h:22
↓ 4 callers
Class
Return
src/script/squirrel_helper.hpp:30
↓ 4 callers
Class
SQOuterVar
src/3rdparty/squirrel/squirrel/sqfuncproto.h:13
↓ 4 callers
Class
SignalDependencyRecord
Programmable pre-signal dependencies.
src/signal.cpp:41
↓ 4 callers
Class
SummaryColumn
Fwd decls
src/3rdparty/catch2/catch.hpp:6152
↓ 4 callers
Class
TempoChange
src/music/midifile.hpp:27
↓ 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:1666
↓ 4 callers
Class
log_prefix
src/debug.h:105
↓ 4 callers
Class
writer
src/3rdparty/fmt/std.h:191
↓ 3 callers
Class
CompanyInfoDumper
src/company_type.h:89
↓ 3 callers
Class
DiagonalTileArea
Represents a diagonal tile area. */
src/tilearea_type.h:79
↓ 3 callers
Class
FileHandle
src/fileio_type.h:140
↓ 3 callers
Class
GRFNameOnlyVariableMapDefinition
src/newgrf.h:232
↓ 3 callers
Class
GeneratorException
src/3rdparty/catch2/catch.hpp:3919
↓ 3 callers
Class
InsertOrderCmdData
src/order_cmd.h:22
↓ 3 callers
Enum
LandscapeType
Landscape types */
src/landscape_type.h:16
↓ 3 callers
Class
LanguageStrings
Container for the raw (unencoded) language strings of a language. */
src/game/game_text.hpp:40
↓ 3 callers
Class
OTTDByteReaderSignal
src/newgrf/newgrf_bytereader.h:13
next →
1–100 of 5,085, ranked by callers