..
3rdparty
Codechange: do not hide variables with other variables
2 years ago
ai
Fix #10578 : Allow to select any version of AI/GS from GUI ( #10604 )
1 year ago
blitter
Revert 92c7551: Line drawing algorithm fix broke other cases ( #10497 )
2 years ago
core
Codechange: Use fmt for SlErrorCorruptFmt
1 year ago
fontcache
Codechange: address CodeQL issue "Multiplication result converted to larger type" ( #10306 )
2 years ago
game
Change: Make all dropdown lists extend width if necessary.
1 year ago
lang
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year ago
linkgraph
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year ago
misc
Cleanup: remove commented out code
2 years ago
music
Fix: Original music playback rate was slightly too fast
3 years ago
network
Fix: Update some network documentation to match the new command system ( #10657 )
1 year ago
os
Fix #10477 : Not enough space for text due to rounding down (OSX) ( #10489 )
2 years ago
pathfinder
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
saveload
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year ago
script
Change: Make all dropdown lists extend width if necessary.
1 year ago
settingsgen
Codechange: validate that "max" value of settings fit in their storage
4 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
2 years ago
strgen
Change: [Script] Extract params info from GS strings
2 years ago
table
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year ago
tests
Add: compile time "unit tests" for GetPartialZ consistent
1 year ago
timer
Codechange: introduce a framework for all our timers
1 year ago
video
Codechange: Simplify some CodeQL-flagged trivial switches
2 years ago
widgets
Change: Make all dropdown lists extend width if necessary.
1 year ago
CMakeLists.txt
Codechange: introduce a framework for all our timers
1 year ago
aircraft.h
Codechange: do not declare functions in blocks
2 years ago
aircraft_cmd.cpp
Codechange: migrate size related functions to Map structure
2 years 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.
2 years ago
airport.cpp
…
airport.h
…
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
…
animated_tile_func.h
…
articulated_vehicles.cpp
Fix #10032 : Capacities of articulated vehicles in build window
2 years ago
articulated_vehicles.h
…
autoreplace.cpp
Add #7525 : Allow autoreplace with same model vehicle
2 years ago
autoreplace_base.h
…
autoreplace_cmd.cpp
Add: CommandCost supports an optional second error string
2 years ago
autoreplace_cmd.h
Codechange: Un-bitstuff group and autoreplace commands.
3 years ago
autoreplace_func.h
…
autoreplace_gui.cpp
Feature: [NewGRF] Engine name callback.
2 years ago
autoreplace_gui.h
…
autoreplace_type.h
…
autoslope.h
…
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
Fix: Truncated music-set song names cause warning log.
2 years ago
base_media_func.h
Codechange: do not declare functions in blocks
2 years ago
base_station_base.h
Add: NewGRF road stops
2 years ago
bitmap_type.h
Codechange: use smart pointers when cloning iterators
2 years ago
bmp.cpp
Fix: do not allow more palette colours than there are indices for the colours
2 years ago
bmp.h
…
bootstrap_gui.cpp
Change: Standardize progress bar layout.
2 years ago
bridge.h
…
bridge_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
bridge_map.cpp
…
bridge_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
build_vehicle_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
cargo_type.h
Codechange: add constant for number of original cargoes.
3 years ago
cargoaction.cpp
…
cargoaction.h
…
cargomonitor.cpp
Change: Deliver cargo to the closest industry first ( #9536 )
3 years ago
cargomonitor.h
Codechange: Replace assert_compile macro with static_assert
4 years ago
cargopacket.cpp
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
1 year ago
cargopacket.h
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
1 year 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
…
cheat_func.h
…
cheat_gui.cpp
Add: NewGRF road stops
2 years ago
cheat_type.h
Codechange: rework CHTS-chunk save/load to be more like the others
3 years ago
clear_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
clear_func.h
…
clear_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
command.cpp
Add: CommandCost supports an optional second error string
2 years ago
command_func.h
Fix: Restore using founder client name as company manager name ( #10535 )
2 years ago
command_type.h
Add: CommandCost supports an optional second error string
2 years 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
2 years 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
Fix: DropDownListColourItem didn't provide width nor scale vertical padding.
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
2 years ago
company_type.h
Codechange: replace magic numbers and C-style arrays with C++-style array for share owners
3 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
2 years 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
…
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
…
crashlog.cpp
Add: use https:// for content-service connections ( #10448 )
2 years ago
crashlog.h
Codechange: put stack variables in global variables for gamelog/crashlog
2 years ago
currency.cpp
Add: Malaysia Ringgit as Currency
4 years ago
currency.h
Codechange: move currency settings to std::string
3 years ago
date.cpp
Codechange: introduce a framework for all our timers
1 year 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
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year 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
2 years ago
depot_gui.cpp
Feature: Contextual actions for vehicles grouped by shared orders ( #8425 )
2 years ago
depot_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
depot_type.h
Fix a9a21e78: Depots aren't really stations.
2 years ago
direction_func.h
…
direction_type.h
Feature: Wide rivers
2 years ago
disaster_vehicle.cpp
Codechange: migrate size related functions to Map structure
2 years ago
disaster_vehicle.h
…
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
2 years 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 )
4 years ago
economy.cpp
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
1 year ago
economy_base.h
…
economy_cmd.h
Fix #9909 , 13528bf: Left-over unused parameter breaks overload resolution
2 years ago
economy_func.h
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
1 year 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
2 years ago
effectvehicle_base.h
…
effectvehicle_func.h
…
elrail.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
elrail_func.h
Codechange: use separate pre and post callbacks for int settings
3 years ago
engine.cpp
Codechange: Be consistent with how company masks are set to all.
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
2 years ago
engine_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
engine_gui.h
Fix #10377 , Fix 94167df: bad sorting of rail vehicles when primary variant is missing
2 years ago
engine_type.h
Feature: [NewGRF] Engine name callback.
2 years ago
error.h
Add: CommandCost supports an optional second error string
2 years ago
error_gui.cpp
Add: CommandCost supports an optional second error string
2 years ago
fileio.cpp
Codechange: do not declare functions in blocks
2 years 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
2 years ago
fios.h
Codechange: do not declare functions in blocks
2 years ago
fios_gui.cpp
Change: Use scaled WidgetDimensions.
2 years ago
fontcache.cpp
Codechange: do not declare functions in blocks
2 years 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
2 years ago
gamelog.cpp
Codechange: Simplify some CodeQL-flagged trivial switches
2 years ago
gamelog.h
Codechange: put stack variables in global variables for gamelog/crashlog
2 years 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
2 years ago
genworld.h
Feature: allow setting a custom terrain type to define highest peak
4 years ago
genworld_gui.cpp
Fix: Don't double-pad existing size when adding widget padding.
1 year ago
gfx.cpp
Codechange: do not hide variables with other variables
2 years 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
2 years ago
gfx_layout.h
Codechange: Improve LineCache queries ( #9417 )
3 years ago
gfx_type.h
Change: Make tick length 27 milliseconds ( #10607 )
1 year ago
gfxinit.cpp
Codechange: convert printf DEBUG statements to fmt Debug statements
3 years ago
gfxinit.h
…
goal.cpp
Fix: make script goals work with the whole range of ClientIDs
2 years ago
goal_base.h
…
goal_cmd.h
Fix: make script goals work with the whole range of ClientIDs
2 years ago
goal_gui.cpp
Change: Use scaled WidgetDimensions.
2 years ago
goal_type.h
Fix: [Script] Incorrect value for GOAL_INVALID ( #10436 )
2 years ago
graph_gui.cpp
Codechange: Add a property to graph windows for whether to draw dates ( #10608 )
1 year 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
Change: make GetPartialZ consistent, meaning Z of adjacent slopes continue
1 year ago
group.h
Fix 3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in GUI ( #10227 )
2 years ago
group_cmd.cpp
Codechange: do not hide parameters with local variables
2 years 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: Don't send unused tile field over the network ( #10507 )
2 years 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
…
gui.h
Change: move "give money" from client-list to company window
4 years ago
guitimer_func.h
…
heightmap.cpp
Codechange: migrate size related functions to Map structure
2 years ago
heightmap.h
…
highscore.cpp
Codechange: convert printf DEBUG statements to fmt Debug statements
3 years ago
highscore.h
…
highscore_gui.cpp
Fix #10368 , Fix 994bf19: server restarting game caused clients to hit assertion
2 years ago
hotkeys.cpp
Codechange: Stringify config file paths.
4 years ago
hotkeys.h
…
house.h
Codechange: Replace assert_compile macro with static_assert
4 years ago
house_type.h
…
industry.h
Codechange: Decouple INDUSTRY_CTRL into separate commands ( #10475 )
2 years ago
industry_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
industry_cmd.h
Codechange: Decouple INDUSTRY_CTRL into separate commands ( #10475 )
2 years ago
industry_gui.cpp
Change: Make all dropdown lists extend width if necessary.
1 year ago
industry_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
industry_type.h
…
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 )
4 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
2 years ago
landscape.cpp
Add: compile time "unit tests" for GetPartialZ consistent
1 year ago
landscape.h
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
landscape_cmd.h
Codechange: Don't use a global for the 'not enough cash' message.
3 years ago
landscape_type.h
…
language.h
Change: treat languages as finished, if translations are 75% completed.
3 years ago
league_base.h
Fix #10469 , 5e14a20: [Script] League Table rating element is a int64 everywhere else
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
Codechange: Use a shared_ptr for viewport overlay. ( #10586 )
2 years ago
map.cpp
Codechange: hide Tile(Extended) into the Tile structure
2 years ago
map_func.h
Codechange: hide Tile(Extended) into the Tile structure
2 years ago
map_type.h
Codechange: hide Tile(Extended) into the Tile structure
2 years ago
misc.cpp
Codechange: move windows common to AI and GS out of ai_gui
2 years ago
misc_cmd.cpp
Add: CommandCost supports an optional second error string
2 years ago
misc_cmd.h
Codechange: Un-bitstuff all remaining commands.
3 years ago
misc_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
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
Fix: Truncated music-set song names cause warning log.
2 years ago
music_gui.cpp
Change: Make all dropdown lists extend width if necessary.
1 year ago
newgrf.cpp
Fix 8361cf5a73: Missing bounds check for house specs. ( #10625 )
1 year ago
newgrf.h
Add: NewGRF road stops
2 years ago
newgrf_airport.cpp
Codechange: Rename override manager variables.
2 years ago
newgrf_airport.h
Codechange: use smart pointers when cloning iterators
2 years ago
newgrf_airporttiles.cpp
Add: NewGRF road stops
2 years ago
newgrf_airporttiles.h
Codechange: do not declare functions in blocks
2 years ago
newgrf_animation_base.h
Add: NewGRF road stops
2 years ago
newgrf_animation_type.h
…
newgrf_callbacks.h
Add: NewGRF road stops
2 years ago
newgrf_canal.cpp
Codechange: convert printf DEBUG statements to fmt Debug statements
3 years ago
newgrf_canal.h
…
newgrf_cargo.cpp
Codechange: Deduplicate ResolveReal() for resolvers that don't use real sprite groups.
3 years ago
newgrf_cargo.h
…
newgrf_class.h
Codechange: Use std::vector for NewGRF class lists.
1 year ago
newgrf_class_func.h
Codechange: Use std::vector for NewGRF class lists.
1 year ago
newgrf_commons.cpp
Codechange: Store objectspecs in std::vector instead of flat array.
1 year ago
newgrf_commons.h
Cleanup: remove/replace trailing ; with . in comments
2 years 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
4 years ago
newgrf_debug_gui.cpp
Cleanup: Don't mix switches and early returns in widget selection
2 years ago
newgrf_engine.cpp
Codechange: add non-nullptr asserts in cases where it should never be nullptr
2 years ago
newgrf_engine.h
Codechange: do not declare functions in blocks
2 years 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
2 years ago
newgrf_gui.cpp
Change: Make all dropdown lists extend width if necessary.
1 year ago
newgrf_house.cpp
Add: NewGRF road stops
2 years ago
newgrf_house.h
Feature: NewGRF callback profiling ( #7868 )
5 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 )
5 years ago
newgrf_industrytiles.cpp
Add: NewGRF road stops
2 years ago
newgrf_industrytiles.h
Feature: NewGRF callback profiling ( #7868 )
5 years ago
newgrf_object.cpp
Change: Expose ObjectSpec vector to simplify iteration.
1 year ago
newgrf_object.h
Change: Expose ObjectSpec vector to simplify iteration.
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_roadstop.cpp
Add: NewGRF road stops
2 years ago
newgrf_roadstop.h
Add: NewGRF road stops
2 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
Add: NewGRF road stops
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
Add: documention to large functions that have too little documentation according to CodeQL
2 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
…
newgrf_townname.cpp
Codechange: move non-GUI code to non-GUI source files.
4 years ago
newgrf_townname.h
Codechange: move non-GUI code to non-GUI source files.
4 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.
2 years 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.
4 years ago
object_base.h
…
object_cmd.cpp
Fix #10637 : Incorrect water infra total when building multi-tile object
1 year ago
object_cmd.h
Fix #10135 : Cost of building multiple objects might not match test ( #10137 )
2 years ago
object_gui.cpp
Fix: Don't double-pad existing size when adding widget padding.
1 year ago
object_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
object_type.h
…
openttd.cpp
Codechange: introduce a framework for all our timers
1 year ago
openttd.h
Codechange: do not declare functions in blocks
2 years ago
order_backup.cpp
Codechange: Use anonymous union for vehicle orders/old orders list
3 years ago
order_backup.h
Cleanup: remove unused static variables
2 years ago
order_base.h
Cleanup 54db96b: Left-over function declaration ( #10528 )
2 years ago
order_cmd.cpp
Fix 3719f60: Crash when copying non-station orders ( #10540 )
2 years ago
order_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
order_func.h
Codechange: Use constants for service interval max/min/default values ( #10611 )
1 year ago
order_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
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
…
progress.cpp
Add: make modal windows update more smooth
4 years ago
progress.h
Add: make modal windows update more smooth
4 years ago
querystring_gui.h
…
rail.cpp
Codechange: make use of Tile in for all direct map accesses
2 years ago
rail.h
Cleanup: Replace FOR_ALL_SORTED_RAILTYPES macro with range iterator.
3 years ago
rail_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
rail_cmd.h
Fix db98cedb: Swap parameters for CmdRemoveRailroadTrack, too.
2 years ago
rail_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
rail_gui.h
Feature: Hide block signals in GUI by default ( #8688 )
3 years ago
rail_map.h
Codechange: make use of Tile in for all direct map accesses
2 years 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
Codechange: Be consistent with how company masks are set to all.
1 year ago
road.h
Fix 30ae072: when a road type is hidden, towns may not build them even when that flag is set
2 years ago
road_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
road_cmd.h
Add: NewGRF road stops
2 years ago
road_func.h
Fix #10208 : allow to use specific underlay for road/tram tunnels ( #10233 )
2 years ago
road_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
road_gui.h
…
road_internal.h
…
road_map.cpp
Codechange: make use of Tile in for all direct map accesses
2 years ago
road_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
road_type.h
Codechange: Un-bitstuff remaining transport infrastructure commands.
3 years ago
roadstop.cpp
…
roadstop_base.h
…
roadveh.h
Codechange: refactor FindClosestDepot to not use pointers, but return a struct
2 years ago
roadveh_cmd.cpp
Fix: do not update a RV's Z-position when stationary while turning
1 year ago
roadveh_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
roadveh_gui.cpp
Feature: [NewGRF] Engine name callback.
2 years ago
safeguards.h
Codechange: encapsulate network error handling
3 years ago
screenshot.cpp
Codechange: use RAII to automatically restore _cur_dpi after use
2 years 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
Change: Use seconds for Linkgraph update settings ( #10610 )
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
Change: Make all dropdown lists extend width if necessary.
1 year ago
settings_gui.h
…
settings_internal.h
Codechange: pass large objects by reference instead of value
2 years ago
settings_table.cpp
Codechange: Use constants for service interval max/min/default values ( #10611 )
1 year ago
settings_table.h
Codechange: split settings.ini over several files ( #9421 )
3 years ago
settings_type.h
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
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.
2 years ago
signal.cpp
Cleanup: simplify some boolean expressions
3 years ago
signal_func.h
…
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
…
slope_func.h
Codechange: make a numer of Slope related functions constexpr
1 year ago
slope_type.h
Fix: Ensure 31-bit shifts are unsigned. ( #10128 )
2 years ago
smallmap_gui.cpp
Codechange: Use correct type for linkgraph company mask.
1 year ago
smallmap_gui.h
Codechange: Use correct type for linkgraph company mask.
1 year 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
2 years ago
sound_func.h
…
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
…
spritecache.cpp
Add: documention to large functions that have too little documentation according to CodeQL
2 years ago
spritecache.h
Fix #9804 : Only apply sprite_zoom_min setting when sprites available ( #9988 )
2 years ago
station.cpp
Fix: O(N^2) cost of Station::RecomputeCatchmentForAll
2 years ago
station_base.h
Fix: O(N^2) cost of Station::RecomputeCatchmentForAll
2 years ago
station_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
station_cmd.h
Add: NewGRF road stops
2 years ago
station_func.h
Feature: [Linkgraph] Prioritize faster routes for passengers, mail and express cargo
3 years ago
station_gui.cpp
Codechange: [Linkgraph] Drop node/edge wrappers from LinkGraph.
2 years 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
2 years ago
station_map.h
Codechange: make use of Tile in for all direct map accesses
2 years 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
2 years ago
statusbar_gui.h
…
stdafx.h
Codechange: introduce a framework for all our timers
1 year ago
story.cpp
Cleanup #9725 : Replace cmd_helper related functions and remove cmd_helper.h.
3 years ago
story_base.h
Cleanup #9725 : Replace cmd_helper related functions and remove cmd_helper.h.
3 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
2 years 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
2 years ago
string_base.h
Codechange: use smart pointers when creating StringIterators
2 years 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
…
strings.cpp
Codechange: Use cached name for all station/industry/town name formatting. ( #10634 )
1 year ago
strings_func.h
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
strings_type.h
Codechange: remove special strings for language and resolutions ( #8824 )
4 years ago
subsidy.cpp
Change: Deliver cargo to the closest industry first ( #9536 )
3 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
…
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
2 years 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
2 years ago
terraform_gui.h
…
textbuf.cpp
Codechange: use smart pointers when creating StringIterators
2 years ago
textbuf_gui.h
Codechange: move misc settings to std::string
3 years ago
textbuf_type.h
Codechange: use smart pointers when creating StringIterators
2 years 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
2 years ago
textfile_gui.h
Change: Use scaled WidgetDimensions.
2 years ago
textfile_type.h
…
tgp.cpp
Codechange: migrate size related functions to Map structure
2 years ago
tgp.h
Feature: auto-detect map height limit based on generated map
4 years ago
thread.h
Fix: on startup, NewGRF scan could case race-condition ( #9382 )
3 years ago
tile_cmd.h
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
tile_map.cpp
Codechange: migrate size related functions to Map structure
2 years ago
tile_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
tile_type.h
Codechange: add annotation to selectively force inlining in debug build
2 years ago
tilearea.cpp
Codechange: migrate size related functions to Map structure
2 years ago
tilearea_type.h
Codechange: use smart pointers when cloning iterators
2 years ago
tilehighlight_func.h
Feature: Plant clumps of trees in editor by dragging on the landscape
4 years ago
tilehighlight_type.h
…
tilematrix_type.hpp
Codechange: migrate size related functions to Map structure
2 years ago
timetable.h
…
timetable_cmd.cpp
Feature: Ctrl+Click to reset late counter for the entire vehicle group.
2 years ago
timetable_cmd.h
Feature: Ctrl+Click to reset late counter for the entire vehicle group.
2 years ago
timetable_gui.cpp
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
1 year ago
toolbar_gui.cpp
Change: Make all dropdown lists extend width if necessary.
1 year ago
toolbar_gui.h
Codechange: move windows common to AI and GS out of ai_gui
2 years ago
town.h
Change: Remove scrollbar from town authority actions panel ( #9928 )
2 years ago
town_cmd.cpp
Fix #10343 : Don't extend town-disallowed roadtypes. ( #10347 )
1 year ago
town_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
town_gui.cpp
Fix #10280 , 59645c6: Ignore double-click for unavailable town actions
2 years ago
town_kdtree.h
…
town_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
town_type.h
Feature: Allow disabling local authority control of company actions
3 years ago
townname.cpp
Codechange: pass the randomizer directly to the town name generation
2 years ago
townname_func.h
Codechange: pass the randomizer directly to the town name generation
2 years ago
townname_type.h
Codechange: turn a constant variable into a real constant.
4 years ago
track_func.h
Codechange: Remove FOR_EACH_SET_TRACK
3 years ago
track_type.h
…
train.h
Change: Avoid crashing to the side of a train
2 years ago
train_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
train_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
train_gui.cpp
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
transparency.h
…
transparency_gui.cpp
Change: Use scaled WidgetDimensions.
2 years ago
transparency_gui.h
…
transport_type.h
Codechange: Un-bitstuff remaining transport infrastructure commands.
3 years ago
tree_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
tree_cmd.h
Feature: Press Ctrl to build a diagonal area of trees ( #10342 )
2 years ago
tree_gui.cpp
Feature: Press Ctrl to build a diagonal area of trees ( #10342 )
2 years ago
tree_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
tunnel_map.cpp
Codechange: migrate size related functions to Map structure
2 years ago
tunnel_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
tunnelbridge.h
…
tunnelbridge_cmd.cpp
Change: make GetPartialZ consistent, meaning Z of adjacent slopes continue
1 year ago
tunnelbridge_cmd.h
Codechange: Pass unpacked command arguments to command callbacks (except Script).
3 years ago
tunnelbridge_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
vehicle.cpp
Fix #10630 : Don't allow shifting service date earlier than 0 ( #10643 )
1 year ago
vehicle_base.h
Codechange: add annotation to selectively force inlining in debug build
2 years ago
vehicle_cmd.cpp
Codechange: add non-nullptr asserts in cases where it should never be nullptr
2 years ago
vehicle_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
vehicle_func.h
Add: Use specific error message when vehicle cannot go to station/waypoint
2 years ago
vehicle_gui.cpp
Fix: Don't double-pad existing size when adding widget padding.
1 year ago
vehicle_gui.h
Codechange: do not declare functions in blocks
2 years 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: Use a shared_ptr for viewport overlay. ( #10586 )
2 years 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
2 years ago
viewport_gui.cpp
Fix: Extra viewport cannot be scrolled with right-click-close. ( #10644 )
1 year ago
viewport_kdtree.h
…
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
Codechange: Use a shared_ptr for viewport overlay. ( #10586 )
2 years ago
void_cmd.cpp
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
1 year ago
void_map.h
Codechange: make use of Tile in for all direct map accesses
2 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
2 years ago
water_cmd.cpp
Fix #10638 : Incorrect water infra total when building canal over object
1 year ago
water_cmd.h
Codechange: Un-bitstuff remaining transport infrastructure commands.
3 years ago
water_map.h
Codechange: make use of Tile in for all direct map accesses
2 years ago
waypoint.cpp
Codechange: Rename window related DeleteXXX to match new behaviour
3 years ago
waypoint_base.h
…
waypoint_cmd.cpp
Fix #9810 : 'Rebuilding' a through road stop costs money ( #9852 )
2 years ago
waypoint_cmd.h
Codechange: Un-bitstuff station/depot/waypoint commands.
3 years ago
waypoint_func.h
…
waypoint_gui.cpp
Fix #9995 : Adjust viewport zoom level for HiDPI displays
2 years ago
widget.cpp
Fix: Account for extra dropdown list padding.
1 year ago
widget_type.h
Fix #10554 : Let Scrollbar::SetPosition clamp instead of assert. ( #10555 )
2 years ago
window.cpp
Codechange: introduce a framework for all our timers
1 year ago
window_func.h
Codechange: introduce GetMainWindow() to properly account for nullptr checks
2 years 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
2 years ago
zoom_func.h
Feature: Variable GUI scale.
2 years ago
zoom_type.h
Feature: Variable GUI scale.
2 years ago