OpenTTD Source: src Directory Reference

OpenTTD Source 15.3

src Directory Reference

## Directories
| ai
| blitter
| core
| fontcache
| game
| linkgraph
| misc
| music
| network
| newgrf
| pathfinder
| saveload
| script
| settingsgen
| sound
| spriteloader
| strgen
| table
| tests
| timer
| video
| widgets

## Files
| aircraft.h
| Base for aircraft.
| aircraft_cmd.cpp
| This file deals with aircraft and airport movements functionalities.
| aircraft_cmd.h
| Command definitions related to aircraft.
| aircraft_gui.cpp
| The GUI of aircraft.
| airport.cpp
| Functions related to airports.
| airport.h
| Various declarations for airports.
| airport_cmd.h
| Command definitions related to airports.
| airport_gui.cpp
| The GUI for airports.
| animated_tile.cpp
| Everything related to animated tiles.
| animated_tile_func.h
| Tile animation!
| animated_tile_map.h
| Maps accessors for animated tiles.
| articulated_vehicles.cpp
| Implementation of articulated vehicles.
| articulated_vehicles.h
| Functions related to articulated vehicles.
| autocompletion.cpp
| Generic auto-completion engine.
| autocompletion.h
| Generic auto-completion engine.
| autoreplace.cpp
| Management of replacement lists.
| autoreplace_base.h
| Base class for autoreplaces/autorenews.
| autoreplace_cmd.cpp
| Deals with autoreplace execution but not the setup.
| autoreplace_cmd.h
| Command definitions related to autoreplace.
| autoreplace_func.h
| Functions related to autoreplacing.
| autoreplace_gui.cpp
| GUI for autoreplace handling.
| autoreplace_gui.h
| Functions related to the autoreplace GUIs.
| autoreplace_type.h
| Types related to autoreplacing.
| autoslope.h
| Functions related to autoslope.
| base_consist.cpp
| Properties for front vehicles/consists.
| base_consist.h
| Properties for front vehicles/consists.
| base_media_base.h
| Generic functions for replacing base data (graphics, sounds).
| base_media_func.h
| Generic function implementations for base data (graphics, sounds).
| base_media_graphics.h
| Generic functions for replacing base graphics data.
| base_media_music.h
| Generic functions for replacing base music data.
| base_media_sounds.h
| Generic functions for replacing base sounds data.
| base_station_base.h
| Base classes/functions for base stations.
| bitmap_type.h
| bmp.cpp
| Read and write support for bmps.
| bmp.h
| Read and write support for bmps.
| bootstrap_gui.cpp
| Barely used user interface for bootstrapping OpenTTD, i.e.
| bridge.h
| Header file for bridges.
| bridge_gui.cpp
| Graphical user interface for bridge construction.
| bridge_map.cpp
| Map accessor functions for bridges.
| bridge_map.h
| Map accessor functions for bridges.
| bridge_type.h
| Header file for bridge types.
| build_vehicle_gui.cpp
| GUI for building vehicles.
| cachecheck.cpp
| Check caches.
| cargo_type.h
| Types related to cargoes...
| cargoaction.cpp
| Implementation of cargo actions.
| cargoaction.h
| Actions to be applied to cargo packets.
| cargomonitor.cpp
| Implementation of the cargo transport monitoring.
| cargomonitor.h
| Cargo transport monitoring declarations.
| cargopacket.cpp
| Implementation of the cargo packets.
| cargopacket.h
| Base class for cargo packets.
| cargotype.cpp
| Implementation of cargoes.
| cargotype.h
| Types/functions related to cargoes.
| cheat.cpp
| Handling (loading/saving/initializing) of cheats.
| cheat_func.h
| Functions related to cheating.
| cheat_gui.cpp
| GUI related to cheating.
| cheat_type.h
| Types related to cheating.
| clear_cmd.cpp
| Commands related to clear tiles.
| clear_func.h
| Functions related to clear (MP_CLEAR) land.
| clear_map.h
| Map accessors for 'clear' tiles.
| command.cpp
| Handling of commands.
| command_func.h
| Functions related to commands.
| command_type.h
| Types related to commands.
| company_base.h
| Definition of stuff that is very close to a company, like the company struct itself.
| company_cmd.cpp
| Handling of companies.
| company_cmd.h
| Command definitions related to companies.
| company_func.h
| Functions related to companies.
| company_gui.cpp
| Company related GUIs.
| company_gui.h
| GUI Functions related to companies.
| company_manager_face.h
| Functionality related to the company manager's face.
| company_type.h
| Types related to companies.
| console.cpp
| Handling of the in-game console.
| console_cmds.cpp
| Implementation of the console hooks.
| console_func.h
| Console functions used outside of the console code.
| console_gui.cpp
| Handling the GUI of the in-game console.
| console_gui.h
| GUI related functions in the console.
| console_internal.h
| Internally used functions for the console.
| console_type.h
| Globally used console related types.
| cpu.cpp
| OS/CPU/compiler dependent CPU specific calls.
| cpu.h
| Functions related to CPU specific instructions.
| crashlog.cpp
| Implementation of generic function to be called to log a crash.
| crashlog.h
| Functions to be called to log a crash.
| currency.cpp
| Support for different currencies.
| currency.h
| Functions to handle different currencies.
| date_gui.cpp
| Graphical selection of a date.
| date_gui.h
| Functions related to the graphical selection of a date.
| debug.cpp
| Handling of printing debug messages.
| debug.h
| Functions related to debugging.
| dedicated.cpp
| Forking support for dedicated servers.
| depot.cpp
| Handling of depots.
| depot_base.h
| Base for all depots (except hangars)
| depot_cmd.cpp
| Command Handling for depots.
| depot_cmd.h
| Command definitions related to depots.
| depot_func.h
| Functions related to depots.
| depot_gui.cpp
| The GUI for depots.
| depot_map.h
| Map related accessors for depots.
| depot_type.h
| Header files for depots (not hangars)
| direction_func.h
| Different functions related to conversions between directions.
| direction_type.h
| Different types to 'show' directions.
| disaster_vehicle.cpp
| All disaster/easter egg vehicles are handled here.
| disaster_vehicle.h
| All disaster vehicles.
| dock_cmd.h
| Command definitions related to docks.
| dock_gui.cpp
| GUI to create amazing water objects.
| driver.cpp
| Base for all driver handling.
| driver.h
| Base for all drivers (video, sound, music, etc).
| dropdown.cpp
| Implementation of the dropdown widget.
| dropdown_common_type.h
| Common drop down list components.
| dropdown_func.h
| Functions related to the drop down widget.
| dropdown_type.h
| Types related to the drop down widget.
| economy.cpp
| Handling of the economy.
| economy_base.h
| Base classes related to the economy.
| economy_cmd.h
| Command definitions related to the economy.
| economy_func.h
| Functions related to the economy.
| economy_type.h
| Types related to the economy.
| effectvehicle.cpp
| Implementation of everything generic to vehicles.
| effectvehicle_base.h
| Base class for all effect vehicles.
| effectvehicle_func.h
| Functions related to effect vehicles.
| elrail.cpp
| This file deals with displaying wires and pylons for electric railways.
| elrail_func.h
| header file for electrified rail specific functions
| engine.cpp
| Base for all engine handling.
| engine_base.h
| Base class for engines.
| engine_cmd.h
| Command definitions related to engines.
| engine_func.h
| Functions related to engines.
| engine_gui.cpp
| GUI to show engine related information.
| engine_gui.h
| Engine GUI functions, used by build_vehicle_gui and autoreplace_gui
| engine_type.h
| Types related to engines.
| error.cpp
| Reporting of errors.
| error.h
| Functions related to errors.
| error_func.h
| Error reporting related functions.
| error_gui.cpp
| GUI related to errors.
| fileio.cpp
| Standard In/Out file operations.
| fileio_func.h
| Functions for Standard In/Out file operations.
| fileio_type.h
| Types for Standard In/Out file operations.
| fios.cpp
| This file contains functions for building file lists for the save/load dialogs.
| fios.h
| Declarations for savegames operations.
| fios_gui.cpp
| GUIs for loading/saving games, scenarios, heightmaps, ...
| fontcache.cpp
| Cache for characters from fonts.
| fontcache.h
| Functions to read fonts from files and cache them.
| framerate_gui.cpp
| GUI for displaying framerate/game speed information.
| framerate_type.h
| Types for recording game performance data.
| gamelog.cpp
| Definition of functions used for logging of fundamental changes to the game.
| gamelog.h
| Functions to be called to log fundamental changes to the game.
| gamelog_internal.h
| Declaration shared among gamelog.cpp and saveload/gamelog_sl.cpp.
| genworld.cpp
| Functions to generate a map.
| genworld.h
| Functions related to world/map generation.
| genworld_gui.cpp
| GUI to configure and show progress during map generation.
| gfx.cpp
| Handling of drawing text and other gfx related stuff.
| gfx_func.h
| Functions related to the gfx engine.
| gfx_layout.cpp
| Handling of laying out text.
| gfx_layout.h
| Functions related to laying out the texts.
| gfx_layout_fallback.cpp
| Handling of laying out text as fallback.
| gfx_layout_fallback.h
| Functions related to laying out the texts as fallback.
| gfx_layout_icu.cpp
| Handling of laying out with ICU / Harfbuzz.
| gfx_layout_icu.h
| Functions related to laying out the texts with ICU.
| gfx_type.h
| Types related to the graphics and/or input devices.
| gfxinit.cpp
| Initializing of the (GRF) graphics.
| gfxinit.h
| Functions related to the graphics initialization.
| goal.cpp
| Handling of goals.
| goal_base.h
| Goal base class.
| goal_cmd.h
| Command definitions related to goals.
| goal_gui.cpp
| GUI for goals.
| goal_type.h
| basic types related to goals
| graph_gui.cpp
| GUI that shows performance graphs.
| graph_gui.h
| Graph GUI functions.
| ground_vehicle.cpp
| Implementation of GroundVehicle.
| ground_vehicle.hpp
| Base class and functions for all vehicles that move through ground.
| group.h
| Base class for groups and group functions.
| group_cmd.cpp
| Handling of the engine groups.
| group_cmd.h
| Command definitions related to engine groups.
| group_gui.cpp
| GUI for the group window.
| group_gui.h
| Functions/definitions that have something to do with groups.
| group_type.h
| Types of a group.
| gui.h
| GUI functions that shouldn't be here.
| heightmap.cpp
| Creating of maps from heightmaps.
| heightmap.h
| Functions related to creating heightmaps from files.
| help_gui.cpp
| GUI to access manuals and related.
| help_gui.h
| GUI to access manuals and related.
| highscore.cpp
| Definition of functions used for highscore handling.
| highscore.h
| Declaration of functions and types defined in highscore.h and highscore_gui.h.
| highscore_gui.cpp
| Definition of the HighScore and EndGame windows.
| hotkeys.cpp
| Implementation of hotkey related functions.
| hotkeys.h
| Hotkey related functions.
| house.h
| definition of HouseSpec and accessors
| house_type.h
| declaration of basic house types and enums
| industry.h
| Base of all industries.
| industry_cmd.cpp
| Handling of industry tiles.
| industry_cmd.h
| Command definitions related to industries.
| industry_gui.cpp
| GUIs related to industries.
| industry_map.h
| Accessors for industries.
| industry_type.h
| Types related to the industry.
| industrytype.h
| Industry type specs.
| ini.cpp
| Definition of the IniItem class, related to reading/writing '*.ini' files.
| ini_load.cpp
| Definition of the IniLoadFile class, related to reading and storing '*.ini' files.
| ini_type.h
| Types related to reading/writing '*.ini' files.
| intro_gui.cpp
| The main menu GUI.
| landscape.cpp
| Functions related to the landscape (slopes etc.).
| landscape.h
| Functions related to OTTD's landscape.
| landscape_cmd.h
| Command definitions related to landscape (slopes etc.).
| landscape_type.h
| Types related to the landscape.
| language.h
| Information about languages and their files.
| league_base.h
| LeagueTable base class.
| league_cmd.cpp
| Handling of league tables.
| league_cmd.h
| Command definitions related to league tables.
| league_gui.cpp
| GUI for league tables.
| league_gui.h
| League table GUI functions.
| league_type.h
| basic types related to league tables
| library_loader.h
| Functions/types related to loading libraries dynamically.
| livery.h
| Functions/types related to livery colours.
| main_gui.cpp
| Handling of the main viewport.
| map.cpp
| Base functions related to the map and distances on them.
| map_func.h
| Functions related to maps.
| map_type.h
| Types related to maps.
| misc.cpp
| Misc functions that shouldn't be here.
| misc_cmd.cpp
| Some misc functions that are better fitted in other files, but never got moved there...
| misc_cmd.h
| Miscellaneous command definitions.
| misc_gui.cpp
| GUIs for a number of misc windows.
| mixer.cpp
| Mixing of sound samples.
| mixer.h
| Functions to mix sound samples.
| music.cpp
| The songs that OpenTTD knows.
| music_gui.cpp
| GUI for the music playback.
| newgrf.cpp
| Base of all NewGRF support.
| newgrf.h
| Base for the NewGRF implementation.
| newgrf_act5.h
| Information about NewGRF Action 5.
| newgrf_airport.cpp
| NewGRF handling of airports.
| newgrf_airport.h
| NewGRF handling of airports.
| newgrf_airporttiles.cpp
| NewGRF handling of airport tiles.
| newgrf_airporttiles.h
| NewGRF handling of airport tiles.
| newgrf_animation_base.h
| Function implementations related to NewGRF animation.
| newgrf_animation_type.h
| Definitions related to NewGRF animation.
| newgrf_badge.cpp
| Functionality for NewGRF badges.
| newgrf_badge.h
| Functions related to NewGRF badges.
| newgrf_badge_config.cpp
| Functionality for NewGRF badge configuration.
| newgrf_badge_config.h
| Functions related to NewGRF badge configuration.
| newgrf_badge_gui.cpp
| newgrf_badge_gui.h
| GUI functions related to NewGRF badges.
| newgrf_badge_type.h
| Types related to NewGRF badges.
| newgrf_callbacks.h
| Callbacks that NewGRFs could implement.
| newgrf_canal.cpp
| Implementation of NewGRF canals.
| newgrf_canal.h
| Handling of NewGRF canals.
| newgrf_cargo.cpp
| Implementation of NewGRF cargoes.
| newgrf_cargo.h
| Cargo support for NewGRFs.
| newgrf_class.h
| Header file for classes to be used by e.g.
| newgrf_class_func.h
| Implementation of the NewGRF class' functions.
| newgrf_commons.cpp
| Implementation of the class OverrideManagerBase and its descendance, present and future.
| newgrf_commons.h
| This file simplifies and embeds a common mechanism of loading/saving and mapping of grf entities.
| newgrf_config.cpp
| Finding NewGRFs and configuring them.
| newgrf_config.h
| Functions to find and configure NewGRFs.
| newgrf_debug.h
| Functions/types related to NewGRF debugging.
| newgrf_debug_gui.cpp
| GUIs for debugging NewGRFs.
| newgrf_engine.cpp
| NewGRF handling of engines.
| newgrf_engine.h
| Functions for NewGRF engines.
| newgrf_generic.cpp
| Handling of generic feature callbacks.
| newgrf_generic.h
| Functions related to generic callbacks.
| newgrf_gui.cpp
| GUI to change NewGRF settings.
| newgrf_house.cpp
| Implementation of NewGRF houses.
| newgrf_house.h
| Functions related to NewGRF houses.
| newgrf_industries.cpp
| Handling of NewGRF industries.
| newgrf_industries.h
| Functions for NewGRF industries.
| newgrf_industrytiles.cpp
| NewGRF handling of industry tiles.
| newgrf_industrytiles.h
| NewGRF handling of industry tiles.
| newgrf_object.cpp
| Handling of object NewGRFs.
| newgrf_object.h
| Functions related to NewGRF objects.
| newgrf_profiling.cpp
| Profiling of NewGRF action 2 handling.
| newgrf_profiling.h
| Profiling of NewGRF action 2 handling.
| newgrf_properties.h
| Properties of NewGRF Action 0.
| newgrf_railtype.cpp
| NewGRF handling of rail types.
| newgrf_railtype.h
| NewGRF handling of rail types.
| newgrf_roadstop.cpp
| newgrf_roadstop.h
| NewGRF definitions and structures for road stops.
| newgrf_roadtype.cpp
| NewGRF handling of road types.
| newgrf_roadtype.h
| NewGRF handling of road types.
| newgrf_sound.cpp
| Handling NewGRF provided sounds.
| newgrf_sound.h
| Functions related to NewGRF provided sounds.
| newgrf_spritegroup.cpp
| Handling of primarily NewGRF action 2.
| newgrf_spritegroup.h
| Action 2 handling.
| newgrf_station.cpp
| Functions for dealing with station classes and custom stations.
| newgrf_station.h
| Header file for NewGRF stations.
| newgrf_storage.cpp
| Functionality related to the temporary and persistent storage arrays for NewGRFs.
| newgrf_storage.h
| Functionality related to the temporary and persistent storage arrays for NewGRFs.
| newgrf_text.cpp
| Implementation of Action 04 "universal holder" structure and functions.
| newgrf_text.h
| Header of Action 04 "universal holder" structure and functions.
| newgrf_text_type.h
| Header of Action 04 "universal holder" structure.
| newgrf_town.cpp
| Implementation of the town part of NewGRF houses.
| newgrf_town.h
| Functions to handle the town part of NewGRF towns.
| newgrf_townname.cpp
| Implementation of Action 0F "universal holder" structure and functions.
| newgrf_townname.h
| Header of Action 0F "universal holder" structure and functions.
| news_cmd.h
| Command definitions related to news messages.
| news_func.h
| Functions related to news.
| news_gui.cpp
| GUI functions related to news messages.
| news_gui.h
| GUI functions related to the news.
| news_type.h
| Types related to news.
| object.h
| Functions related to objects.
| object_base.h
| Base for all objects.
| object_cmd.cpp
| Handling of object tiles.
| object_cmd.h
| Command definitions related to objects.
| object_gui.cpp
| The GUI for objects.
| object_map.h
| Map accessors for object tiles.
| object_type.h
| Types related to object tiles.
| openttd.cpp
| Functions related to starting OpenTTD.
| openttd.h
| Some generic types.
| order_backup.cpp
| Handling of order backups.
| order_backup.h
| Functions related to order backups.
| order_base.h
| Base class for orders.
| order_cmd.cpp
| Handling of orders.
| order_cmd.h
| Command definitions related to orders.
| order_func.h
| Functions related to orders.
| order_gui.cpp
| GUI related to orders.
| order_type.h
| Types related to orders.
| osk_gui.cpp
| The On Screen Keyboard GUI.
| palette.cpp
| Handling of palettes.
| palette_func.h
| Functions related to palettes.
| pbs.cpp
| PBS support routines.
| pbs.h
| PBS support routines.
| picker_func.h
| Functions/types etc.
| picker_gui.cpp
| File for dealing with picker windows
| picker_gui.h
| Functions/types etc.
| progress.cpp
| Functions for modal progress windows.
| progress.h
| Functions related to modal progress.
| provider_manager.h
| Definition of the ProviderManager.
| querystring_gui.h
| Base for the GUIs that have an edit box in them.
| rail.cpp
| Implementation of rail specific functions.
| rail.h
| Rail specific functions.
| rail_cmd.cpp
| Handling of rail tiles.
| rail_cmd.h
| Command definitions for rail.
| rail_gui.cpp
| File for dealing with rail construction user interface
| rail_gui.h
| Functions/types etc.
| rail_map.h
| Hides the direct accesses to the map array with map accessors.
| rail_type.h
| The different types of rail.
| random_access_file.cpp
| Actual implementation of the RandomAccessFile class.
| random_access_file_type.h
| Class related to random access to files.
| rev.h
| declaration of OTTD revision dependent variables
| road.cpp
| Generic road related functions.
| road.h
| Road specific functions.
| road_cmd.cpp
| Commands related to road tiles.
| road_cmd.h
| Road related functions.
| road_func.h
| Functions related to roads.
| road_gui.cpp
| GUI for building roads.
| road_gui.h
| Functions/types related to the road GUIs.
| road_internal.h
| Functions used internally by the roads.
| road_map.cpp
| Complex road accessors.
| road_map.h
| Map accessors for roads.
| road_type.h
| Enums and other types related to roads.
| roadstop.cpp
| Implementation of the roadstop base class.
| roadstop_base.h
| Base class for roadstops.
| roadveh.h
| Road vehicle states.
| roadveh_cmd.cpp
| Handling of road vehicles.
| roadveh_cmd.h
| Command definitions related to road vehicles.
| roadveh_gui.cpp
| GUI for road vehicles.
| safeguards.h
| A number of safeguards to prevent using unsafe methods.
| screenshot.cpp
| The creation of screenshots!
| screenshot.h
| Functions to make screenshots.
| screenshot_bmp.cpp
| BMP screenshot provider.
| screenshot_gui.cpp
| GUI functions related to screenshots.
| screenshot_gui.h
| GUI functions related to screenshots.
| screenshot_pcx.cpp
| PCX screenshots provider.
| screenshot_png.cpp
| PNG screenshot provider.
| screenshot_type.h
| Types related to screenshot providers.
| settingentry_gui.cpp
| Definitions of classes for handling display of individual configuration settings.
| settingentry_gui.h
| Declarations of classes for handling display of individual configuration settings.
| settings.cpp
| All actions handling saving and loading of the settings/configuration goes on in this file.
| settings_cmd.h
| Command definitions related to settings.
| settings_func.h
| Functions related to setting/changing the settings.
| settings_gui.cpp
| GUI for settings.
| settings_gui.h
| Functions for setting GUIs.
| settings_internal.h
| Functions and types used internally for the settings configurations.
| settings_table.cpp
| The tables of all the settings as well as the implementation of most of their callbacks.
| settings_table.h
| Definition of the configuration tables of the settings.
| settings_type.h
| Types related to global configuration settings.
| ship.h
| Base for ships.
| ship_cmd.cpp
| Handling of ships.
| ship_cmd.h
| Command definitions related to ships.
| ship_gui.cpp
| GUI for ships.
| signal.cpp
| functions related to rail signals updating
| signal_func.h
| Functions related to signals.
| signal_type.h
| Types and classes related to signals.
| signature.cpp
| Implementation of signature validation routines.
| signature.h
| Routines to validate signature files.
| signs.cpp
| Handling of signs.
| signs_base.h
| Base class for signs.
| signs_cmd.cpp
| Handling of sign related commands.
| signs_cmd.h
| Command definitions related to signs.
| signs_func.h
| Functions related to signs.
| signs_gui.cpp
| The GUI for signs.
| signs_type.h
| Types related to signs.
| slider.cpp
| Implementation of the horizontal slider widget.
| slider_func.h
| slope_func.h
| Functions related to slopes.
| slope_type.h
| Definitions of a slope.
| smallmap_gui.cpp
| GUI that shows a small map of the world with metadata like owner or height.
| smallmap_gui.h
| Smallmap GUI functions.
| social_integration.cpp
| Base implementation of social integration support.
| social_integration.h
| Interface definitions for game to report/respond to social integration.
| sortlist_type.h
| Base types for having sorted lists in GUIs.
| sound.cpp
| Handling of playing sounds.
| sound_func.h
| Functions related to sound.
| sound_type.h
| Types related to sounds.
| soundloader.cpp
| Handling of loading sounds.
| soundloader_func.h
| Functions related to sound loaders.
| soundloader_opus.cpp
| soundloader_raw.cpp
| Loading of raw sounds.
| soundloader_type.h
| Types related to sound loaders.
| soundloader_wav.cpp
| Loading of wav sounds.
| source_type.h
| Type for the source of cargo.
| sprite.cpp
| Handling of sprites.
| sprite.h
| Base for drawing complex sprites.
| spritecache.cpp
| Caching of sprites.
| spritecache.h
| Functions to cache sprites in memory.
| spritecache_internal.h
| Internal functions to cache sprites in memory.
| spritecache_type.h
| Types related to the sprite cache.
| station.cpp
| Implementation of the station base class.
| station_base.h
| Base classes/functions for stations.
| station_cmd.cpp
| Handling of station tiles.
| station_cmd.h
| Command definitions related to stations.
| station_func.h
| Functions related to stations.
| station_gui.cpp
| The GUI for stations.
| station_gui.h
| Contains enums and function declarations connected with stations GUI.
| station_kdtree.h
| Declarations for accessing the k-d tree of stations.
| station_layout_type.h
| Functions related to station layouts.
| station_map.h
| Maps accessors for stations.
| station_type.h
| Types related to stations.
| statusbar_gui.cpp
| The GUI for the bottom status bar.
| statusbar_gui.h
| Functions, definitions and such used only by the GUI.
| stdafx.h
| Definition of base types and functions in a cross-platform compatible way.
| story.cpp
| Handling of stories.
| story_base.h
| StoryPage base class.
| story_cmd.h
| Command definitions related to stories.
| story_gui.cpp
| GUI for stories.
| story_type.h
| basic types related to story pages
| string.cpp
| Handling of strings (std::string/std::string_view).
| string_base.h
| string_func.h
| Functions related to low-level strings.
| string_type.h
| Types for strings.
| stringfilter.cpp
| Searching and filtering using a stringterm.
| stringfilter_type.h
| Searching and filtering using a stringterm.
| strings.cpp
| Handling of translated strings.
| strings_func.h
| Functions related to OTTD's strings.
| strings_internal.h
| Types and functions related to the internal workings of formatting OpenTTD's strings.
| strings_type.h
| Types related to strings.
| subsidy.cpp
| Handling of subsidies.
| subsidy_base.h
| Subsidy base class.
| subsidy_cmd.h
| Command definitions related to subsidies.
| subsidy_func.h
| Functions related to subsidies.
| subsidy_gui.cpp
| GUI for subsidies.
| subsidy_type.h
| basic types related to subsidies
| survey.cpp
| Functions to survey the current game / system, for crashlog and network-survey.
| survey.h
| Functions to survey the current game / system, for crashlog and network-survey.
| tar_type.h
| Structs, typedefs and macros used for TAR file handling.
| terraform_cmd.cpp
| Commands related to terraforming.
| terraform_cmd.h
| Command definitions related to terraforming.
| terraform_gui.cpp
| GUI related to terraforming the map.
| terraform_gui.h
| GUI stuff related to terraforming.
| textbuf.cpp
| Textbuffer handling.
| textbuf_gui.h
| Stuff related to the text buffer GUI.
| textbuf_type.h
| Stuff related to text buffers.
| texteff.cpp
| Handling of text effects.
| texteff.hpp
| Functions related to text effects.
| textfile_gui.cpp
| Implementation of textfile window.
| textfile_gui.h
| GUI functions related to textfiles.
| textfile_type.h
| Types related to textfiles.
| tgp.cpp
| OTTD Perlin Noise Landscape Generator, aka TerraGenesis Perlin.
| tgp.h
| Functions for the Perlin noise enhanced map generator.
| thread.h
| Base of all threads.
| tile_cmd.h
| Generic 'commands' that can be performed on all tiles.
| tile_map.cpp
| Global tile accessors.
| tile_map.h
| Map writing/reading functions for tiles.
| tile_type.h
| Types related to tiles.
| tilearea.cpp
| Handling of tile areas.
| tilearea_type.h
| Type for storing the 'area' of something uses on the map.
| tilehighlight_func.h
| Functions related to tile highlights.
| tilehighlight_type.h
| Types related to highlighting tiles.
| timetable.h
| Functions related to time tabling.
| timetable_cmd.cpp
| Commands related to time tabling.
| timetable_cmd.h
| Command definitions related to timetables.
| timetable_gui.cpp
| GUI for time tabling.
| toolbar_gui.cpp
| Code related to the (main) toolbar.
| toolbar_gui.h
| Stuff related to the (main) toolbar.
| town.h
| Base of the town class.
| town_cmd.cpp
| Handling of town tiles.
| town_cmd.h
| Command definitions related to towns.
| town_gui.cpp
| GUI for towns.
| town_kdtree.h
| Declarations for accessing the k-d tree of towns.
| town_map.h
| Accessors for towns.
| town_type.h
| Types related to towns.
| townname.cpp
| Town name generators.
| townname_func.h
| Town name generator stuff.
| townname_type.h
| Definition of structures used for generating town names.
| track_func.h
| Different conversion functions from one kind of track to another.
| track_type.h
| All types related to tracks.
| train.h
| Base for the train class.
| train_cmd.cpp
| Handling of trains.
| train_cmd.h
| Command definitions related to trains.
| train_gui.cpp
| GUI for trains.
| transparency.h
| Functions related to transparency.
| transparency_gui.cpp
| The transparency GUI.
| transparency_gui.h
| GUI functions related to transparency.
| transport_type.h
| Base types related to transport.
| tree_cmd.cpp
| Handling of tree tiles.
| tree_cmd.h
| Command definitions related to tree tiles.
| tree_gui.cpp
| GUIs for building trees.
| tree_map.h
| Map accessors for tree tiles.
| tunnel_map.cpp
| Map accessors for tunnels.
| tunnel_map.h
| Map accessors for tunnels.
| tunnelbridge.h
| Header file for things common for tunnels and bridges.
| tunnelbridge_cmd.cpp
| This file deals with tunnels and bridges (non-gui stuff)
| tunnelbridge_cmd.h
| Command definitions related to tunnels and bridges.
| tunnelbridge_map.h
| Functions that have tunnels and bridges in common.
| vehicle.cpp
| Base implementations of all vehicles.
| vehicle_base.h
| Base class for all vehicles.
| vehicle_cmd.cpp
| Commands for vehicles.
| vehicle_cmd.h
| Command definitions for vehicles.
| vehicle_func.h
| Functions related to vehicles.
| vehicle_gui.cpp
| The base GUI for all vehicles.
| vehicle_gui.h
| Functions related to the vehicle's GUIs.
| vehicle_gui_base.h
| Functions/classes shared between the different vehicle list GUIs.
| vehicle_type.h
| Types related to vehicles.
| vehiclelist.cpp
| Lists of vehicles.
| vehiclelist.h
| Functions and type for generating vehicle lists.
| vehiclelist_cmd.h
| Functions and type for serializing vehicle lists.
| vehiclelist_func.h
| Functions and type for generating vehicle lists.
| viewport.cpp
| Handling of all viewports.
| viewport_cmd.h
| Command definitions related to viewports.
| viewport_func.h
| Functions related to (drawing on) viewports.
| viewport_gui.cpp
| Extra viewport window.
| viewport_kdtree.h
| viewport_sprite_sorter.h
| Types related to sprite sorting.
| viewport_sprite_sorter_sse4.cpp
| Sprite sorter that uses SSE4.1.
| viewport_type.h
| Types related to viewports.
| void_cmd.cpp
| Handling of void tiles.
| void_map.h
| Map accessors for void tiles.
| water.h
| Functions related to water (management)
| water_cmd.cpp
| Handling of water tiles.
| water_cmd.h
| Command definitions related to water tiles.
| water_map.h
| Map accessors for water tiles.
| waypoint.cpp
| Handling of waypoints.
| waypoint_base.h
| Base of waypoints.
| waypoint_cmd.cpp
| Command Handling for waypoints.
| waypoint_cmd.h
| Command definitions related to waypoints.
| waypoint_func.h
| Functions related to waypoints.
| waypoint_gui.cpp
| Handling of waypoints gui.
| widget.cpp
| Handling of the default/simple widgets.
| widget_type.h
| Definitions about widgets.
| window.cpp
| Windowing system, widgets and events.
| window_func.h
| Window functions not directly related to making/drawing windows.
| window_gui.h
| Functions, definitions and such used only by the GUI.
| window_type.h
| Types related to windows.
| zoom_func.h
| Functions related to zooming.
| zoom_type.h
| Types related to zooming in and out.