You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src
Patric Stout ea90fa24f8
Codechange: move curl into a thread so simplify code (#10480)
With a thread, we can just run curl_easy_perform() and let CURL
and threads handle the blocking part.

With async solution there are too many things to keep track of,
and it makes "when to update the GUI" tricky. By using a thread
that all gets a lot simpler, as the game-thread and download-thread
run side-by-side.

This is similar to how the WinHttp backend already works.
1 year ago
..
3rdparty Codechange: do not hide variables with other variables 1 year ago
ai Codechange: move windows common to AI and GS out of ai_gui 1 year ago
blitter Cleanup: remove commented out code 1 year ago
core Codechange: do not declare functions in blocks 1 year ago
fontcache Codechange: address CodeQL issue "Multiplication result converted to larger type" (#10306) 2 years ago
game Codechange: move windows common to AI and GS out of ai_gui 1 year ago
lang Update: Translations from eints 1 year ago
linkgraph Fix: wrong type for INVALID_LINK_GRAPH_JOB 1 year ago
misc Cleanup: remove commented out code 1 year ago
music Fix: Original music playback rate was slightly too fast 2 years ago
network Codechange: move curl into a thread so simplify code (#10480) 1 year ago
os Codechange: put stack variables in global variables for gamelog/crashlog 1 year ago
pathfinder Codechange: add annotation to selectively force inlining in debug build 1 year ago
saveload Codechange: move windows common to AI and GS out of ai_gui 1 year ago
script Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
settingsgen Codechange: validate that "max" value of settings fit in their storage 3 years ago
sound Codechange: Move Sound Driver parameter name listings (#10127) 2 years ago
spriteloader Fix: prevent corrupted GRF files to allocate stupid amounts of memory 1 year ago
strgen Codechange: do not hide variables with other variables 1 year ago
table Codechange: move windows common to AI and GS out of ai_gui 1 year ago
video Codechange: do not hide variables with other variables 1 year ago
widgets Codechange: move windows common to AI and GS out of ai_gui 1 year ago
CMakeLists.txt Feature: [GS] Scriptable league tables (#10001) 2 years ago
aircraft.h Codechange: do not declare functions in blocks 1 year ago
aircraft_cmd.cpp Codechange: migrate size related functions to Map structure 1 year ago
aircraft_cmd.h Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID). 3 years ago
aircraft_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
airport.cpp Cleanup: Removed SVN headers 5 years ago
airport.h Cleanup: Removed SVN headers 5 years ago
airport_cmd.h Codechange: Move command callback declarations to the cmd header files. 3 years ago
airport_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
animated_tile.cpp Cleanup: Removed SVN headers 5 years ago
animated_tile_func.h Cleanup: Removed SVN headers 5 years ago
articulated_vehicles.cpp Fix #10032: Capacities of articulated vehicles in build window 1 year ago
articulated_vehicles.h Cleanup: Removed SVN headers 5 years ago
autoreplace.cpp Codechange: Replace Group::replace_protection with Group::flags 3 years ago
autoreplace_base.h Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loops 5 years ago
autoreplace_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
autoreplace_cmd.h Codechange: Un-bitstuff group and autoreplace commands. 3 years ago
autoreplace_func.h Cleanup: Removed SVN headers 5 years ago
autoreplace_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
autoreplace_gui.h Cleanup: Removed SVN headers 5 years ago
autoreplace_type.h Cleanup: Removed SVN headers 5 years ago
autoslope.h Cleanup: Removed SVN headers 5 years ago
base_consist.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
base_consist.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
base_media_base.h Codechange: Use std::string in file scanners. 4 years ago
base_media_func.h Codechange: do not declare functions in blocks 1 year ago
base_station_base.h Codechange: Use std::vector for station speclist 2 years ago
bitmap_type.h Codechange: use smart pointers when cloning iterators 1 year ago
bmp.cpp Fix: do not allow more palette colours than there are indices for the colours 2 years ago
bmp.h Cleanup: Removed SVN headers 5 years ago
bootstrap_gui.cpp Change: Standardize progress bar layout. 2 years ago
bridge.h Cleanup: Removed SVN headers 5 years ago
bridge_gui.cpp Fix #10362: NewGRF bridges without speed limits. 1 year ago
bridge_map.cpp Cleanup: Removed SVN headers 5 years ago
bridge_map.h Cleanup: Removed SVN headers 5 years ago
build_vehicle_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
cargo_type.h Codechange: add constant for number of original cargoes. 3 years ago
cargoaction.cpp Cleanup: Removed SVN headers 5 years ago
cargoaction.h Cleanup: Removed SVN headers 5 years ago
cargomonitor.cpp Change: Deliver cargo to the closest industry first (#9536) 2 years ago
cargomonitor.h Codechange: Replace assert_compile macro with static_assert 4 years ago
cargopacket.cpp Codechange: Make TileIndex a "strong" typedef to give it a distinct type. 3 years ago
cargopacket.h Codechange: use SLE_STRUCT(LIST) for Station chunks 3 years ago
cargotype.cpp Codechange: Factor cargotype weight conversion magic numbers 2 years ago
cargotype.h Codechange: Factor cargotype weight conversion magic numbers 2 years ago
cheat.cpp Cleanup: Removed SVN headers 5 years ago
cheat_func.h Cleanup: Removed SVN headers 5 years ago
cheat_gui.cpp Codechange: migrate size related functions to Map structure 1 year ago
cheat_type.h Codechange: rework CHTS-chunk save/load to be more like the others 3 years ago
clear_cmd.cpp Codechange: Make void tiles flood edge tiles, instead of edge tiles flooding themselves (#8517) 1 year ago
clear_func.h Cleanup: Removed SVN headers 5 years ago
clear_map.h Cleanup: Removed SVN headers 5 years ago
command.cpp Feature: [GS] Scriptable league tables (#10001) 2 years ago
command_func.h Codechange: Swap comments for CommandHelper::Post overloads (#10454) 1 year ago
command_type.h Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
company_base.h Feature: Purchase land multiple tiles at a time 2 years ago
company_cmd.cpp Change: Show buy company dialog window even when playing in the AI company 1 year ago
company_cmd.h Codechange: Un-bitstuff all remaining commands. 3 years ago
company_func.h Fix #6544: Don't join AI company when loading network game in singleplayer 2 years ago
company_gui.cpp Codechange: do not hide variables with other variables 1 year ago
company_gui.h Codechange: Rename window related DeleteXXX to match new behaviour 3 years ago
company_manager_face.h Codechange: pass the randomizer to use directly to the company face generation 1 year ago
company_type.h Codechange: replace magic numbers and C-style arrays with C++-style array for share owners 2 years ago
console.cpp Fix #10010: Memory leak in IConsolePrint in non-dedicated case 2 years ago
console_cmds.cpp Codechange: do not declare functions in blocks 1 year ago
console_func.h Codechange: replace IConsolePrintF with IConsolePrint and fmt formatting 3 years ago
console_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
console_gui.h Cleanup: Removed SVN headers 5 years ago
console_internal.h Change: Use gender-neutral pronouns 3 years ago
console_type.h Cleanup: Swap comments for IConsoleModes (#9587) 3 years ago
cpu.cpp Add: use of Intel Intrinsics & RDTSC on e2k (MCST Elbrus 2000) (#9575) 3 years ago
cpu.h Cleanup: Removed SVN headers 5 years ago
crashlog.cpp Add: use https:// for content-service connections (#10448) 1 year ago
crashlog.h Codechange: put stack variables in global variables for gamelog/crashlog 1 year ago
currency.cpp Add: Malaysia Ringgit as Currency 3 years ago
currency.h Codechange: move currency settings to std::string 3 years ago
date.cpp Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
date_func.h Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
date_gui.cpp Codechange: Un-bitstuff timetable commands. 3 years ago
date_gui.h Codechange: Un-bitstuff timetable commands. 3 years ago
date_type.h Feature: Configurable subsidy duration 3 years ago
debug.cpp Change: Rename some freetype things to fontcache. 2 years ago
debug.h Change: Rename some freetype things to fontcache. 2 years ago
dedicated.cpp Codechange: Store info about the dedicated server log file in globals with automatic destruction to simplify control flow in openttd_main. 4 years ago
depot.cpp Codechange: Rename window related DeleteXXX to match new behaviour 3 years ago
depot_base.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
depot_cmd.cpp Codechange: Un-bitstuff station/depot/waypoint commands. 3 years ago
depot_cmd.h Codechange: Don't use globals for return values from vehicle command procs. 3 years ago
depot_func.h Codechange: do not declare functions in blocks 1 year ago
depot_gui.cpp Feature: Contextual actions for vehicles grouped by shared orders (#8425) 2 years ago
depot_map.h Cleanup: Removed SVN headers 5 years ago
depot_type.h Fix a9a21e78: Depots aren't really stations. 2 years ago
direction_func.h Cleanup: Removed SVN headers 5 years ago
direction_type.h Feature: Wide rivers 2 years ago
disaster_vehicle.cpp Codechange: migrate size related functions to Map structure 1 year ago
disaster_vehicle.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
dock_cmd.h Codechange: Move command callback declarations to the cmd header files. 3 years ago
dock_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
driver.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
driver.h Add: Option to (dis-)allow accelerated video drivers. (#8819) 3 years ago
economy.cpp Change #10077: make maximum loan a positive multiple of the loan interval 1 year ago
economy_base.h Codechange: Replace FOR_ALL_CARGO_PAYMENTS with range-based for loops 5 years ago
economy_cmd.h Fix #9909, 13528bf: Left-over unused parameter breaks overload resolution 2 years ago
economy_func.h Feature: Set exclusive access to industry from GS (#8115) 4 years ago
economy_type.h Codechange: Revenue is not the same as Income 2 years ago
effectvehicle.cpp Codechange: migrate size related functions to Map structure 1 year ago
effectvehicle_base.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
effectvehicle_func.h Cleanup: Removed SVN headers 5 years ago
elrail.cpp Codechange: make rounding code clearer 1 year ago
elrail_func.h Codechange: use separate pre and post callbacks for int settings 3 years ago
engine.cpp Feature: [NewGRF] Engine name callback. 1 year ago
engine_base.h Change: Add variant property to engines. 2 years ago
engine_cmd.h Codechange: Un-bitstuff vehicle/engine commands. 3 years ago
engine_func.h Fix #10032: Capacities of articulated vehicles in build window 1 year ago
engine_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
engine_gui.h Fix #10377, Fix 94167df: bad sorting of rail vehicles when primary variant is missing 1 year ago
engine_type.h Feature: [NewGRF] Engine name callback. 1 year ago
error.h Codechange: do not declare functions in blocks 1 year ago
error_gui.cpp Codechange: do not declare functions in blocks 1 year ago
fileio.cpp Codechange: do not declare functions in blocks 1 year ago
fileio_func.h Add: '-X' option to ignore global folders in the search path (#9341) 3 years ago
fileio_type.h Add: always set PERSONAL_DIR "/content_download" in search path (#8481) 4 years ago
fios.cpp Cleanup: remove/replace trailing ; with . in comments 1 year ago
fios.h Codechange: do not declare functions in blocks 1 year ago
fios_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
fontcache.cpp Codechange: do not declare functions in blocks 1 year ago
fontcache.h Add: 'font' console command to configure fonts 2 years ago
fontdetection.h Change: Rename some freetype things to fontcache. 2 years ago
framerate_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
framerate_type.h Codechange: do not declare functions in blocks 1 year ago
gamelog.cpp Codechange: put stack variables in global variables for gamelog/crashlog 1 year ago
gamelog.h Codechange: put stack variables in global variables for gamelog/crashlog 1 year ago
gamelog_internal.h Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
genworld.cpp Codechange: migrate size related functions to Map structure 1 year ago
genworld.h Feature: allow setting a custom terrain type to define highest peak 3 years ago
genworld_gui.cpp Feature: Set a custom number of industries in map generation window (#10340) 1 year ago
gfx.cpp Codechange: do not hide variables with other variables 1 year ago
gfx_func.h Change: Make vehicle list dropdown buttons resize to fit strings. (#10286) 2 years ago
gfx_layout.cpp Fix #10057: FallbackParagraphLayout fails to properly wrap 1 year ago
gfx_layout.h Codechange: Improve LineCache queries (#9417) 3 years ago
gfx_type.h Codechange: reduce code duplication 2 years ago
gfxinit.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
gfxinit.h Cleanup: Removed SVN headers 5 years ago
goal.cpp Fix: make script goals work with the whole range of ClientIDs 1 year ago
goal_base.h Codechange: Replace FOR_ALL_GOALS with range-based for loops 5 years ago
goal_cmd.h Fix: make script goals work with the whole range of ClientIDs 1 year ago
goal_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
goal_type.h Fix: [Script] Incorrect value for GOAL_INVALID (#10436) 1 year ago
graph_gui.cpp Feature: [GS] Scriptable league tables (#10001) 2 years ago
graph_gui.h Feature: [GS] Scriptable league tables (#10001) 2 years ago
ground_vehicle.cpp Codechange: address CodeQL issue "Multiplication result converted to larger type" (#10306) 2 years ago
ground_vehicle.hpp Codechange: Remove min/max functions in favour of STL variants (#8502) 4 years ago
group.h Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in GUI (#10227) 1 year ago
group_cmd.cpp Codechange: do not hide parameters with local variables 1 year ago
group_cmd.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
group_gui.cpp Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in GUI (#10227) 1 year ago
group_gui.h Feature: Control + click on the vehicle details button in the vehicle view window opens the vehicle group window, then selects and scrolls to the vehicle's group. 5 years ago
group_type.h Cleanup: Removed SVN headers 5 years ago
gui.h Change: move "give money" from client-list to company window 4 years ago
guitimer_func.h Cleanup: Removed SVN headers 5 years ago
heightmap.cpp Codechange: migrate size related functions to Map structure 1 year ago
heightmap.h Cleanup: Removed SVN headers 5 years ago
highscore.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
highscore.h Cleanup: Removed SVN headers 5 years ago
highscore_gui.cpp Fix #10368, Fix 994bf19: server restarting game caused clients to hit assertion 1 year ago
hotkeys.cpp Codechange: Stringify config file paths. 4 years ago
hotkeys.h Cleanup: Removed SVN headers 5 years ago
house.h Codechange: Replace assert_compile macro with static_assert 4 years ago
house_type.h Cleanup: Removed SVN headers 5 years ago
industry.h Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
industry_cmd.cpp Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
industry_cmd.h Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
industry_gui.cpp Codechange: do not declare functions in blocks 1 year ago
industry_map.h Cleanup: Removed SVN headers 5 years ago
industry_type.h Cleanup: Removed SVN headers 5 years ago
industrytype.h Change: [NewGRF] industry special flag 19 now specifically targets only passenger production, instead of the second cargo of any water-based industry. (#8590) 3 years ago
ini.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
ini_load.cpp Fix 75b6051b: removing items from the ini could leave the group in a bad state (#9445) 3 years ago
ini_type.h Change: move sensitive information to secrets.cfg and private information to private.cfg 3 years ago
intro_gui.cpp Codechange: introduce GetMainWindow() to properly account for nullptr checks 1 year ago
landscape.cpp Codechange: migrate size related functions to Map structure 1 year ago
landscape.h Cleanup: Removed SVN headers 5 years ago
landscape_cmd.h Codechange: Don't use a global for the 'not enough cash' message. 3 years ago
landscape_type.h Cleanup: Removed SVN headers 5 years ago
language.h Change: treat languages as finished, if translations are 75% completed. 3 years ago
league_base.h Feature: [GS] Scriptable league tables (#10001) 2 years ago
league_cmd.cpp Feature: [GS] Scriptable league tables (#10001) 2 years ago
league_cmd.h Fix #10214: CMD_CREATE_LEAGUE_TABLE did not set CMD_STR_CTRL 2 years ago
league_gui.cpp Feature: [GS] Scriptable league tables (#10001) 2 years ago
league_gui.h Feature: [GS] Scriptable league tables (#10001) 2 years ago
league_type.h Feature: [GS] Scriptable league tables (#10001) 2 years ago
livery.h Codechange: Un-bitstuff all remaining commands. 3 years ago
main_gui.cpp Change #10255: Reduce basic thickness of linkgraph GUI lines (#10410) 1 year ago
map.cpp Codechange: hide the map's size related fields in the Map structure 1 year ago
map_func.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
map_type.h Fix: Ensure 31-bit shifts are unsigned. (#10128) 2 years ago
misc.cpp Codechange: move windows common to AI and GS out of ai_gui 1 year ago
misc_cmd.cpp Fix #10009: bad overflow protection when taking out loans 1 year ago
misc_cmd.h Codechange: Un-bitstuff all remaining commands. 3 years ago
misc_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
mixer.cpp Fix: Data race on effect volume setting with mixer thread 2 years ago
mixer.h Fix: Data race on effect volume setting with mixer thread 2 years ago
music.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
music_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
newgrf.cpp Add: [NewGRF] Second vehicle property for additional callback flags. 1 year ago
newgrf.h Cleanup: Simplify GRFLabel linked-list with std::vector. (#10284) 2 years ago
newgrf_airport.cpp Codechange: Rename override manager variables. 1 year ago
newgrf_airport.h Codechange: use smart pointers when cloning iterators 1 year ago
newgrf_airporttiles.cpp Codechange: do not declare functions in blocks 1 year ago
newgrf_airporttiles.h Codechange: do not declare functions in blocks 1 year ago
newgrf_animation_base.h Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
newgrf_animation_type.h Cleanup: Removed SVN headers 5 years ago
newgrf_callbacks.h Feature: [NewGRF] Engine name callback. 1 year ago
newgrf_canal.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_canal.h Cleanup: Removed SVN headers 5 years ago
newgrf_cargo.cpp Codechange: Deduplicate ResolveReal() for resolvers that don't use real sprite groups. 3 years ago
newgrf_cargo.h Cleanup: Removed SVN headers 5 years ago
newgrf_class.h Doc: Remove some SmallVector references from documentation. 4 years ago
newgrf_class_func.h Cleanup: Removed SVN headers 5 years ago
newgrf_commons.cpp Codechange: Rename override manager variables. 1 year ago
newgrf_commons.h Cleanup: remove/replace trailing ; with . in comments 1 year ago
newgrf_config.cpp Add: Commandline option to skip NewGRF scanning 2 years ago
newgrf_config.h Remove: the concept of UnknownGRFs 3 years ago
newgrf_debug.h Codechange: replace _realtime_tick with std::chrono for mouse events 3 years ago
newgrf_debug_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
newgrf_engine.cpp Codechange: add non-nullptr asserts in cases where it should never be nullptr 1 year ago
newgrf_engine.h Codechange: do not declare functions in blocks 1 year ago
newgrf_generic.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_generic.h Codechange: do not declare functions in blocks 1 year ago
newgrf_gui.cpp Add: Show NewGRF name in NewGRF-created errors (#10457) 1 year ago
newgrf_house.cpp Codechange: move TILE_MASK to Map::WrapToMap 1 year ago
newgrf_house.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_industries.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_industries.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_industrytiles.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_industrytiles.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_object.cpp Codechange: Remove object `enabled` flag and shuffle members. (#10358) 1 year ago
newgrf_object.h Codechange: Remove object `enabled` flag and shuffle members. (#10358) 1 year ago
newgrf_profiling.cpp Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
newgrf_profiling.h Change: Make _tick_counter 64bit to avoid wrapping (#10035) 2 years ago
newgrf_properties.h Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346) 3 years ago
newgrf_railtype.cpp Codechange: Make TileIndex a "strong" typedef to give it a distinct type. 3 years ago
newgrf_railtype.h Codechange: Deduplicate ResolveReal() for resolvers that don't use real sprite groups. 3 years ago
newgrf_roadtype.cpp Codechange: Make RoadScopeResolver constructor inlineable (#9780) 3 years ago
newgrf_roadtype.h Codechange: Make RoadScopeResolver constructor inlineable (#9780) 3 years ago
newgrf_sound.cpp Feature: Hotkey to honk a vehicle's horn (#10110) 2 years ago
newgrf_sound.h Feature: Hotkey to honk a vehicle's horn (#10110) 2 years ago
newgrf_spritegroup.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_spritegroup.h Fix: Ensure 31-bit shifts are unsigned. (#10128) 2 years ago
newgrf_station.cpp Codechange: Use std::vector for station speclist 2 years ago
newgrf_station.h Codechange: Use std::vector for NewGRF station tile sprite layouts. 3 years ago
newgrf_storage.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_storage.h Codechange: move client name in settings to std::string 3 years ago
newgrf_text.cpp Fix 11ab3c4: [NewGRF] Overflow when determining cargo mask for string code 9A 1E 3 years ago
newgrf_text.h Codechange: [Network] Use std::string to get a NewGRF's name 3 years ago
newgrf_town.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
newgrf_town.h Cleanup: Removed SVN headers 5 years ago
newgrf_townname.cpp Codechange: move non-GUI code to non-GUI source files. 3 years ago
newgrf_townname.h Codechange: move non-GUI code to non-GUI source files. 3 years ago
news_cmd.h Codechange: Un-bitstuff all remaining commands. 3 years ago
news_func.h Codechange: create a type for the "free_data" of NewsItems and (de)allocate it with new and delete 3 years ago
news_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
news_gui.h Feature: Make news and errors close hotkeys configurable 4 years ago
news_type.h Codechange: Un-bitstuff all remaining commands. 3 years ago
object.h Add: Hotkey to focus the build object class name filter editbox. 3 years ago
object_base.h Codechange: Replace FOR_ALL_OBJECTS with range-based for loops 5 years ago
object_cmd.cpp Codechange: migrate size related functions to Map structure 1 year ago
object_cmd.h Fix #10135: Cost of building multiple objects might not match test (#10137) 2 years ago
object_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
object_map.h Cleanup: Removed SVN headers 5 years ago
object_type.h Cleanup: Removed SVN headers 5 years ago
openttd.cpp Codechange: do not declare functions in blocks 1 year ago
openttd.h Codechange: do not declare functions in blocks 1 year ago
order_backup.cpp Codechange: Use anonymous union for vehicle orders/old orders list 2 years ago
order_backup.h Cleanup: remove unused static variables 1 year ago
order_base.h Codechange: Un-bitstuff order commands. 3 years ago
order_cmd.cpp Codechange: do not declare functions in blocks 1 year ago
order_cmd.h Codechange: Un-bitstuff order commands. 3 years ago
order_func.h Cleanup: Removed SVN headers 5 years ago
order_gui.cpp Codechange: add non-nullptr asserts in cases where it should never be nullptr 1 year ago
order_type.h Codechange: Un-bitstuff timetable commands. 3 years ago
osk_gui.cpp Codechange: Rename window related DeleteXXX to match new behaviour 3 years ago
pbs.cpp Feature: Multi-track level crossings (#9931) 2 years ago
pbs.h Cleanup: Removed SVN headers 5 years ago
progress.cpp Add: make modal windows update more smooth 3 years ago
progress.h Add: make modal windows update more smooth 3 years ago
querystring_gui.h Cleanup: Removed SVN headers 5 years ago
rail.cpp Fix: Setting the default railtype to 'first/last available' did not work with NewGRF defined railtypes. 5 years ago
rail.h Cleanup: Replace FOR_ALL_SORTED_RAILTYPES macro with range iterator. 3 years ago
rail_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
rail_cmd.h Fix db98cedb: Swap parameters for CmdRemoveRailroadTrack, too. 2 years ago
rail_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
rail_gui.h Feature: Hide block signals in GUI by default (#8688) 3 years ago
rail_map.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
rail_type.h Codechange: Use a switch with fall-through instead of a if-sequence with context data between cases. 5 years ago
random_access_file.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
random_access_file_type.h Add: concept of a RandomAccessFile to replace the FIO slot functions 3 years ago
rev.cpp.in Add: support filtering content entries for patchpacks (#9541) 3 years ago
rev.h Add: support filtering content entries for patchpacks (#9541) 3 years ago
road.cpp Fix: commands with a RoadType in their arguments were not validated properly (#9944) 2 years ago
road.h Add: Slope-aware and roadtype-specific one-way sprites. (#10282) 2 years ago
road_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
road_cmd.h Fix db98cedb: Swap parameters for CmdRemoveRailroadTrack, too. 2 years ago
road_func.h Fix #10208: allow to use specific underlay for road/tram tunnels (#10233) 2 years ago
road_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
road_gui.h Cleanup: Removed SVN headers 5 years ago
road_internal.h Cleanup: Removed SVN headers 5 years ago
road_map.cpp Cleanup: Removed SVN headers 5 years ago
road_map.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
road_type.h Codechange: Un-bitstuff remaining transport infrastructure commands. 3 years ago
roadstop.cpp Cleanup: Removed SVN headers 5 years ago
roadstop_base.h Codechange: Replace FOR_ALL_ROADSTOPS with range-based for loops 5 years ago
roadveh.h Codechange: refactor FindClosestDepot to not use pointers, but return a struct 2 years ago
roadveh_cmd.cpp Codechange: refactor FindClosestDepot to not use pointers, but return a struct 2 years ago
roadveh_cmd.h Codechange: do not declare functions in blocks 1 year ago
roadveh_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
safeguards.h Codechange: encapsulate network error handling 3 years ago
screenshot.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
screenshot.h Codechange: move misc settings to std::string 3 years ago
screenshot_gui.cpp Fix: Don't show screenshot GUI in screenshots (#9674) 3 years ago
screenshot_gui.h Fix: Don't show screenshot GUI in screenshots (#9674) 3 years ago
settings.cpp Codechange: do not declare functions in blocks 1 year ago
settings_cmd.h Codechange: Un-bitstuff all remaining commands. 3 years ago
settings_func.h Codechange: C++-ify the usage of IniFile in settings.cpp 3 years ago
settings_gui.cpp Fix #10147: Sound effect volume slider no longer set volume. (#10228) 2 years ago
settings_gui.h Cleanup: Removed SVN headers 5 years ago
settings_internal.h Codechange: pass large objects by reference instead of value 1 year ago
settings_table.cpp Codechange: do not declare functions in blocks 1 year ago
settings_table.h Codechange: split settings.ini over several files (#9421) 3 years ago
settings_type.h Feature: Set a custom number of industries in map generation window (#10340) 1 year ago
ship.h Codechange: refactor FindClosestDepot to not use pointers, but return a struct 2 years ago
ship_cmd.cpp Codechange: refactor FindClosestDepot to not use pointers, but return a struct 2 years ago
ship_cmd.h Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID). 3 years ago
ship_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
signal.cpp Cleanup: simplify some boolean expressions 3 years ago
signal_func.h Cleanup: Removed SVN headers 5 years ago
signal_type.h Codechange: Un-bitstuff rail commands. 3 years ago
signs.cpp Fix: Don't try to rename OWNER_DEITY signs in-game (#9716) 3 years ago
signs_base.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
signs_cmd.cpp Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
signs_cmd.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
signs_func.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
signs_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
signs_type.h Cleanup: Removed SVN headers 5 years ago
slope_func.h Cleanup: Removed SVN headers 5 years ago
slope_type.h Fix: Ensure 31-bit shifts are unsigned. (#10128) 2 years ago
smallmap_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
smallmap_gui.h Change: Use scaled WidgetDimensions. 2 years ago
sortlist_type.h Cleanup 2db88953e7: Remove VL_FIRST_SORT as it's useless 4 years ago
sound.cpp Codechange: migrate size related functions to Map structure 1 year ago
sound_func.h Cleanup: Removed SVN headers 5 years ago
sound_type.h Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions 3 years ago
sprite.cpp Change: Use power-of-2 scaling for some dimensions in GUI. 2 years ago
sprite.h Cleanup: Removed SVN headers 5 years ago
spritecache.cpp Fix: inconsistent allocation error handling 1 year ago
spritecache.h Fix #9804: Only apply sprite_zoom_min setting when sprites available (#9988) 2 years ago
station.cpp Codechange: migrate size related functions to Map structure 1 year ago
station_base.h Codechange: use smart pointers when cloning iterators 1 year ago
station_cmd.cpp Fix: Water infrastructure accounting when building docks 1 year ago
station_cmd.h Codechange: do not declare functions in blocks 1 year ago
station_func.h Feature: [Linkgraph] Prioritize faster routes for passengers, mail and express cargo 3 years ago
station_gui.cpp Codechange: migrate size related functions to Map structure 1 year ago
station_gui.h Codechange: Use lambdas instead of CommandContainer to manage station picker commands. 3 years ago
station_kdtree.h Codechange: migrate size related functions to Map structure 1 year ago
station_map.h Codechange: do not declare functions in blocks 1 year ago
station_type.h Codechange: Un-bitstuff station/depot/waypoint commands. 3 years ago
statusbar_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
statusbar_gui.h Cleanup: Removed SVN headers 5 years ago
stdafx.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
story.cpp Cleanup #9725: Replace cmd_helper related functions and remove cmd_helper.h. 2 years ago
story_base.h Cleanup #9725: Replace cmd_helper related functions and remove cmd_helper.h. 2 years ago
story_cmd.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
story_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
story_type.h Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
string.cpp Cleanup: remove commented out code 1 year ago
string_base.h Codechange: use smart pointers when creating StringIterators 1 year ago
string_func.h Change: [Network] Transfer command data as serialized byte stream without fixed structure. 3 years ago
string_type.h Fix #10023: Allow negative input in text fields when needed (#10112) 2 years ago
stringfilter.cpp Codechange: Make use of the improved C++17 emplace_back function. 4 years ago
stringfilter_type.h Cleanup: Removed SVN headers 5 years ago
strings.cpp Feature: [NewGRF] Engine name callback. 1 year ago
strings_func.h Codechange: SetDParamStr borrows contents from std::string::c_str(). Prevent calling it with temporaries. (#10136) 2 years ago
strings_type.h Codechange: remove special strings for language and resolutions (#8824) 3 years ago
subsidy.cpp Change: Deliver cargo to the closest industry first (#9536) 2 years ago
subsidy_base.h Feature: Configurable subsidy duration 3 years ago
subsidy_cmd.h Codechange: Un-bitstuff all remaining commands. 3 years ago
subsidy_func.h Cleanup: remove declaration of undefined function 3 years ago
subsidy_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
subsidy_type.h Cleanup: Removed SVN headers 5 years ago
tar_type.h Codechange: Replace FOR_ALL_TARS with range-based for loops 3 years ago
terraform_cmd.cpp Codechange: migrate size related functions to Map structure 1 year ago
terraform_cmd.h Codechange: Don't use a global for the terrforming error tile. 3 years ago
terraform_gui.cpp Codechange: migrate size related functions to Map structure 1 year ago
terraform_gui.h Cleanup: Removed SVN headers 5 years ago
textbuf.cpp Codechange: use smart pointers when creating StringIterators 1 year ago
textbuf_gui.h Codechange: move misc settings to std::string 3 years ago
textbuf_type.h Codechange: use smart pointers when creating StringIterators 1 year ago
texteff.cpp Fix #9174: Don't update text effect if it has been reset. (#9183) 3 years ago
texteff.hpp Fix: comparison of narrow type to wide type in loop (potential for infinite loops) 3 years ago
textfile_gui.cpp Codechange: use RAII to automatically restore _cur_dpi after use 1 year ago
textfile_gui.h Change: Use scaled WidgetDimensions. 2 years ago
textfile_type.h Cleanup: Removed SVN headers 5 years ago
tgp.cpp Codechange: migrate size related functions to Map structure 1 year ago
tgp.h Feature: auto-detect map height limit based on generated map 3 years ago
thread.h Fix: on startup, NewGRF scan could case race-condition (#9382) 3 years ago
tile_cmd.h Codechange: instead of global pointer to stack variable, just put variable in that global 1 year ago
tile_map.cpp Codechange: migrate size related functions to Map structure 1 year ago
tile_map.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
tile_type.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
tilearea.cpp Codechange: migrate size related functions to Map structure 1 year ago
tilearea_type.h Codechange: use smart pointers when cloning iterators 1 year ago
tilehighlight_func.h Feature: Plant clumps of trees in editor by dragging on the landscape 4 years ago
tilehighlight_type.h Cleanup: Removed SVN headers 5 years ago
tilematrix_type.hpp Codechange: migrate size related functions to Map structure 1 year ago
timetable.h Cleanup: Removed SVN headers 5 years ago
timetable_cmd.cpp Feature: Ctrl+Click to reset late counter for the entire vehicle group. 1 year ago
timetable_cmd.h Feature: Ctrl+Click to reset late counter for the entire vehicle group. 1 year ago
timetable_gui.cpp Feature: Ctrl+Click to reset late counter for the entire vehicle group. 1 year ago
toolbar_gui.cpp Codechange: move windows common to AI and GS out of ai_gui 1 year ago
toolbar_gui.h Codechange: move windows common to AI and GS out of ai_gui 1 year ago
town.h Change: Remove scrollbar from town authority actions panel (#9928) 2 years ago
town_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
town_cmd.h Codechange: Don't use a global for the 'not enough cash' message. 3 years ago
town_gui.cpp Fix #10280, 59645c6: Ignore double-click for unavailable town actions 1 year ago
town_kdtree.h Add #6887: Option to show zone inside local authority boundary of towns 5 years ago
town_map.h Cleanup: Removed SVN headers 5 years ago
town_type.h Feature: Allow disabling local authority control of company actions 2 years ago
townname.cpp Codechange: pass the randomizer directly to the town name generation 1 year ago
townname_func.h Codechange: pass the randomizer directly to the town name generation 1 year ago
townname_type.h Codechange: turn a constant variable into a real constant. 3 years ago
track_func.h Codechange: Remove FOR_EACH_SET_TRACK 3 years ago
track_type.h Cleanup: Removed SVN headers 5 years ago
train.h Codechange: refactor FindClosestDepot to not use pointers, but return a struct 2 years ago
train_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
train_cmd.h Fix #10032: Capacities of articulated vehicles in build window 1 year ago
train_gui.cpp Feature: [NewGRF] Engine name callback. 1 year ago
transparency.h Cleanup: Removed SVN headers 5 years ago
transparency_gui.cpp Change: Use scaled WidgetDimensions. 2 years ago
transparency_gui.h Cleanup: Removed SVN headers 5 years ago
transport_type.h Codechange: Un-bitstuff remaining transport infrastructure commands. 3 years ago
tree_cmd.cpp Codechange: migrate size related functions to Map structure 1 year ago
tree_cmd.h Feature: Press Ctrl to build a diagonal area of trees (#10342) 1 year ago
tree_gui.cpp Feature: Press Ctrl to build a diagonal area of trees (#10342) 1 year ago
tree_map.h Cleanup: Removed SVN headers 5 years ago
tunnel_map.cpp Codechange: migrate size related functions to Map structure 1 year ago
tunnel_map.h Fix: Set invalid road and tram types for rail tunnel ends 4 years ago
tunnelbridge.h Cleanup: Removed SVN headers 5 years ago
tunnelbridge_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
tunnelbridge_cmd.h Codechange: Pass unpacked command arguments to command callbacks (except Script). 3 years ago
tunnelbridge_map.h Cleanup: Removed SVN headers 5 years ago
vehicle.cpp Codechange: do not declare functions in blocks 1 year ago
vehicle_base.h Codechange: add annotation to selectively force inlining in debug build 1 year ago
vehicle_cmd.cpp Codechange: add non-nullptr asserts in cases where it should never be nullptr 1 year ago
vehicle_cmd.h Fix #10032: Capacities of articulated vehicles in build window 1 year ago
vehicle_func.h Feature: Contextual actions for vehicles grouped by shared orders (#8425) 2 years ago
vehicle_gui.cpp Codechange: do not hide variables with other variables 1 year ago
vehicle_gui.h Codechange: do not declare functions in blocks 1 year ago
vehicle_gui_base.h Feature: Add cargo filter support to vehicle list. (#8308) 2 years ago
vehicle_type.h Codechange: Un-bitstuff vehicle/engine commands. 3 years ago
vehiclelist.cpp Fix: depot-related commands did not validate depot tiles properly (#9948) 2 years ago
vehiclelist.h Codechange: Un-bitstuff vehicle/engine commands. 3 years ago
viewport.cpp Codechange: do not hide variables with other variables 1 year ago
viewport_cmd.h Codechange: Un-bitstuff the remaining on-map commands. 3 years ago
viewport_func.h Codechange: do not declare functions in blocks 1 year ago
viewport_gui.cpp Codechange: introduce GetMainWindow() to properly account for nullptr checks 1 year ago
viewport_kdtree.h Codechange: Make a merged k-d tree index of all viewport signs 5 years ago
viewport_sprite_sorter.h Feature #7962: Significantly improve sprite sorter performance 4 years ago
viewport_sprite_sorter_sse4.cpp Fix #9935: Use more selectivity when building SSE specific code 2 years ago
viewport_type.h Change: Use scaled WidgetDimensions. 2 years ago
void_cmd.cpp Codechange: Make void tiles flood edge tiles, instead of edge tiles flooding themselves (#8517) 1 year ago
void_map.h Cleanup: Removed SVN headers 5 years ago
walltime_func.h Fix #9974, aa5a8fe: strftime buffer maxsize is off by one 2 years ago
water.h Codechange: refactor removal of desert around river tiles 1 year ago
water_cmd.cpp Fix #10419: Water infrastructure accounting when building ship depots 1 year ago
water_cmd.h Codechange: Un-bitstuff remaining transport infrastructure commands. 3 years ago
water_map.h Cleanup #9725: Replace cmd_helper related functions and remove cmd_helper.h. 2 years ago
waypoint.cpp Codechange: Rename window related DeleteXXX to match new behaviour 3 years ago
waypoint_base.h Codechange: Replace station related FOR_ALL with range-based for loops 5 years ago
waypoint_cmd.cpp Codechange: do not hide variables with other variables 1 year ago
waypoint_cmd.h Codechange: Un-bitstuff station/depot/waypoint commands. 3 years ago
waypoint_func.h Cleanup: Removed SVN headers 5 years ago
waypoint_gui.cpp Fix #9995: Adjust viewport zoom level for HiDPI displays 2 years ago
widget.cpp Codechange: do not hide variables with other variables 1 year ago
widget_type.h Add: Define scaled WidgetDimensions. 2 years ago
window.cpp Codechange: move windows common to AI and GS out of ai_gui 1 year ago
window_func.h Codechange: introduce GetMainWindow() to properly account for nullptr checks 1 year ago
window_gui.h Fix #8971: Resize QueryStrings with interface scale change. (#10281) 2 years ago
window_type.h Codechange: move windows common to AI and GS out of ai_gui 1 year ago
zoom_func.h Feature: Variable GUI scale. 2 years ago
zoom_type.h Feature: Variable GUI scale. 2 years ago