OpenTTD/src
2025-05-01 22:36:53 +01:00
..
3rdparty
ai
blitter Codechange: use const for std::string_view where appropriate 2025-04-29 10:15:18 +02:00
core
fontcache
game
lang
linkgraph Codechange: Rename CenterBounds to CentreBounds and move to geometry header. (#14002) 2025-04-14 23:55:40 +01:00
misc
music
network
newgrf Codechange: use const for std::string_view where appropriate 2025-04-29 10:15:18 +02:00
os Codechange: replace char* in GetOptData with std::string_view 2025-04-30 23:49:06 +02:00
pathfinder
saveload
script
settingsgen
sound
spriteloader
strgen
table Codechange: use std::string_view for the string setting defaults 2025-05-01 23:24:43 +02:00
tests
timer
video
widgets
aircraft_cmd.cpp
aircraft_cmd.h
aircraft_gui.cpp
aircraft.h Codechange: Use EnumBitSet for VehStates. (#13755) 2025-03-08 18:24:21 +00:00
airport_cmd.h
airport_gui.cpp
airport.cpp
airport.h
animated_tile_func.h
animated_tile_map.h
animated_tile.cpp Fix 6a07f28103: Clearing animated tiles may lead to invalid state. (#13192) 2024-12-23 22:35:43 +01:00
articulated_vehicles.cpp
articulated_vehicles.h Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
autocompletion.cpp
autocompletion.h
autoreplace_base.h
autoreplace_cmd.cpp
autoreplace_cmd.h Codechange: Use EnumBitSet for CommandFlags. (#13560) 2025-02-15 09:36:20 +00:00
autoreplace_func.h
autoreplace_gui.cpp
autoreplace_gui.h
autoreplace_type.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
autoreplace.cpp
autoslope.h Codechange: split GetRoadDir as bays have DiagDir and drive throughs have Axis 2024-10-24 20:40:32 +02:00
base_consist.cpp
base_consist.h Codechange: Use EnumBitSet for VehicleFlags. (#13793) 2025-03-13 08:38:54 +00:00
base_media_base.h
base_media_func.h
base_media_graphics.h
base_media_music.h
base_media_sounds.h
base_station_base.h
bitmap_type.h
bmp.cpp Codechange: Replace BmpBuffer with RandomAccessFile. 2024-08-24 22:11:04 +01:00
bmp.h
bootstrap_gui.cpp Codechange: use std::string_view for ini_key 2025-05-01 23:24:43 +02:00
bridge_gui.cpp
bridge_map.cpp
bridge_map.h
bridge.h
build_vehicle_gui.cpp
cachecheck.cpp
cargo_type.h
cargoaction.cpp
cargoaction.h
cargomonitor.cpp
cargomonitor.h
cargopacket.cpp
cargopacket.h
cargotype.cpp
cargotype.h
cheat_func.h
cheat_gui.cpp
cheat_type.h
cheat.cpp
clear_cmd.cpp
clear_func.h
clear_map.h
CMakeLists.txt
command_func.h
command_type.h Codechange: replace char* with std::string_view 2025-04-27 20:08:02 +02:00
command.cpp
company_base.h
company_cmd.cpp Fix #14166, dfd9fbf873: Loan was no longer invalidated when refreshing finance window. (#14168) 2025-04-29 23:52:11 +01:00
company_cmd.h
company_func.h
company_gui.cpp
company_gui.h
company_manager_face.h
company_type.h
console_cmds.cpp
console_func.h
console_gui.cpp
console_gui.h
console_internal.h Codechange: use std::string_view for console commands 2025-04-26 14:15:10 +02:00
console_type.h
console.cpp
cpu.cpp
cpu.h
crashlog.cpp
crashlog.h
currency.cpp
currency.h
date_gui.cpp
date_gui.h
debug.cpp
debug.h Codechange: replace char* with std::string_view 2025-04-27 20:08:02 +02:00
dedicated.cpp
depot_base.h
depot_cmd.cpp
depot_cmd.h
depot_func.h
depot_gui.cpp Change: Include dragged train in depot tile length display. (#14060) 2025-04-21 16:37:10 +01:00
depot_map.h
depot_type.h
depot.cpp
direction_func.h
direction_type.h
disaster_vehicle.cpp
disaster_vehicle.h
dock_cmd.h Codechange: Move command callback declarations to the cmd header files. 2021-12-16 22:28:32 +01:00
dock_gui.cpp
driver.cpp
driver.h
dropdown_common_type.h Codefix: Add missing header includes. 2025-04-20 22:06:18 +02:00
dropdown_func.h
dropdown_type.h
dropdown.cpp
economy_base.h
economy_cmd.h
economy_func.h
economy_type.h
economy.cpp
effectvehicle_base.h
effectvehicle_func.h
effectvehicle.cpp
elrail_func.h
elrail.cpp
engine_base.h
engine_cmd.h
engine_func.h
engine_gui.cpp
engine_gui.h
engine_type.h
engine.cpp
error_func.h Codechange: Use __VA_OPT__(,) instead of , ## (#12921) 2024-09-12 07:06:15 +01:00
error_gui.cpp
error.cpp
error.h
fileio_func.h Codechange: replace char* with std::string_view 2025-04-28 21:31:12 +02:00
fileio_type.h
fileio.cpp
fios_gui.cpp
fios.cpp Codechange: make some saveload functions work natively with std::string_view 2025-04-30 23:49:06 +02:00
fios.h
fontcache.cpp Codechange: use std::move when appropriate 2025-03-13 13:00:24 +01:00
fontcache.h
fontdetection.h
framerate_gui.cpp
framerate_type.h
gamelog_internal.h
gamelog.cpp
gamelog.h
genworld_gui.cpp
genworld.cpp
genworld.h
gfx_func.h
gfx_layout_fallback.cpp
gfx_layout_fallback.h
gfx_layout_icu.cpp
gfx_layout_icu.h
gfx_layout.cpp
gfx_layout.h Codechange: Use std::string_view in IME input handling. 2025-04-30 19:33:56 +02:00
gfx_type.h Codechange: replace char* with std::string_view 2025-04-27 20:08:02 +02:00
gfx.cpp
gfxinit.cpp
gfxinit.h
goal_base.h
goal_cmd.h
goal_gui.cpp
goal_type.h
goal.cpp
graph_gui.cpp
graph_gui.h
ground_vehicle.cpp
ground_vehicle.hpp
group_cmd.cpp
group_cmd.h
group_gui.cpp
group_gui.h
group_type.h Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
group.h
gui.h Change: Merge Game Options and Game Settings together. 2025-04-23 19:07:52 +01:00
heightmap.cpp Codechange: replace char* with std::string_view 2025-04-27 20:08:02 +02:00
heightmap.h
help_gui.cpp
help_gui.h
highscore_gui.cpp
highscore.cpp
highscore.h
hotkeys.cpp
hotkeys.h
house_type.h Codechange: Unify random trigger enums and turn them into enum classes. (#14066) 2025-04-21 20:03:34 +02:00
house.h
industry_cmd.cpp
industry_cmd.h Codechange: Pass encoded script strings as EncodedString. 2025-03-04 21:40:39 +00:00
industry_gui.cpp
industry_map.h
industry_type.h Codechange: Turn AnimationTrigger enums into enum classes. (#14067) 2025-04-21 20:53:31 +02:00
industry.h
industrytype.h Codechange: Rename GRFFileProps to SubstituteGRFFileProps. 2025-04-28 13:44:46 +02:00
ini_load.cpp Codechange: replace char* from settingsgen 2025-04-28 23:27:46 +02:00
ini_type.h Codechange: replace char* from settingsgen 2025-04-28 23:27:46 +02:00
ini.cpp
intro_gui.cpp Codechange: use std::string_view for ini_key 2025-05-01 23:24:43 +02:00
landscape_cmd.h
landscape_type.h
landscape.cpp Codechange: Remove c_str, if std::string_view is already accepted. 2025-04-30 19:33:56 +02:00
landscape.h Codechange: use unique_ptr over CallocT and avoid copying table 2025-01-13 23:13:28 +01:00
language.h
league_base.h
league_cmd.cpp
league_cmd.h Codechange: Pass encoded script strings as EncodedString. 2025-03-04 21:40:39 +00:00
league_gui.cpp
league_gui.h
league_type.h
library_loader.h
livery.h
main_gui.cpp
map_func.h
map_type.h
map.cpp Codechange: Remove CircularTileSearch. 2025-04-20 12:50:45 +02:00
misc_cmd.cpp
misc_cmd.h
misc_gui.cpp
misc.cpp
mixer.cpp
mixer.h Codechange: Implement SoundLoader interface and cache loaded sounds in memory. 2024-12-06 18:41:35 +00:00
music_gui.cpp
music.cpp
newgrf_act5.h
newgrf_airport.cpp
newgrf_airport.h
newgrf_airporttiles.cpp Codechange: Move SpriteGroup cast from callers into Resolve. 2025-04-29 10:35:10 +02:00
newgrf_airporttiles.h
newgrf_animation_base.h
newgrf_animation_type.h
newgrf_badge_gui.cpp
newgrf_badge_gui.h
newgrf_badge_type.h Add: NewGRF Badges. 2025-02-16 22:24:25 +00:00
newgrf_badge.cpp Codechange: Remove virtual functions SpriteGroup::GetResult and GetNumResults. They are only implemented in and called via ResultSpriteGroup. 2025-04-29 10:35:10 +02:00
newgrf_badge.h
newgrf_callbacks.h
newgrf_canal.cpp Codechange: Remove virtual functions SpriteGroup::GetResult and GetNumResults. They are only implemented in and called via ResultSpriteGroup. 2025-04-29 10:35:10 +02:00
newgrf_canal.h
newgrf_cargo.cpp
newgrf_cargo.h
newgrf_class_func.h Codefix: Add missing header includes. 2025-04-20 22:06:18 +02:00
newgrf_class.h
newgrf_commons.cpp Codechange: Use proper enum type to index sprite groups in VariableGRFFileProps. 2025-04-27 19:50:51 +02:00
newgrf_commons.h
newgrf_config.cpp Codechange: Use format instead of to_string. 2025-04-29 20:26:23 +02:00
newgrf_config.h
newgrf_debug_gui.cpp
newgrf_debug.h
newgrf_engine.cpp
newgrf_engine.h
newgrf_generic.cpp
newgrf_generic.h
newgrf_gui.cpp
newgrf_house.cpp
newgrf_house.h Codechange: Move usage of ResolverObjects to newgrf_xxx.cpp (#14116) 2025-04-26 20:53:50 +02:00
newgrf_industries.cpp Codechange: Move SpriteGroup cast from callers into Resolve. 2025-04-29 10:35:10 +02:00
newgrf_industries.h
newgrf_industrytiles.cpp
newgrf_industrytiles.h
newgrf_object.cpp
newgrf_object.h
newgrf_profiling.cpp
newgrf_profiling.h
newgrf_properties.h
newgrf_railtype.cpp
newgrf_railtype.h
newgrf_roadstop.cpp Codechange: Move SpriteGroup cast from callers into Resolve. 2025-04-29 10:35:10 +02:00
newgrf_roadstop.h
newgrf_roadtype.cpp
newgrf_roadtype.h Add #12939: [NewGRF] Add road-/tram-/rail-type variable 0x45 to get mutual road-/tram-/rail-type on same tile. (#13934) 2025-04-13 13:23:10 +02:00
newgrf_sound.cpp
newgrf_sound.h
newgrf_spritegroup.cpp
newgrf_spritegroup.h
newgrf_station.cpp
newgrf_station.h
newgrf_storage.cpp
newgrf_storage.h Codechange: remove unused alloc_func.hpp includes 2025-02-24 20:00:19 +01:00
newgrf_text_type.h
newgrf_text.cpp
newgrf_text.h Codechange: Pass unformatted strings from GetStringPtr as std::string_view. (#13871) 2025-03-23 19:23:31 +01:00
newgrf_town.cpp
newgrf_town.h
newgrf_townname.cpp Codechange: remove unused alloc_func.hpp includes 2025-02-24 20:00:19 +01:00
newgrf_townname.h
newgrf.cpp
newgrf.h
news_cmd.h
news_func.h
news_gui.cpp
news_gui.h
news_type.h
object_base.h
object_cmd.cpp
object_cmd.h
object_gui.cpp
object_map.h
object_type.h
object.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
openttd.cpp Codechange: replace char* in GetOptData with std::string_view 2025-04-30 23:49:06 +02:00
openttd.h
order_backup.cpp
order_backup.h
order_base.h
order_cmd.cpp
order_cmd.h Codechange: Use EnumBitSet for CommandFlags. (#13560) 2025-02-15 09:36:20 +00:00
order_func.h Feature: Use real-time "wallclock" timekeeping units (#11341) 2024-01-23 11:36:09 -05:00
order_gui.cpp
order_type.h
osk_gui.cpp
palette_func.h
palette.cpp Cleanup: Fix various spelling errors 2025-02-12 22:44:51 +01:00
pbs.cpp Add: [NewGRF] Station/roadstop animation-triggers 'tile loop' (bit 7) and 'path reservation' (bit 8). (#14080) 2025-04-26 14:44:55 +02:00
pbs.h
picker_func.h
picker_gui.cpp
picker_gui.h Codechange: Move GUI parts of badges to a separate file. (#14023) 2025-04-18 17:20:31 +01:00
progress.cpp
progress.h
provider_manager.h
querystring_gui.h Codechange: Use std::string_view in IME input handling. 2025-04-30 19:33:56 +02:00
rail_cmd.cpp
rail_cmd.h
rail_gui.cpp
rail_gui.h
rail_map.h
rail_type.h
rail.cpp
rail.h
random_access_file_type.h
random_access_file.cpp
rev.cpp.in
rev.h
road_cmd.cpp
road_cmd.h Codefix: Add missing header includes. 2025-04-20 22:06:18 +02:00
road_func.h
road_gui.cpp
road_gui.h
road_internal.h
road_map.cpp
road_map.h Codefix: Comment style. (#14064) 2025-04-21 17:25:09 +02:00
road_type.h
road.cpp
road.h
roadstop_base.h
roadstop.cpp
roadveh_cmd.cpp Fix: Road vehicle blocking and train collissions used slightly inconsistent distance thresholds. 2025-04-26 19:32:59 +02:00
roadveh_cmd.h
roadveh_gui.cpp
roadveh.h
safeguards.h
screenshot_bmp.cpp
screenshot_gui.cpp
screenshot_gui.h
screenshot_pcx.cpp Codechange: replace char* with std::string_view 2025-04-28 21:31:12 +02:00
screenshot_png.cpp Add: [BaseSet] Allow basesets to set minor and patch versions in obg/obs/obm files. 2025-04-30 15:23:27 +02:00
screenshot_type.h Codechange: replace char* with std::string_view 2025-04-28 21:31:12 +02:00
screenshot.cpp
screenshot.h
settingentry_gui.cpp
settingentry_gui.h
settings_cmd.h
settings_func.h
settings_gui.cpp
settings_gui.h
settings_internal.h
settings_table.cpp
settings_table.h
settings_type.h
settings.cpp
ship_cmd.cpp
ship_cmd.h Codechange: Use EnumBitSet for DoCommandFlags 2025-02-14 00:28:57 +01:00
ship_gui.cpp
ship.h
signal_func.h
signal_type.h
signal.cpp Codechange: replace char* with C++ style strings 2025-04-30 12:05:04 +02:00
signature.cpp
signature.h
signs_base.h
signs_cmd.cpp
signs_cmd.h
signs_func.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 2021-12-16 22:28:32 +01:00
signs_gui.cpp
signs_type.h
signs.cpp
slider_func.h Change: Slider widget can now be colourful. 2025-04-23 19:07:52 +01:00
slider.cpp Change: Slider widget can now be colourful. 2025-04-23 19:07:52 +01:00
slope_func.h
slope_type.h
smallmap_gui.cpp
smallmap_gui.h
social_integration.cpp
social_integration.h
sortlist_type.h
sound_func.h
sound_type.h Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383) 2025-01-28 22:17:34 +00:00
sound.cpp
soundloader_func.h
soundloader_opus.cpp
soundloader_raw.cpp
soundloader_type.h Codechange: Implement SoundLoader interface and cache loaded sounds in memory. 2024-12-06 18:41:35 +00:00
soundloader_wav.cpp
soundloader.cpp
source_type.h
sprite.cpp Codechange: use span size over terminator object 2025-02-16 11:19:12 +01:00
sprite.h
spritecache_internal.h
spritecache.cpp
spritecache.h
station_base.h
station_cmd.cpp Codechange: Use EnumBitSet for HouseZones. (#14137) 2025-04-28 20:27:43 +01:00
station_cmd.h
station_func.h
station_gui.cpp Codechange: replace some more char*s with std::string_view 2025-04-30 23:49:06 +02:00
station_gui.h
station_kdtree.h
station_map.h
station_type.h
station.cpp
statusbar_gui.cpp
statusbar_gui.h
stdafx.h
story_base.h
story_cmd.h
story_gui.cpp
story_type.h
story.cpp
string_base.h
string_func.h
string_type.h
string.cpp
stringfilter_type.h Codechange: StringFilter now uses std::string_view entirely (#13869) 2025-03-22 20:35:31 +01:00
stringfilter.cpp
strings_func.h Codechange: replace C-style strings with std::string_view related to strings functions 2025-04-27 17:57:42 +02:00
strings_internal.h
strings_type.h
strings.cpp
subsidy_base.h
subsidy_cmd.h
subsidy_func.h
subsidy_gui.cpp Codechange: Rename CenterBounds to CentreBounds and move to geometry header. (#14002) 2025-04-14 23:55:40 +01:00
subsidy_type.h
subsidy.cpp
survey.cpp
survey.h
tar_type.h
terraform_cmd.cpp
terraform_cmd.h
terraform_gui.cpp
terraform_gui.h
textbuf_gui.h
textbuf_type.h Codechange: Use std::string_view in IME input handling. 2025-04-30 19:33:56 +02:00
textbuf.cpp
texteff.cpp
texteff.hpp
textfile_gui.cpp Codechange: use std::string_view over const char * 2025-04-27 18:04:04 +02:00
textfile_gui.h
textfile_type.h
tgp.cpp
tgp.h Feature: auto-detect map height limit based on generated map 2021-03-26 12:22:32 +01:00
thread.h Codechange: Space between template and < (#13278) 2025-01-04 17:56:14 +00:00
tile_cmd.h
tile_map.cpp
tile_map.h
tile_type.h
tilearea_type.h Codechange: Add SpiralTileSequence to iterate over a tile area the same ways as CircularTileSearch. 2025-04-20 12:50:45 +02:00
tilearea.cpp
tilehighlight_func.h
tilehighlight_type.h Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383) 2025-01-28 22:17:34 +00:00
timetable_cmd.cpp Fix #14104, 67a0fcc: Don't base timetable timing decisions on client settings. (#14105) 2025-04-26 22:39:01 +01:00
timetable_cmd.h
timetable_gui.cpp
timetable.h
toolbar_gui.cpp Codechange: use std::string_view for ini_key 2025-05-01 23:24:43 +02:00
toolbar_gui.h Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383) 2025-01-28 22:17:34 +00:00
town_cmd.cpp Codechange: Use EnumBitSet for HouseZones. (#14137) 2025-04-28 20:27:43 +01:00
town_cmd.h
town_gui.cpp
town_kdtree.h
town_map.h
town_type.h
town.h
townname_func.h
townname_type.h
townname.cpp
track_func.h
track_type.h
train_cmd.cpp
train_cmd.h
train_gui.cpp
train.h Codechange: Use EnumBitSet for ConsistChangeFlags. (#13788) 2025-03-09 21:13:57 +00:00
transparency_gui.cpp Codechange: Use EnumBitSet for StationFacility. 2025-02-13 18:03:13 +00:00
transparency_gui.h
transparency.h
transport_type.h
tree_cmd.cpp
tree_cmd.h
tree_gui.cpp Codefix: Comment style. (#14064) 2025-04-21 17:25:09 +02:00
tree_map.h
tunnel_map.cpp Codechange: migrate size related functions to Map structure 2023-01-21 17:11:40 +01:00
tunnel_map.h
tunnelbridge_cmd.cpp
tunnelbridge_cmd.h
tunnelbridge_map.h
tunnelbridge.h
vehicle_base.h
vehicle_cmd.cpp
vehicle_cmd.h Codechange: Use EnumBitSet for CommandFlags. (#13560) 2025-02-15 09:36:20 +00:00
vehicle_func.h
vehicle_gui_base.h
vehicle_gui.cpp
vehicle_gui.h
vehicle_type.h
vehicle.cpp
vehiclelist_cmd.h
vehiclelist_func.h
vehiclelist.cpp
vehiclelist.h
viewport_cmd.h
viewport_func.h
viewport_gui.cpp
viewport_kdtree.h
viewport_sprite_sorter_sse4.cpp
viewport_sprite_sorter.h
viewport_type.h
viewport.cpp Codechange: (re)set multiple bitset flags in one call. (#14017) 2025-04-18 14:07:57 +01:00
void_cmd.cpp
void_map.h
water_cmd.cpp Codechange: Replace FindVehicleOnPos with 'for' loop. 2025-04-22 22:12:59 +02:00
water_cmd.h
water_map.h Codechange: strongly type DepotID 2025-02-09 16:52:21 +01:00
water.h Codechange: Confusion of 'radius' and 'diameter' in variable names and comments. 2025-04-20 12:50:45 +02:00
waypoint_base.h
waypoint_cmd.cpp
waypoint_cmd.h Codechange: Use EnumBitSet for CommandFlags. (#13560) 2025-02-15 09:36:20 +00:00
waypoint_func.h Codechange: Use EnumBitSet for DoCommandFlags 2025-02-14 00:28:57 +01:00
waypoint_gui.cpp
waypoint.cpp
widget_type.h
widget.cpp
window_func.h Codechange: introduce ConvertibleThroughBase helpers 2025-02-16 14:02:18 +01:00
window_gui.h Codechange: use std::string_view for ini_key 2025-05-01 23:24:43 +02:00
window_type.h
window.cpp
zoom_func.h
zoom_type.h