OpenTTD/src
Peter Nelson 5e689ce25e
Codechange: Store cursor sprites in vector. (#12564)
Combine two separate fixed length arrays to allow simpler iteration.

No need to check that arrays are all the same length.
No need to separately store the number of sprites to draw.
Removes the upper limit of the number of sprites that can be drawn.

Removes lengthof and array indices.
2024-04-24 21:26:07 +01:00
..
3rdparty Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
ai Codechange: [Script] Use std::unique_ptr for Company::ai_instance (#12544) 2024-04-20 16:58:46 +02:00
blitter Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
core Codechange: Replace C-casts in pool functions. (#12541) 2024-04-20 16:50:13 +01:00
fontcache Codechange: Remove per font AA settings. (#12413) 2024-04-15 21:44:33 +02:00
game Codechange: Remove some unnecessary c_str() when passing std::strings. (#12532) 2024-04-18 22:13:13 +01:00
lang Update: Translations from eints 2024-04-24 04:40:54 +00:00
linkgraph Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
misc Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
music Codechange: replace lengthof with std::size in Windows specific code 2024-04-10 23:17:13 +02:00
network Codechange: Use map.emplace() instead of map.insert(std::pair). 2024-04-20 10:25:20 +01:00
os Change: Use std::make_unique instead of passing new() (#12539) 2024-04-20 11:20:49 +01:00
pathfinder Codechange: record cache warnings with a "warning" prefix (#12518) 2024-04-17 19:49:55 +00:00
saveload Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
script Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
settingsgen Codechange: Use std::filesystem::remove/rename in settingsgen. (#12483) 2024-04-12 14:32:35 +01:00
sound Fix 25aeb1c: Driver parameter documentation was not updated. (#12486) 2024-04-12 17:01:40 +00:00
spriteloader Change: Use std::make_unique instead of passing new() (#12539) 2024-04-20 11:20:49 +01:00
strgen Codechange: std::filesystem::rename does not need remove first. (#12484) 2024-04-12 12:51:42 +01:00
table Codechange: use C++ containers for parsing the settings int lists 2024-04-20 11:57:45 +02:00
tests Fix fb9d4af: use different nonces for key exchange and stream encryption 2024-03-31 15:14:16 +02:00
timer Codefix: missing space between close parenthesis and open curly brace 2024-04-16 19:28:09 +02:00
video Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
widgets Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
CMakeLists.txt Codechange: Move cache check function to own file. 2024-04-18 22:13:55 +01:00
aircraft.h Fix #12415, 9c49a61, df400ef: Aircraft::tile is valid only for front vehicle (#12416) 2024-04-03 23:16:36 +02:00
aircraft_cmd.cpp Fix: Aircraft crash counter was too low to reach ground. (#12425) 2024-04-05 19:16:22 +01:00
aircraft_cmd.h
aircraft_gui.cpp Codechange: Remove FONT_HEIGHT_... macros. (#11481) 2023-11-21 19:04:24 +00:00
airport.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
airport.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
airport_cmd.h
airport_gui.cpp Change: Expose NewGRF classes and specs as spans and simplify iteration. 2024-04-09 21:46:59 +01:00
animated_tile.cpp Codechange: rename smallvec_type to container_func and use only when needed 2023-05-20 16:53:10 +02:00
animated_tile_func.h
articulated_vehicles.cpp Change: Decouple and remove landscape-dependent cargo types. (#11719) 2024-02-04 10:16:08 +00:00
articulated_vehicles.h Fix: Trivial autoreplace of mixed cargo articulated engines (#11253) 2023-11-20 14:16:28 +01:00
autocompletion.cpp Add: Basic autocompletion on tab for console commands (#12163) 2024-03-13 21:43:08 +01:00
autocompletion.h Add: Basic autocompletion on tab for console commands (#12163) 2024-03-13 21:43:08 +01:00
autoreplace.cpp Add #7525: Allow autoreplace with same model vehicle 2023-02-26 21:29:25 +01:00
autoreplace_base.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
autoreplace_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
autoreplace_cmd.h
autoreplace_func.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
autoreplace_gui.cpp Fix: Draw continuation lines for engine variant hierarchy tree. (#12434) 2024-04-09 08:35:12 +01:00
autoreplace_gui.h
autoreplace_type.h
autoslope.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
base_consist.cpp Feature: Order flag to unbunch vehicles at depot (#11945) 2024-02-03 08:04:24 -05:00
base_consist.h Feature: Order flag to unbunch vehicles at depot (#11945) 2024-02-03 08:04:24 -05:00
base_media_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
base_media_func.h Add: Website button to Game Options window for basesets. 2023-12-03 18:52:33 +00:00
base_station_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
bitmap_type.h Codechange: Add missing override specifiers. 2023-09-25 21:27:45 +01:00
bmp.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
bmp.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
bootstrap_gui.cpp Codechange: Use `x = y` instead of `x{y}` for value-type member initialisation. (#12501) 2024-04-15 23:07:36 +01:00
bridge.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
bridge_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
bridge_map.cpp Codechange: Use references for non-optional in/out values of slope functions 2024-03-08 18:08:55 +01:00
bridge_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
build_vehicle_gui.cpp Codefix: missing space between close parenthesis and open curly brace 2024-04-16 19:28:09 +02:00
cachecheck.cpp Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
cargo_type.h Fix 2fd9096: Label for fruit incorrectly changed to `FRUI` from `FRUT`. (#12367) 2024-03-24 15:53:26 +00:00
cargoaction.cpp Fix: only count distance traveled in vehicles for cargo payment (#11283) 2023-09-19 22:16:31 +02:00
cargoaction.h Fix: only count distance traveled in vehicles for cargo payment (#11283) 2023-09-19 22:16:31 +02:00
cargomonitor.cpp Codechange: Use map.emplace() instead of map.insert(std::pair). 2024-04-20 10:25:20 +01:00
cargomonitor.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
cargopacket.cpp Fix: only count distance traveled in vehicles for cargo payment (#11283) 2023-09-19 22:16:31 +02:00
cargopacket.h Codechange: Use `x = y` instead of `x{y}` for value-type member initialisation. (#12501) 2024-04-15 23:07:36 +01:00
cargotype.cpp Codechange: Use map.emplace() instead of map.insert(std::pair). 2024-04-20 10:25:20 +01:00
cargotype.h Codechange: Use `x = y` instead of `x{y}` for value-type member initialisation. (#12501) 2024-04-15 23:07:36 +01:00
cheat.cpp
cheat_func.h
cheat_gui.cpp Codechange: range based for loops instead of C-style for loops 2024-04-11 07:05:04 +02:00
cheat_type.h Feature: Cheat to fix station ratings at 100% (#11346) 2023-10-21 08:35:52 -04:00
clear_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
clear_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
clear_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
command.cpp Cleanup: Use standard comment format (#11929) 2024-01-30 18:43:42 +00:00
command_func.h Codefix: cast to "CommandCallback *" in a way cast-function-type-mismatch doesn't mind (#12529) 2024-04-18 16:41:36 +00:00
command_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
company_base.h Codechange: [Script] Use std::unique_ptr for Company::ai_instance (#12544) 2024-04-20 16:58:46 +02:00
company_cmd.cpp Codechange: [Script] Use std::unique_ptr for Company::ai_instance (#12544) 2024-04-20 16:58:46 +02:00
company_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
company_func.h Feature: Infinite money mode (#11902) 2024-01-30 18:01:02 +00:00
company_gui.cpp Codechange: Use std::accumulate to get infrastructure total rail/road pieces. (#12442) 2024-04-20 10:22:19 +01:00
company_gui.h
company_manager_face.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
company_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
console.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
console_cmds.cpp Codechange: Remove per font AA settings. (#12413) 2024-04-15 21:44:33 +02:00
console_func.h Codechange: compile-time validate the string format of IConsolePrint (#11804) 2024-01-16 21:04:35 +00:00
console_gui.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
console_gui.h
console_internal.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
console_type.h
cpu.cpp Remove: rdtsc and TIC/TOC based on CPU ticks (#11856) 2024-01-21 15:38:15 +00:00
cpu.h Remove: rdtsc and TIC/TOC based on CPU ticks (#11856) 2024-01-21 15:38:15 +00:00
crashlog.cpp Codechange: Use std::list for News Items. (#12338) 2024-04-04 07:53:14 +01:00
crashlog.h Change: store crash logs in JSON format (#11232) 2023-09-14 20:13:27 +02:00
currency.cpp Codechange: Replace currency macros with functions. (#12396) 2024-03-29 14:49:48 +00:00
currency.h Codechange: Replace currency macros with functions. (#12396) 2024-03-29 14:49:48 +00:00
date_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
date_gui.h Codechange: Split dates and timers into Economy and Calendar time (#10700) 2024-01-22 09:04:34 -05:00
debug.cpp Codefix: don't send desync=0 log messages to commands.log (#12517) 2024-04-17 19:51:36 +00:00
debug.h Codechange: use std::source_location over __FILE__ and __LINE__ for Backup 2024-03-10 10:14:20 +01:00
dedicated.cpp Change: include fmt.h C++ headers in stdafx.h 2023-05-08 16:49:23 +02:00
depot.cpp
depot_base.h Codechange: Shuffle Depot members to reduce padding. 2023-09-14 09:50:58 +01:00
depot_cmd.cpp
depot_cmd.h
depot_func.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
depot_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
depot_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
depot_type.h Codechange: Invalid depot value is unrelated to invalid station value. (#11227) 2023-08-25 14:29:51 +02:00
direction_func.h Fix #11815, bb491127: Missing brackets prevented vehicles turning properly. (#11816) 2024-01-17 13:23:55 +00:00
direction_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
disaster_vehicle.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
disaster_vehicle.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
dock_cmd.h
dock_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
driver.cpp Codechange: Introduce FioRemove() to remove files. (#12491) 2024-04-14 23:43:50 +01:00
driver.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
dropdown.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
dropdown_common_type.h Codechange: Move drop down list item definitions to separate header. 2024-04-01 22:33:16 +01:00
dropdown_func.h Codechange: Use functions to create common drop down list items. 2024-04-01 22:33:16 +01:00
dropdown_type.h Codechange: Move drop down list item definitions to separate header. 2024-04-01 22:33:16 +01:00
economy.cpp Fix #12415, 9c49a61, df400ef: Aircraft::tile is valid only for front vehicle (#12416) 2024-04-03 23:16:36 +02:00
economy_base.h Codechange: Shuffle CargoPayment members to reduce padding. 2023-09-14 09:50:58 +01:00
economy_cmd.h Feature: allow to do a hostile takeover of an AI company (in singleplayer) (#10914) 2023-06-05 19:32:22 +02:00
economy_func.h Feature: Settings to scale cargo production of towns and industries (#10606) 2024-01-30 15:11:46 -05:00
economy_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
effectvehicle.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
effectvehicle_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
effectvehicle_func.h
elrail.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
elrail_func.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
engine.cpp Change: Decouple and remove landscape-dependent cargo types. (#11719) 2024-02-04 10:16:08 +00:00
engine_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
engine_cmd.h
engine_func.h Fix: Calculation of initial engine age was inaccurate. (#11660) 2023-12-31 15:47:32 +00:00
engine_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
engine_gui.h Fix: Draw continuation lines for engine variant hierarchy tree. (#12434) 2024-04-09 08:35:12 +01:00
engine_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
error.cpp Codechange: use std::source_location over __FILE__ and __LINE__ for NOT_REACHED 2024-03-10 10:14:20 +01:00
error.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
error_func.h Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 2024-02-02 22:29:28 +01:00
error_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
fileio.cpp Revert 2408a68910: Remove work around for an MSVC bug from 17 years ago. (#12557) 2024-04-23 17:05:08 +01:00
fileio_func.h Remove: Custom opendir implementation for Windows no longer needed. 2024-04-18 01:41:14 +01:00
fileio_type.h Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc (#11628) 2024-01-22 19:22:45 +00:00
fios.cpp Codechange: Remove some unnecessary c_str() when passing std::strings. (#12532) 2024-04-18 22:13:13 +01:00
fios.h Codechange: Replace platform-specific calls with std::filesystem::last_write_time. (#12487) 2024-04-15 18:10:19 +00:00
fios_gui.cpp Change: Use aspect ratio for file home button. 2024-04-19 22:11:16 +01:00
fontcache.cpp Codechange: Remove per font AA settings. (#12413) 2024-04-15 21:44:33 +02:00
fontcache.h Codechange: Remove per font AA settings. (#12413) 2024-04-15 21:44:33 +02:00
fontdetection.h Codechange: Pass language for font detection as std::string. (#10964) 2023-06-06 20:55:56 +00:00
framerate_gui.cpp Codechange: Use std::initializer_list/array in framerate window. (#12441) 2024-04-19 22:07:56 +01:00
framerate_type.h Cleanup: missing spaces before continuation * in some comments 2023-11-01 22:56:11 +01:00
gamelog.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
gamelog.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
gamelog_internal.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
genworld.cpp Add: Check that towns can build roads before generating map. (#12503) 2024-04-16 15:25:07 +00:00
genworld.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
genworld_gui.cpp Fix 5008706: improved scenario editor tooltips in map generation stages are out of place 2024-04-20 21:56:27 +02:00
gfx.cpp Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
gfx_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
gfx_layout.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
gfx_layout.h Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895) 2024-01-27 20:13:42 +00:00
gfx_layout_fallback.cpp Change: Use std::make_unique instead of passing new() (#12539) 2024-04-20 11:20:49 +01:00
gfx_layout_fallback.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
gfx_layout_icu.cpp Change: Use std::make_unique instead of passing new() (#12539) 2024-04-20 11:20:49 +01:00
gfx_layout_icu.h Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895) 2024-01-27 20:13:42 +00:00
gfx_type.h Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
gfxinit.cpp Codechange: Remove per font AA settings. (#12413) 2024-04-15 21:44:33 +02:00
gfxinit.h
goal.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
goal_base.h Feature: [GS] Goal destination can be updated (#10817) 2023-06-08 18:00:31 +01:00
goal_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
goal_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
goal_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
graph_gui.cpp Cleanup: Remove redundant break statement (#12527) 2024-04-18 20:54:20 -04:00
graph_gui.h Feature: [GS] Scriptable league tables (#10001) 2022-11-26 18:03:03 +01:00
ground_vehicle.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
ground_vehicle.hpp Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
group.h Codechange: Replace GroupStatistics' num_engines with std::map. (#11849) 2024-01-21 14:09:44 +00:00
group_cmd.cpp Fix #12010: Use economy timer for vehicle stats minimum age, not calendar (#12142) 2024-03-09 09:38:52 -05:00
group_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
group_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
group_gui.h Change: Draw group hierarchy tree lines. (#12522) 2024-04-17 21:55:19 +01:00
group_type.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
gui.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
heightmap.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
heightmap.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
help_gui.cpp Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
help_gui.h Feature: Help and manuals access window 2023-09-13 16:11:08 +02:00
highscore.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
highscore.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
highscore_gui.cpp Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc 2024-03-10 10:14:20 +01:00
hotkeys.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
hotkeys.h Codechange: Add const versions of GetItem/GetGroup, and sprinkle liberally. 2023-10-20 18:37:27 +01:00
house.h Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
house_type.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
industry.h Codechange: Store accepted and produced cargo in vector instead of array. 2024-04-01 21:35:20 +01:00
industry_cmd.cpp Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
industry_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
industry_gui.cpp Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
industry_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
industry_type.h Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
industrytype.h Codechange: use std::array instead of C-style array for produced/accepts cargo 2024-04-20 11:29:55 +02:00
ini.cpp Fix #12477: Use std::filesystem::rename instead of Windows Shell API call. (#12478) 2024-04-11 21:35:40 +01:00
ini_load.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
ini_type.h Codechange: Use string_view in IniItem/IniGroup/IniFile. (#12535) 2024-04-19 13:54:22 +01:00
intro_gui.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
landscape.cpp Codechange: use std::none_of to express clearer what the code does 2024-04-20 11:30:46 +02:00
landscape.h Codechange: ZOOM_LVL_SHIFT/BASE are not actually ZOOM_LVLs. 2024-04-04 22:27:03 +01:00
landscape_cmd.h
landscape_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
language.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
league_base.h Fix: allow only 255 league tables, as 255 is the invalid id sentinel 2024-04-20 16:53:04 +02:00
league_cmd.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
league_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
league_gui.cpp Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
league_gui.h Feature: [GS] Scriptable league tables (#10001) 2022-11-26 18:03:03 +01:00
league_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
library_loader.h Codechange: refactor the Windows-only DllLoader in a cross-platform LibraryLoader (#11751) 2024-01-10 21:38:58 +00:00
livery.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
main_gui.cpp Codechange: Use initializer_list and range-for for OpenTTD title. (#12430) 2024-04-05 21:52:50 +01:00
map.cpp Codechange: simplify TileAdd by using simple asserts 2024-03-10 15:50:24 +01:00
map_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
map_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
misc.cpp Codechange: Allocate houses dynamically instead of from a fixed array. 2024-03-28 23:23:00 +01:00
misc_cmd.cpp Codechange: use std::source_location over __FILE__ and __LINE__ for Backup 2024-03-10 10:14:20 +01:00
misc_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
misc_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
mixer.cpp Feature: Allow base sounds set to be changed mid-game. (#12399) 2024-04-01 17:54:42 +01:00
mixer.h Feature: Allow base sounds set to be changed mid-game. (#12399) 2024-04-01 17:54:42 +01:00
music.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
music_gui.cpp Codechange: range based for loops instead of C-style for loops 2024-04-11 07:05:04 +02:00
newgrf.cpp Fix 952d111: Houses and industry tiles could accept incorrect cargo. (#12547) 2024-04-21 19:46:05 +01:00
newgrf.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_act5.h Change: Display more useful information in sprite aligner than sprite ID. (#12439) 2024-04-06 21:16:02 +01:00
newgrf_airport.cpp Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_airport.h Codechange: replace C-style array-pointer methods with the appropriate C++ methods 2024-04-20 11:30:46 +02:00
newgrf_airporttiles.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_airporttiles.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_animation_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_animation_type.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
newgrf_callbacks.h Feature: Randomize direction of rail vehicle on build based on probability callback. (#11489) 2023-11-29 22:40:09 +00:00
newgrf_canal.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_canal.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
newgrf_cargo.cpp Change: Decouple and remove landscape-dependent cargo types. (#11719) 2024-02-04 10:16:08 +00:00
newgrf_cargo.h Codechange: Rename and move SpriteGroup-specific cargo types into a namespace. 2024-01-09 18:56:05 +00:00
newgrf_class.h Change: Expose NewGRF classes and specs as spans and simplify iteration. 2024-04-09 21:46:59 +01:00
newgrf_class_func.h Change: Use vector/iterators/algorithms instead of C-array/loops for NewGRF classes. 2024-04-09 21:46:59 +01:00
newgrf_commons.cpp Codechange: Allocate houses dynamically instead of from a fixed array. 2024-03-28 23:23:00 +01:00
newgrf_commons.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_config.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
newgrf_config.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_debug.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
newgrf_debug_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
newgrf_engine.cpp Codechange: range based for loops instead of C-style for loops 2024-04-11 07:05:04 +02:00
newgrf_engine.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_generic.cpp Codechange: range based for loops instead of C-style for loops 2024-04-11 07:05:04 +02:00
newgrf_generic.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
newgrf_gui.cpp Codechange: Use map.emplace() instead of map.insert(std::pair). 2024-04-20 10:25:20 +01:00
newgrf_house.cpp Codechange: Use iteration when dealing with all HouseSpecs. 2024-03-28 23:23:00 +01:00
newgrf_house.h Codechange: Allocate houses dynamically instead of from a fixed array. 2024-03-28 23:23:00 +01:00
newgrf_industries.cpp Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_industries.h Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_industrytiles.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_industrytiles.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_object.cpp Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_object.h Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_profiling.cpp Codechange: minor bits and pieces related to fmt::format() (#11806) 2024-01-16 21:10:34 +00:00
newgrf_profiling.h Codechange: Delete date_type.h 2023-09-10 08:40:25 -04:00
newgrf_properties.h
newgrf_railtype.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_railtype.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_roadstop.cpp Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_roadstop.h Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_roadtype.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_roadtype.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_sound.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
newgrf_sound.h Feature: Hotkey to honk a vehicle's horn (#10110) 2022-11-10 21:36:18 +01:00
newgrf_spritegroup.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_spritegroup.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_station.cpp Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_station.h Codechange: Use std::optional for town parent scope resolver. (#12530) 2024-04-18 22:14:16 +01:00
newgrf_storage.cpp Codechange: record cache warnings with a "warning" prefix (#12518) 2024-04-17 19:49:55 +00:00
newgrf_storage.h Codechange: replace cpp_lengthof with safe alternatives 2024-04-20 13:36:19 +02:00
newgrf_text.cpp Codechange: Pass NewGRF strings as std::string_view instead of char *. (#12461) 2024-04-09 08:40:27 +01:00
newgrf_text.h Codechange: Pass NewGRF strings as std::string_view instead of char *. (#12461) 2024-04-09 08:40:27 +01:00
newgrf_town.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_town.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
newgrf_townname.cpp Codefix: missing space between close parenthesis and open curly brace 2024-04-16 19:28:09 +02:00
newgrf_townname.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
news_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
news_func.h Codechange: Use std::list for News Items. (#12338) 2024-04-04 07:53:14 +01:00
news_gui.cpp Fix #12459, f6a88e4: Crashes when deleting news messages. (#12460) 2024-04-09 21:46:29 +01:00
news_gui.h Codechange: Use std::list for News Items. (#12338) 2024-04-04 07:53:14 +01:00
news_type.h Codechange: Use std::list for News Items. (#12338) 2024-04-04 07:53:14 +01:00
object.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
object_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
object_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
object_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
object_gui.cpp Change: Expose NewGRF classes and specs as spans and simplify iteration. 2024-04-09 21:46:59 +01:00
object_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
object_type.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 Change: Use std::make_unique instead of passing new() (#12539) 2024-04-20 11:20:49 +01:00
openttd.h Codechange: pass command line arguments as std::span to openttd_main 2024-04-11 21:57:53 +02:00
order_backup.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
order_backup.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
order_base.h Codechange: move knowledge about 'packed' orders to the saveload code 2024-04-20 11:58:07 +02:00
order_cmd.cpp Codechange: move knowledge about 'packed' orders to the saveload code 2024-04-20 11:58:07 +02:00
order_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
order_func.h Feature: Use real-time "wallclock" timekeeping units (#11341) 2024-01-23 11:36:09 -05:00
order_gui.cpp Codechange: move knowledge about 'packed' orders to the saveload code 2024-04-20 11:58:07 +02:00
order_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
osk_gui.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
palette.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
palette_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
pbs.cpp Codechange: rename TILE_ADD(XY) to TileAdd(XY) 2024-03-10 15:50:24 +01:00
pbs.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
progress.cpp
progress.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
querystring_gui.h Codechange: Replace mishmash of types for widget index with WidgetID. 2023-12-30 00:23:57 +00:00
rail.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
rail.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
rail_cmd.cpp Change: Allow rail and road depot overbuilding in current orientation in order to connect to rail or road 2024-04-23 13:11:31 +02:00
rail_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
rail_gui.cpp Change: Use aspect ratio for rail station platforms/tracks buttons. 2024-04-19 22:11:16 +01:00
rail_gui.h Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
rail_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
rail_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
random_access_file.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
random_access_file_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
rev.cpp.in Codechange: the "no revision detected" string is with four zeros (norev0000) (#12328) 2024-03-17 13:17:35 +00:00
rev.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
road.cpp Codechange: Use std::tuple for slope functions with two return values 2024-03-08 18:08:55 +01:00
road.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
road_cmd.cpp Change: Allow rail and road depot overbuilding in current orientation in order to connect to rail or road 2024-04-23 13:11:31 +02:00
road_cmd.h Change: Increase object/station/roadstop class limit. (#12094) 2024-04-09 23:16:20 +01:00
road_func.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
road_gui.cpp Change: Expose NewGRF classes and specs as spans and simplify iteration. 2024-04-09 21:46:59 +01:00
road_gui.h Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
road_internal.h
road_map.cpp Codechange: make use of Tile in for all direct map accesses 2023-02-28 07:11:48 +01:00
road_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
road_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
roadstop.cpp Codechange: Use consistent name for bay road stops 2023-11-28 14:24:33 -05:00
roadstop_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
roadveh.h Codechange: Shuffle members of Vehicle to reduce size. 2024-03-17 16:22:38 +00:00
roadveh_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
roadveh_cmd.h Fix: Don't send unused tile field over the network (#10507) 2023-02-24 22:50:11 +01:00
roadveh_gui.cpp Codechange: Add Rect version of FillDrawPixelInfo(). 2023-12-20 09:29:28 +00:00
safeguards.h Remove: now unused stredup 2023-07-03 18:08:03 +02:00
screenshot.cpp Codechange: simplify access to the current screenshot format 2024-04-21 21:07:05 +02:00
screenshot.h Codechange: simplify access to the current screenshot format 2024-04-21 21:07:05 +02:00
screenshot_gui.cpp Codechange: Use dynamic_cast with FindWindowById. (#12458) 2024-04-08 22:32:57 +01:00
screenshot_gui.h
settings.cpp Codechange: use C++ containers for parsing the settings int lists 2024-04-20 11:57:45 +02:00
settings_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
settings_func.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
settings_gui.cpp Change: De-template BaseSetTextfileWindow. (#12536) 2024-04-20 10:30:29 +01:00
settings_gui.h Codechange: Use functions to create common drop down list items. 2024-04-01 22:33:16 +01:00
settings_internal.h Fix #12147: reset all saved settings to their default before loading a game (#12210) 2024-03-02 16:05:43 +01:00
settings_table.cpp Revert #11993: new number format system does not and cannot work for CJK languages 2024-02-22 20:40:12 +01:00
settings_table.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
settings_type.h Codechange: create helper class for useful NetworkAuthorizedKeys functions 2024-03-18 22:56:58 +01:00
ship.h Codechange: Shuffle members of Vehicle to reduce size. 2024-03-17 16:22:38 +00:00
ship_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
ship_cmd.h
ship_gui.cpp Codechange: Remove FONT_HEIGHT_... macros. (#11481) 2023-11-21 19:04:24 +00:00
signal.cpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 2024-02-02 22:29:28 +01:00
signal_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
signal_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
signature.cpp Fix: Signature validation did not close its file. (#12479) 2024-04-11 13:37:29 +00:00
signature.h Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc (#11628) 2024-01-22 19:22:45 +00:00
signs.cpp Codechange: ZOOM_LVL_SHIFT/BASE are not actually ZOOM_LVLs. 2024-04-04 22:27:03 +01:00
signs_base.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
signs_cmd.cpp Codechange: Silence warnings about intentionally unused parameters. 2023-09-19 22:49:59 +02:00
signs_cmd.h
signs_func.h
signs_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
signs_type.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
slider.cpp Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
slider_func.h Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
slope_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
slope_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
smallmap_gui.cpp Change: Ability to set aspect ratio of a widget. 2024-04-19 22:11:16 +01:00
smallmap_gui.h Codechange: Move includes to correct place. 2023-11-01 21:49:06 +00:00
social_integration.cpp Codechange: Remove some unnecessary c_str() when passing std::strings. (#12532) 2024-04-18 22:13:13 +01:00
social_integration.h Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc (#11628) 2024-01-22 19:22:45 +00:00
sortlist_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
sound.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
sound_func.h Feature: Allow base sounds set to be changed mid-game. (#12399) 2024-04-01 17:54:42 +01:00
sound_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
sprite.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
sprite.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
spritecache.cpp Change: Display more useful information in sprite aligner than sprite ID. (#12439) 2024-04-06 21:16:02 +01:00
spritecache.h Change: Display more useful information in sprite aligner than sprite ID. (#12439) 2024-04-06 21:16:02 +01:00
spritecache_internal.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
station.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
station_base.h Codechange: Use `x = y` instead of `x{y}` for value-type member initialisation. (#12501) 2024-04-15 23:07:36 +01:00
station_cmd.cpp Fix 8746be8: Reinstate current order test when removing road stop. (#12552) 2024-04-21 19:41:25 +01:00
station_cmd.h Change: Increase object/station/roadstop class limit. (#12094) 2024-04-09 23:16:20 +01:00
station_func.h Codechange: Unify where rail station tile flags are set. (#12531) 2024-04-18 18:54:10 +01:00
station_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
station_gui.h Feature: Highlight waypoint tiles when adjacent or distant joining 2023-06-04 16:54:48 +01:00
station_kdtree.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
station_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
station_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
statusbar_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
statusbar_gui.h
stdafx.h Codechange: replace cpp_lengthof with safe alternatives 2024-04-20 13:36:19 +02:00
story.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
story_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
story_cmd.h Codechange: Delete date_type.h 2023-09-10 08:40:25 -04:00
story_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
story_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
string.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
string_base.h Codechange: use default dtor instead of empty (#10826) 2023-05-14 23:31:03 +02:00
string_func.h Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
string_type.h Codechange: remove all u8 prefix in favour of compile-time option (#11807) 2024-01-16 21:33:53 +00:00
stringfilter.cpp Fix #11402: Make string filter locale-aware. 2023-11-03 22:34:01 +01:00
stringfilter_type.h Fix #11402: Make string filter locale-aware. 2023-11-03 22:34:01 +01:00
strings.cpp Codechange: Update doxygen comment to reflect removed parameter (#12499) 2024-04-15 12:40:50 +02:00
strings_func.h Remove: replace custom span with std::span 2024-01-17 00:25:08 +01:00
strings_internal.h Fix: don't use non-owning string pointer in StringParameter (#11952) 2024-02-02 23:01:54 +01:00
strings_type.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
subsidy.cpp Change: Passenger subsidies are generated for any TPE_PASSENGER cargo type. 2024-02-02 20:37:49 +00:00
subsidy_base.h Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 2024-01-09 18:56:05 +00:00
subsidy_cmd.h
subsidy_func.h
subsidy_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
subsidy_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
survey.cpp Codechange: Replace currency macros with functions. (#12396) 2024-03-29 14:49:48 +00:00
survey.h Add: track savegame size to report with survey (#12304) 2024-03-16 08:58:56 +01:00
tar_type.h Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
terraform_cmd.cpp Codechange: replace for loops with endof with range-based for loops 2024-04-08 07:00:55 +02:00
terraform_cmd.h
terraform_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
terraform_gui.h
textbuf.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
textbuf_gui.h Fix #11115: Focus the abandon game/exit game windows (#11125) 2023-07-14 13:57:45 +02:00
textbuf_type.h Codechange: use Textbuf directly, instead via several virtual functions in Window 2023-09-06 23:07:04 +02:00
texteff.cpp Codechange: ZOOM_LVL_SHIFT/BASE are not actually ZOOM_LVLs. 2024-04-04 22:27:03 +01:00
texteff.hpp Codechange: Reduce size of TextEffectMode and TextEffectID. 2023-09-09 19:26:47 +01:00
textfile_gui.cpp Codechange: Replace C-style casts to size_t with static_cast. (#12455) 2024-04-19 20:34:36 +01:00
textfile_gui.h Codechange: Use `x = y` instead of `x{y}` for value-type member initialisation. (#12501) 2024-04-15 23:07:36 +01:00
textfile_type.h Codechange: allow certain enumeration to be added 2024-01-16 23:30:23 +01:00
tgp.cpp Codefix: missing space between close parenthesis and open curly brace 2024-04-16 19:28:09 +02:00
tgp.h
thread.h Codechange: Don't use NOT_REACHED() when catching unhandled thread exceptions (#12199) 2024-03-02 00:07:43 +01:00
tile_cmd.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
tile_map.cpp Codechange: Use std::tuple for slope functions with two return values 2024-03-08 18:08:55 +01:00
tile_map.h Codefix: follow coding style 2024-03-22 22:24:17 +01:00
tile_type.h Codechange: ZOOM_LVL_SHIFT/BASE are not actually ZOOM_LVLs. 2024-04-04 22:27:03 +01:00
tilearea.cpp Codechange: migrate size related functions to Map structure 2023-01-21 17:11:40 +01:00
tilearea_type.h Codechange: rename TILE_ADD(XY) to TileAdd(XY) 2024-03-10 15:50:24 +01:00
tilehighlight_func.h Codechange: Replace mishmash of types for widget index with WidgetID. 2023-12-30 00:23:57 +00:00
tilehighlight_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tilematrix_type.hpp Codechange: coding style fixes 2024-01-04 16:23:54 +01:00
timetable.h Codechange: Split dates and timers into Economy and Calendar time (#10700) 2024-01-22 09:04:34 -05:00
timetable_cmd.cpp Feature: Order flag to unbunch vehicles at depot (#11945) 2024-02-03 08:04:24 -05:00
timetable_cmd.h Codechange: Use ticks for timetable start date 2023-11-25 11:50:46 -05:00
timetable_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
toolbar_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
toolbar_gui.h Add: Debug tool to draw widget outlines. (#11401) 2023-10-28 19:07:50 +01:00
town.h Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
town_cmd.cpp Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
town_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
town_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
town_kdtree.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
town_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
town_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
townname.cpp Codechange: use std::size instead of lengthof for town names 2024-04-07 23:08:07 +02:00
townname_func.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
townname_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
track_func.h Codechange: replace FIND_FIRST_BIT/FindFirstBit2x64 with FindFirstBit 2024-01-19 21:10:39 +01:00
track_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
train.h Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
train_cmd.cpp Fix #12388: Vehicle::CopyVehicleConfigAndStatistics not releasing unit number (#12389) 2024-03-27 21:20:27 +01:00
train_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
train_gui.cpp Codechange: Give ColourShade values names instead of numbers. 2024-02-25 12:38:07 +00:00
transparency.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
transparency_gui.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
transparency_gui.h
transport_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tree_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tree_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tree_gui.cpp Codechange: Pass by reference to UpdateWidgetSize. (#12457) 2024-04-09 08:34:45 +01:00
tree_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
tunnel_map.cpp Codechange: migrate size related functions to Map structure 2023-01-21 17:11:40 +01:00
tunnel_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
tunnelbridge.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
tunnelbridge_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tunnelbridge_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
tunnelbridge_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
vehicle.cpp Fix: Mark vehicle status bars dirty when a vehicle leaves unbunching depot (#12516) 2024-04-18 12:45:00 -04:00
vehicle_base.h Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
vehicle_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehicle_cmd.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehicle_func.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehicle_gui.cpp Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
vehicle_gui.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehicle_gui_base.h Codechange: Move dropdown and slider out of widgets directory. (#12403) 2024-03-31 19:37:16 +01:00
vehicle_type.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehiclelist.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehiclelist.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
vehiclelist_cmd.h Feature: Create group of vehicles from manage vehicle list button. (#10890) 2023-06-18 20:48:04 +01:00
vehiclelist_func.h Codechange: Use FindVehiclesWithOrder when removing a road stop. (#12144) 2024-03-28 23:22:37 +01:00
viewport.cpp Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
viewport_cmd.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
viewport_func.h Change: make for smooth-scrolling based on actual time 2024-01-25 10:29:48 +01:00
viewport_gui.cpp Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc 2024-03-10 10:14:20 +01:00
viewport_kdtree.h Cleanup: missing spaces before continuation * in some comments 2023-11-01 22:56:11 +01:00
viewport_sprite_sorter.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
viewport_sprite_sorter_sse4.cpp Codechange: Emplace std::pair into vectors. 2024-04-20 10:25:20 +01:00
viewport_type.h Fix: Use modern comparisons instead of memcmp in cache check. 2024-04-18 22:13:55 +01:00
void_cmd.cpp Codechange: Use std::tuple for slope functions with two return values 2024-03-08 18:08:55 +01:00
void_map.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
water.h Codechange: replace static inline with static for non-class functions 2024-01-06 13:37:33 +01:00
water_cmd.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
water_cmd.h
water_map.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
waypoint.cpp
waypoint_base.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
waypoint_cmd.cpp Codechange: Unify where rail station tile flags are set. (#12531) 2024-04-18 18:54:10 +01:00
waypoint_cmd.h Change: Increase object/station/roadstop class limit. (#12094) 2024-04-09 23:16:20 +01:00
waypoint_func.h
waypoint_gui.cpp Change: Use aspect ratios for some common widgets. 2024-04-19 22:11:16 +01:00
widget.cpp Change: Use aspect ratio for common left/right buttons. 2024-04-19 22:11:16 +01:00
widget_type.h Codechange: Simplify GetScrolledItemFromWidget() (#12556) 2024-04-22 19:00:14 +00:00
window.cpp Codechange: Use ZOOM_LVL_MIN to refer to first zoom level. 2024-04-04 22:27:03 +01:00
window_func.h Fix d3c673e: Don't defer OnResize() after ReInit() (#12174) 2024-02-25 08:35:57 +00:00
window_gui.h Change: Use aspect ratio for common left/right buttons. 2024-04-19 22:11:16 +01:00
window_type.h Codechange: Replace mishmash of types for widget index with WidgetID. 2023-12-30 00:23:57 +00:00
zoom_func.h Codechange: Redefine ZOOM_LVL so that ZOOM_LVL_NORMAL is 1x zoom. 2024-04-04 22:27:03 +01:00
zoom_type.h Codechange: Redefine ZOOM_LVL so that ZOOM_LVL_NORMAL is 1x zoom. 2024-04-04 22:27:03 +01:00