..
3rdparty
Codechange: make SQString::Create that supports std::string and use that
12 months ago
ai
Codechange: use fmt::format_to to format the help message
1 year ago
blitter
Codechange: use fmt::format_to to format the help message
1 year ago
core
Add: subspan function to span
12 months ago
fontcache
Codechange: Pass face index as font os_handle for FreeType fonts. ( #11073 )
11 months ago
game
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
lang
Update: Translations from eints
11 months ago
linkgraph
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
misc
Codechange: use std::string for parameters in the dbg_helpers
1 year ago
music
Codechange: use std::string/std::vector over stredup/strecpy/CallocT/free
11 months ago
network
Codechange: replace buffer+strecpy with std::string
11 months ago
os
Codechange: use std::string instead of a temporary buffer for iconv calls
11 months ago
pathfinder
Codechange: replace printf with fmt::print
1 year ago
saveload
Codechange: Use vector when migrating old savegame orders. ( #11020 )
12 months ago
script
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
settingsgen
Codechange: Split GetItem with GetOrCreateItem. ( #10952 )
1 year ago
sound
Codechange: use SignalObjectAndWait since we do not support older than Windows XP anymore
11 months ago
spriteloader
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
strgen
Codechange: let ReadLine return a string instead of passing a buffer
12 months ago
table
Change: Make terraforming point selection sprite visible at >2x zoom out ( #11017 )
11 months ago
tests
Fix: crash when window can't be placed on low resolution screens. ( #10932 )
1 year ago
timer
Codechange: Move includes for common STL headers to stdafx.
1 year ago
video
Codechange: use std::getline to read strings from stdin
11 months ago
widgets
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
CMakeLists.txt
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
aircraft.h
Codechange: do not declare functions in blocks
1 year ago
aircraft_cmd.cpp
Cleanup: Remove unnecessary hangar check.
1 year ago
aircraft_cmd.h
Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).
2 years ago
aircraft_gui.cpp
Feature: [NewGRF] Engine name callback.
1 year ago
airport.cpp
…
airport.h
…
airport_cmd.h
Codechange: Move command callback declarations to the cmd header files.
2 years ago
airport_gui.cpp
Fix: do not use {STRING} when {STRING1} or {STRING2} is needed
12 months ago
animated_tile.cpp
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
animated_tile_func.h
…
articulated_vehicles.cpp
Codechange: Base CargoArray off std::array.
1 year ago
articulated_vehicles.h
…
autoreplace.cpp
Add #7525 : Allow autoreplace with same model vehicle
1 year ago
autoreplace_base.h
…
autoreplace_cmd.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
autoreplace_cmd.h
Codechange: Un-bitstuff group and autoreplace commands.
2 years ago
autoreplace_func.h
…
autoreplace_gui.cpp
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months 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 default dtor instead of empty ( #10826 )
1 year ago
base_media_base.h
Codechange: use fmt::format_to to format the help message
1 year ago
base_media_func.h
Codechange: Split GetItem with GetOrCreateItem. ( #10952 )
1 year ago
base_station_base.h
Change: Extend entity override manager and station spec lists to support 16 bit IDs.
1 year ago
bitmap_type.h
Change: include fmt.h C++ headers in stdafx.h
1 year ago
bmp.cpp
Fix: do not allow more palette colours than there are indices for the colours
1 year ago
bmp.h
…
bootstrap_gui.cpp
Change: Add window description flag to disallow interactive window closing. ( #11008 )
12 months ago
bridge.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
bridge_gui.cpp
Codechange: Pass bridge type instead of display row to BuildBridge. ( #10828 )
1 year ago
bridge_map.cpp
…
bridge_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
build_vehicle_gui.cpp
Fix #11026 : Use real engine name instead of default name for filtering ( #11033 )
12 months ago
cargo_type.h
Codechange: Base CargoArray off std::array.
1 year ago
cargoaction.cpp
…
cargoaction.h
…
cargomonitor.cpp
Codechange: Use standard iterator-erase-loop pattern.
1 year ago
cargomonitor.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
cargopacket.cpp
Fix: multiplication result converted to larger type
1 year ago
cargopacket.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
cargotype.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
cargotype.h
Change: include fmt.h C++ headers in stdafx.h
1 year ago
cheat.cpp
…
cheat_func.h
…
cheat_gui.cpp
Codechange: Remove redundant char buffer. ( #10808 )
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: 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
1 year ago
command.cpp
Codechange: Move includes for common STL headers to stdafx.
1 year ago
command_func.h
Fix: Restore using founder client name as company manager name ( #10535 )
1 year ago
command_type.h
Feature: [GS] Goal destination can be updated ( #10817 )
12 months ago
company_base.h
Feature: allow to do a hostile takeover of an AI company (in singleplayer) ( #10914 )
1 year ago
company_cmd.cpp
Codechange: rename function to better describe what it is doing
12 months ago
company_cmd.h
Codechange: pass (uint) money as Money for CmdGiveMoney
1 year ago
company_func.h
Codechange: rename function to better describe what it is doing
12 months ago
company_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
company_gui.h
Codechange: Rename window related DeleteXXX to match new behaviour
3 years ago
company_manager_face.h
Change: Centre company face in scaled widget. ( #10688 )
1 year ago
company_type.h
Remove: buying/selling/owning company shares ( #10709 )
1 year ago
console.cpp
Codechange: let IConsoleCmdExec accept std::string
11 months ago
console_cmds.cpp
Codechange: refactor code to remove need for stredup
12 months ago
console_func.h
Codechange: let IConsoleCmdExec accept std::string
11 months ago
console_gui.cpp
Codechange: use std::deque for console history
12 months ago
console_gui.h
…
console_internal.h
Codechange: replace stredup + StrMakeValidInPlace with std::string + StrMakeValid
12 months ago
console_type.h
Cleanup: Swap comments for IConsoleModes ( #9587 )
3 years ago
cpu.cpp
Remove: OS/2 port
12 months ago
cpu.h
…
crashlog.cpp
Fix #10993 : Crash log when font caches not initialised ( #11024 )
12 months ago
crashlog.h
Codechange: replace crashlog filenames with std::string in Crashlog
1 year ago
currency.cpp
Fix #11054 : Prevent translation of currency codes.
11 months ago
currency.h
Fix #11054 : Prevent translation of currency codes.
11 months ago
date_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
date_gui.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
date_type.h
Codechange: Don't use macros for DAYS_TILL and friends ( #10746 )
1 year ago
debug.cpp
Codechange: use std::string to return the debug level information
1 year ago
debug.h
Codechange: use std::string to return the debug level information
1 year ago
dedicated.cpp
Change: include fmt.h C++ headers in stdafx.h
1 year ago
depot.cpp
Codechange: Rename window related DeleteXXX to match new behaviour
3 years ago
depot_base.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
depot_cmd.cpp
Codechange: Un-bitstuff station/depot/waypoint commands.
2 years ago
depot_cmd.h
Codechange: Don't use globals for return values from vehicle command procs.
2 years ago
depot_func.h
Codechange: do not declare functions in blocks
1 year ago
depot_gui.cpp
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
depot_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
depot_type.h
Fix a9a21e78: Depots aren't really stations.
2 years ago
direction_func.h
…
direction_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
disaster_vehicle.cpp
Codechange: Use a dedicated variable for disaster vehicle action state. ( #10798 )
1 year ago
disaster_vehicle.h
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
dock_cmd.h
Codechange: Move command callback declarations to the cmd header files.
2 years ago
dock_gui.cpp
Codechange: Reorganise hotkey initialisation. ( #10951 )
1 year ago
driver.cpp
Codechange: remove a number of unneeded c_str() calls
12 months ago
driver.h
Fix: disable hardware acceleration when GPU driver crashed the game last attempt ( #10928 )
1 year ago
economy.cpp
Fix #10917 : Pay loan interest before generating statistics ( #11040 )
12 months ago
economy_base.h
…
economy_cmd.h
Feature: allow to do a hostile takeover of an AI company (in singleplayer) ( #10914 )
1 year ago
economy_func.h
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
1 year ago
economy_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
effectvehicle.cpp
Codechange: migrate size related functions to Map structure
1 year ago
effectvehicle_base.h
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
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: Use IsValidCargoID/IsValidCargoType.
1 year ago
engine_base.h
Fix: Engine age is in months, not days ( #10773 )
1 year ago
engine_cmd.h
Codechange: Un-bitstuff vehicle/engine commands.
2 years ago
engine_func.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
engine_gui.cpp
Codechange: Pass reference instead of pointer to GUI*Lists. ( #10822 )
1 year ago
engine_gui.h
Codechange: Pass reference instead of pointer to GUI*Lists. ( #10822 )
1 year ago
engine_type.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
error.cpp
Codechange: replace error/usererror printf variant with fmt variant and rename
1 year ago
error.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
error_func.h
Codechange: replace error/usererror printf variant with fmt variant and rename
1 year ago
error_gui.cpp
Codechange: remove need for GetDParamX
12 months ago
fileio.cpp
Remove: OS/2 port
12 months ago
fileio_func.h
Codechange: let GenerateDefaultSaveName return std::string
1 year ago
fileio_type.h
Add: always set PERSONAL_DIR "/content_download" in search path ( #8481 )
3 years ago
fios.cpp
Remove: OS/2 port
12 months ago
fios.h
Codechange: replace C-style string processing with C++-style for the listing callbacks
1 year ago
fios_gui.cpp
Codechange: remove a number of unneeded c_str() calls
12 months ago
fontcache.cpp
Fix #10993 : Crash log when font caches not initialised ( #11024 )
12 months ago
fontcache.h
Fix #10993 : Crash log when font caches not initialised ( #11024 )
12 months ago
fontdetection.h
Codechange: Pass language for font detection as std::string. ( #10964 )
1 year ago
framerate_gui.cpp
Codechange: replace seprintf with C++ style formatting
1 year ago
framerate_type.h
Codechange: do not declare functions in blocks
1 year ago
gamelog.cpp
Fix #10982 : No help text for gamelog command ( #10984 )
12 months ago
gamelog.h
Fix #10982 : No help text for gamelog command ( #10984 )
12 months ago
gamelog_internal.h
Codechange: Use std::map instead of custom SmallMap.
1 year ago
genworld.cpp
Codechange: use fmt::format to create desync dump savegames
1 year ago
genworld.h
Feature: allow setting a custom terrain type to define highest peak
3 years ago
genworld_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
gfx.cpp
Codechange: remove queue_wrap / last_position from mouse movement
1 year ago
gfx_func.h
Cleanup: remove DRAW_STRING_BUFFER constant
1 year ago
gfx_layout.cpp
Fix: Layouter not taking stripped formatting codes into account when mapping visual coordinates to/from original string
11 months ago
gfx_layout.h
Codechange: Use unique_ptr for text layout font mapping.
1 year ago
gfx_layout_fallback.cpp
Fix: FallbackParagraphLayouter wasn't reverse-mapping glyphs to character indexes right
11 months ago
gfx_layout_fallback.h
Codechange: split implementations of ParagraphLayouterFactory into their own file
1 year ago
gfx_layout_icu.cpp
Codechange: initialize all values of ICURun on construction ( #10892 )
1 year ago
gfx_layout_icu.h
Feature: drop ICU-lx in favour of directly interfacing with harfbuzz
1 year ago
gfx_type.h
Codechange: remove queue_wrap / last_position from mouse movement
1 year ago
gfxinit.cpp
Add: show fallback sprites with debuglevel sprite=4
11 months ago
gfxinit.h
…
goal.cpp
Feature: [GS] Goal destination can be updated ( #10817 )
12 months ago
goal_base.h
Feature: [GS] Goal destination can be updated ( #10817 )
12 months ago
goal_cmd.h
Feature: [GS] Goal destination can be updated ( #10817 )
12 months ago
goal_gui.cpp
Fix: do not use {STRING} when {STRING1} or {STRING2} is needed
12 months ago
goal_type.h
Fix: [Script] Incorrect value for GOAL_INVALID ( #10436 )
1 year ago
graph_gui.cpp
Codechange: Remove duplicated includes. ( #10888 )
1 year ago
graph_gui.h
Feature: [GS] Scriptable league tables ( #10001 )
2 years ago
ground_vehicle.cpp
Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t>
1 year ago
ground_vehicle.hpp
Change: make GetPartialZ consistent, meaning Z of adjacent slopes continue
1 year ago
group.h
Change: include fmt.h C++ headers in stdafx.h
1 year ago
group_cmd.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
group_cmd.h
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
group_gui.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
group_gui.h
…
group_type.h
…
gui.h
Codechange: use std::string instead of stredup/free for goals
1 year ago
heightmap.cpp
Codechange: migrate size related functions to Map structure
1 year ago
heightmap.h
…
highscore.cpp
Codechange: use std::array and std::string for high scores
1 year ago
highscore.h
Codechange: use std::array and std::string for high scores
1 year ago
highscore_gui.cpp
Codechange: use std::array and std::string for high scores
1 year ago
hotkeys.cpp
Codechange: Split GetItem with GetOrCreateItem. ( #10952 )
1 year ago
hotkeys.h
Codechange: Reorganise hotkey initialisation. ( #10951 )
1 year ago
house.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
house_type.h
…
industry.h
Change: Reorganise industry accept/produce arrays. ( #10853 )
1 year ago
industry_cmd.cpp
Codechange: make creating temporary StringParameters easier
12 months ago
industry_cmd.h
Codechange: Decouple INDUSTRY_CTRL into separate commands ( #10475 )
1 year ago
industry_gui.cpp
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
industry_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
industry_type.h
…
industrytype.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
ini.cpp
Codechange: use string/fmt instead of printf for ShowInfo(F)
1 year ago
ini_load.cpp
Codechange: IniGroup::GetItem() can now be const. ( #10966 )
1 year ago
ini_type.h
Codechange: IniGroup::GetItem() can now be const. ( #10966 )
1 year ago
intro_gui.cpp
Change: Add window description flag to disallow interactive window closing. ( #11008 )
12 months ago
landscape.cpp
Codechange: Move includes for common STL headers to stdafx.
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.
2 years ago
landscape_type.h
…
language.h
Codechange: use std::filesystem::path for the language file's path
12 months ago
league_base.h
Fix #10469 , 5e14a20: [Script] League Table rating element is a int64 everywhere else
1 year 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
1 year ago
league_gui.cpp
Codechange: Remove STR_BLACK_RAW_STRING.
1 year 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
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
main_gui.cpp
Change: Add window description flag to disallow interactive window closing. ( #11008 )
12 months ago
map.cpp
Codechange: use fmt::format to construct error message
1 year ago
map_func.h
Codechange: hide Tile(Extended) into the Tile structure
1 year ago
map_type.h
Codechange: hide Tile(Extended) into the Tile structure
1 year ago
misc.cpp
Cleanup: remove MD5SumToString in lieu of FormatArrayAsHex
1 year ago
misc_cmd.cpp
Change: base autosaves intervals on real time (instead of game time) ( #10655 )
1 year ago
misc_cmd.h
Codechange: Un-bitstuff all remaining commands.
2 years ago
misc_gui.cpp
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
mixer.cpp
Codechange: includes must be before 'safeguards.h'
12 months ago
mixer.h
Fix: Data race on effect volume setting with mixer thread
2 years ago
music.cpp
Codechange: includes must be before 'safeguards.h'
12 months ago
music_gui.cpp
Fix #11087 : Disable base graphics/sound dropdown outside main menu
11 months ago
newgrf.cpp
Codechange: Use std::optional for GRFConfig::GRFError ( #11066 )
11 months ago
newgrf.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
newgrf_airport.cpp
Codechange: replace some min/clamp constructs to ClampTo
1 year ago
newgrf_airport.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
newgrf_airporttiles.cpp
Codechange: Use simple assignment to assign specs.
1 year ago
newgrf_airporttiles.h
Codechange: do not declare functions in blocks
1 year ago
newgrf_animation_base.h
Codechange: move tick-counter into TimerGameTick ( #10712 )
1 year ago
newgrf_animation_type.h
…
newgrf_callbacks.h
Add: NewGRF road stops
1 year 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
Change: include fmt.h C++ headers in stdafx.h
1 year ago
newgrf_class_func.h
Change: Extend entity override manager and station spec lists to support 16 bit IDs.
1 year ago
newgrf_commons.cpp
Codechange: use GetString + StrMakeValid to pass string without colours/font sizes to Debug
1 year ago
newgrf_commons.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
newgrf_config.cpp
Codechange: Use std::optional for GRFConfig::GRFError ( #11066 )
11 months ago
newgrf_config.h
Codechange: Use std::optional for GRFConfig::GRFError ( #11066 )
11 months ago
newgrf_debug.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
newgrf_debug_gui.cpp
Codechange: use std::string GetString variant
1 year ago
newgrf_engine.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
newgrf_engine.h
Codechange: do not declare functions in blocks
1 year ago
newgrf_generic.cpp
Codechange: Move includes for common STL headers to stdafx.
1 year ago
newgrf_generic.h
Codechange: do not declare functions in blocks
1 year ago
newgrf_gui.cpp
Codechange: Use std::optional for GRFConfig::GRFError ( #11066 )
11 months ago
newgrf_house.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
newgrf_house.h
…
newgrf_industries.cpp
Change: Reorganise industry accept/produce arrays. ( #10853 )
1 year ago
newgrf_industries.h
…
newgrf_industrytiles.cpp
Add: NewGRF road stops
1 year ago
newgrf_industrytiles.h
…
newgrf_object.cpp
Codechange: Sprite mapping for objects doesn't involve cargo types. ( #10905 )
1 year ago
newgrf_object.h
Codechange: Sprite mapping for objects doesn't involve cargo types. ( #10905 )
1 year ago
newgrf_profiling.cpp
Codechange: use fmt::format and time conversions over "custom" implementation
1 year ago
newgrf_profiling.h
Codechange: rework NewGRFProfiler to use ticks instead of calendar-days ( #10815 )
1 year ago
newgrf_properties.h
Feature: [NewGRF] Maximum curve speed modifier for rail vehicles ( #9346 )
3 years ago
newgrf_railtype.cpp
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
newgrf_railtype.h
Codechange: Deduplicate ResolveReal() for resolvers that don't use real sprite groups.
3 years ago
newgrf_roadstop.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
newgrf_roadstop.h
Feature: Increase number of stations/roadstops per NewGRF.
1 year ago
newgrf_roadtype.cpp
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
newgrf_roadtype.h
Codechange: Make RoadScopeResolver constructor inlineable ( #9780 )
2 years ago
newgrf_sound.cpp
Codechange: Replace all usages of alloca/AllocaM with more modern/less discouraged alternatives
1 year 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
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
newgrf_station.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
newgrf_station.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
newgrf_storage.cpp
Codechange: Move includes for common STL headers to stdafx.
1 year ago
newgrf_storage.h
Cleanup: Unused alloca definitions and includes
1 year ago
newgrf_text.cpp
Codechange: move StringParameters to strings_internal.h
12 months ago
newgrf_text.h
Codechange: use StringParameters for remapping the NewGRF string control codes
12 months ago
newgrf_town.cpp
Codechange: Use range-for iteration.
1 year ago
newgrf_town.h
…
newgrf_townname.cpp
Codechange: let GetStringWithArgs use StringBuilder
1 year ago
newgrf_townname.h
Codechange: let GetStringWithArgs use StringBuilder
1 year ago
news_cmd.h
Codechange: Un-bitstuff all remaining commands.
2 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
Codechange: remove offset parameter for copying DParams in and out
12 months ago
news_gui.h
Feature: Make news and errors close hotkeys configurable
4 years ago
news_type.h
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
object.h
Add: Hotkey to focus the build object class name filter editbox.
3 years ago
object_base.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
object_cmd.cpp
Codechange: move all date-related variables inside the timer ( #10706 )
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: Reorganise hotkey initialisation. ( #10951 )
1 year ago
object_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
object_type.h
Feature: Remove limit of objects per NewGRF.
1 year ago
openttd.cpp
Cleanup 6298b96: Left-over function declaration ( #11072 )
11 months ago
openttd.h
Feature: opt-in survey when exiting a game
1 year ago
order_backup.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
order_backup.h
Cleanup: remove unused static variables
1 year ago
order_base.h
Cleanup 54db96b: Left-over function declaration ( #10528 )
1 year ago
order_cmd.cpp
Fix 3719f60: Crash when copying non-station orders ( #10540 )
1 year ago
order_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
1 year ago
order_func.h
Codechange: Use constants for service interval max/min/default values ( #10611 )
1 year ago
order_gui.cpp
Codechange: Reorganise hotkey initialisation. ( #10951 )
1 year ago
order_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
osk_gui.cpp
Fix #10987 : Double-close of dropdown stopped land-info tool working as default. ( #11000 )
12 months ago
pbs.cpp
Feature: Multi-track level crossings ( #9931 )
2 years ago
pbs.h
…
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
Codechange: use std::string instead of char* for original editor strings
1 year ago
rail.cpp
Codechange: Don't use macros for DAYS_TILL and friends ( #10746 )
1 year ago
rail.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
rail_cmd.cpp
Feature: Orientation of rail and road depots can be changed ( #9642 )
11 months ago
rail_cmd.h
Fix db98cedb: Swap parameters for CmdRemoveRailroadTrack, too.
2 years ago
rail_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
rail_gui.h
Feature: Hide block signals in GUI by default ( #8688 )
3 years ago
rail_map.h
Feature: Orientation of rail and road depots can be changed ( #9642 )
11 months ago
rail_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
random_access_file.cpp
Codechange: replace error/usererror printf variant with fmt variant and rename
1 year ago
random_access_file_type.h
Change: include fmt.h C++ headers in stdafx.h
1 year 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: Road type is not available before its introduction date.
1 year ago
road.h
Revert 8fa61533: "Fix 30ae072: when a road type is hidden, towns may not build them even when that flag is set"
1 year ago
road_cmd.cpp
Feature: Orientation of rail and road depots can be changed ( #9642 )
11 months ago
road_cmd.h
Fix: Support more than 256 stations/waypoints/roadstops per class. ( #10793 )
1 year ago
road_func.h
Fix #10831 : Level crossing parts left barred after crossing tile removal ( #10874 )
1 year ago
road_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
road_gui.h
…
road_internal.h
…
road_map.cpp
Codechange: make use of Tile in for all direct map accesses
1 year ago
road_map.h
Feature: Orientation of rail and road depots can be changed ( #9642 )
11 months ago
road_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
roadstop.cpp
Codechange: Use range-for iteration.
1 year ago
roadstop_base.h
…
roadveh.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
roadveh_cmd.cpp
Cleanup: Remove unnecessary VehicleRandomBits()
1 year ago
roadveh_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
1 year ago
roadveh_gui.cpp
Codechange: use std::string over strecat to create the RV capacity string
1 year ago
safeguards.h
Cleanup: remove seprintf and vsnprintf
12 months ago
screenshot.cpp
Codechange: use std::string for the screenshot name/path
1 year ago
screenshot.h
Codechange: use std::string for the screenshot name/path
1 year 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
Fix: CMD_CHANGE_SETTING did not reject SF_NO_NETWORK_SYNC settings ( #11009 )
12 months ago
settings_cmd.h
Codechange: Un-bitstuff all remaining commands.
2 years ago
settings_func.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
settings_gui.cpp
Fix #11087 : Disable base graphics/sound dropdown outside main menu
11 months ago
settings_gui.h
Fix #11087 : Disable base graphics/sound dropdown outside main menu
11 months ago
settings_internal.h
Codechange: use std::string for formatting settings
1 year ago
settings_table.cpp
Codechange: Replace some p1/p2 parameter names with better names ( #10658 )
1 year ago
settings_table.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
settings_type.h
Change: Add separate setting for server sent commands per frame limit ( #11023 )
11 months ago
ship.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
ship_cmd.cpp
Cleanup: Remove unnecessary VehicleRandomBits()
1 year ago
ship_cmd.h
Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).
2 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
…
signal_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
signs.cpp
Fix: Don't try to rename OWNER_DEITY signs in-game ( #9716 )
3 years ago
signs_base.h
Change: include fmt.h C++ headers in stdafx.h
1 year ago
signs_cmd.cpp
Codechange: Don't use globals for story/goal/sign/group command proc return values.
2 years ago
signs_cmd.h
Codechange: Don't use globals for story/goal/sign/group command proc return values.
2 years ago
signs_func.h
Codechange: Don't use globals for story/goal/sign/group command proc return values.
2 years ago
signs_gui.cpp
Codechange: remove a number of unneeded c_str() calls
12 months 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
Change: Make terraforming point selection sprite visible at >2x zoom out ( #11017 )
11 months ago
smallmap_gui.h
Codechange: migrate all Window-related timers to the new framework
1 year ago
sortlist_type.h
Codechange: Use std::reverse instead of custom implementation. ( #10918 )
1 year ago
sound.cpp
Codechange: use std::string for base media filename/warning storage
1 year 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
Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. ( #10663 )
1 year ago
sprite.h
…
spritecache.cpp
Add: show fallback sprites with debuglevel sprite=4
11 months ago
spritecache.h
Fix #10660 : Sprite Font scale affected by viewport zoom level limits. ( #10668 )
1 year ago
station.cpp
Codechange: Add IsCargoAccepted/Produced() helpers.
1 year ago
station_base.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
station_cmd.cpp
Codechange: make creating temporary StringParameters easier
12 months ago
station_cmd.h
Fix: Support more than 256 stations/waypoints/roadstops per class. ( #10793 )
1 year ago
station_func.h
Feature: [Linkgraph] Prioritize faster routes for passengers, mail and express cargo
3 years ago
station_gui.cpp
Feature: Highlight waypoint tiles when adjacent or distant joining
1 year ago
station_gui.h
Feature: Highlight waypoint tiles when adjacent or distant joining
1 year ago
station_kdtree.h
Codechange: migrate size related functions to Map structure
1 year ago
station_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
station_type.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
statusbar_gui.cpp
Change: Add window description flag to disallow interactive window closing. ( #11008 )
12 months ago
statusbar_gui.h
…
stdafx.h
Remove: OS/2 port
12 months ago
story.cpp
Codechange: use std::string instead of stredup/free for stories
1 year ago
story_base.h
Codechange: use std::string instead of stredup/free for stories
1 year ago
story_cmd.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
story_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
story_type.h
Codechange: Don't use globals for story/goal/sign/group command proc return values.
2 years ago
string.cpp
Cleanup: remove seprintf and vsnprintf
12 months ago
string_base.h
Codechange: use default dtor instead of empty ( #10826 )
1 year ago
string_func.h
Cleanup: remove seprintf and vsnprintf
12 months ago
string_type.h
Codechange: replace C-style strings with C++-style strings in textfile ( #10772 )
1 year ago
stringfilter.cpp
Codechange: use std::string to store script GUI's break string
1 year ago
stringfilter_type.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
strings.cpp
Cleanup: Use FS enum instead of magic numbers. ( #11088 )
11 months ago
strings_func.h
Codechange: make size and offset size_t
12 months ago
strings_internal.h
Cleanup: remove now unused GetInt32/64 functions
11 months ago
strings_type.h
Codechange: remove special strings for language and resolutions ( #8824 )
3 years ago
subsidy.cpp
Change: Reorganise industry accept/produce arrays. ( #10853 )
1 year ago
subsidy_base.h
Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. ( #10663 )
1 year ago
subsidy_cmd.h
Codechange: Un-bitstuff all remaining commands.
2 years ago
subsidy_func.h
Cleanup: remove declaration of undefined function
3 years ago
subsidy_gui.cpp
Codechange: Move calendar date functions inside TimerGameCalendar ( #10753 )
1 year ago
subsidy_type.h
…
tar_type.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
terraform_cmd.cpp
Codechange: Move includes for common STL headers to stdafx.
1 year ago
terraform_cmd.h
Codechange: Don't use a global for the terrforming error tile.
2 years ago
terraform_gui.cpp
Codechange: Reorganise hotkey initialisation. ( #10951 )
1 year ago
terraform_gui.h
…
textbuf.cpp
Change: move string validation (and assignment) to textbuf
1 year ago
textbuf_gui.h
Codechange: move misc settings to std::string
3 years ago
textbuf_type.h
Codechange: replace text-buf printf with fmt::format
1 year ago
texteff.cpp
Codechange: reduce passing around parameters, but formatting strings earlier
11 months ago
texteff.hpp
Codechange: migrate all Window-related timers to the new framework
1 year ago
textfile_gui.cpp
Feature: opt-in survey when exiting a game
1 year ago
textfile_gui.h
Feature: opt-in survey when exiting a game
1 year ago
textfile_type.h
Feature: opt-in survey when exiting a game
1 year ago
tgp.cpp
Codechange: Remove duplicated includes. ( #10888 )
1 year ago
tgp.h
Feature: auto-detect map height limit based on generated map
3 years ago
thread.h
Cleanup: unused NO_THREADS #ifdefs
11 months ago
tile_cmd.h
Codechange: remove need for SetDParamX
12 months ago
tile_map.cpp
Codechange: migrate size related functions to Map structure
1 year ago
tile_map.h
Codechange: make use of Tile in for all direct map accesses
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
3 years ago
tilehighlight_type.h
…
tilematrix_type.hpp
Codechange: migrate size related functions to Map structure
1 year ago
timetable.h
Codechange: Refactor timetable GUI ( #10613 )
1 year ago
timetable_cmd.cpp
Codechange: Don't use macros for DAYS_TILL and friends ( #10746 )
1 year ago
timetable_cmd.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
timetable_gui.cpp
Codechange: Use {COLOUR} to simplify drawing of timetables
12 months ago
toolbar_gui.cpp
Codechange: Make DropDownListStringItem preformat and remove other implementations. ( #11063 )
11 months ago
toolbar_gui.h
Codechange: move windows common to AI and GS out of ai_gui
1 year ago
town.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
town_cmd.cpp
Codechange: remove need for SetDParamX
12 months ago
town_cmd.h
Fix: Don't send unused tile field over the network ( #10507 )
1 year ago
town_gui.cpp
Codechange: includes must be before 'safeguards.h'
12 months ago
town_kdtree.h
…
town_map.h
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
town_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
townname.cpp
Codechange: make creating temporary StringParameters easier
12 months ago
townname_func.h
Codechange: convert C-style GetTownName API to std::string returning API
1 year ago
townname_type.h
Codechange: Move includes for common STL headers to stdafx.
1 year ago
track_func.h
Codechange: Remove FOR_EACH_SET_TRACK
3 years ago
track_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
train.h
Fix #10502 : Refit engine before attaching free wagons. ( #10926 )
1 year ago
train_cmd.cpp
Fix #10975 : Clear a non-head engine's name ( #10976 )
12 months ago
train_cmd.h
Fix #10502 : Refit engine before attaching free wagons. ( #10926 )
1 year ago
train_gui.cpp
Cleanup: No need to cound actual cargo to get scroll count.
1 year ago
transparency.h
…
transparency_gui.cpp
Change: Use scaled WidgetDimensions.
2 years ago
transparency_gui.h
…
transport_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
tree_cmd.cpp
Codechange: move tick-counter into TimerGameTick ( #10712 )
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
Codechange: make use of Tile in for all direct map accesses
1 year ago
tunnel_map.cpp
Codechange: migrate size related functions to Map structure
1 year ago
tunnel_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
tunnelbridge.h
…
tunnelbridge_cmd.cpp
Codechange: move all date-related variables inside the timer ( #10706 )
1 year ago
tunnelbridge_cmd.h
Codechange: Pass unpacked command arguments to command callbacks (except Script).
2 years ago
tunnelbridge_map.h
Codechange: make use of Tile in for all direct map accesses
1 year ago
vehicle.cpp
Codechange: Use IsValidCargoID/IsValidCargoType.
1 year ago
vehicle_base.h
Codechange: Remove unused CapacitiesMap typedef from struct Vehicle
1 year ago
vehicle_cmd.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
vehicle_cmd.h
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
vehicle_func.h
Fix: Don't restore backed up vehicle name if it's no longer unique. ( #10979 )
12 months ago
vehicle_gui.cpp
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
vehicle_gui.h
Codechange: Base CargoArray off std::array.
1 year ago
vehicle_gui_base.h
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
vehicle_type.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
vehiclelist.cpp
Fix: depot-related commands did not validate depot tiles properly ( #9948 )
2 years ago
vehiclelist.h
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
vehiclelist_cmd.h
Feature: Create group of vehicles from manage vehicle list button. ( #10890 )
12 months ago
viewport.cpp
Change: Make terraforming point selection sprite visible at >2x zoom out ( #11017 )
11 months ago
viewport_cmd.h
Codechange: Un-bitstuff the remaining on-map commands.
2 years ago
viewport_func.h
Codechange: reduce passing around parameters, but formatting strings earlier
11 months 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
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
viewport_sprite_sorter_sse4.cpp
Codechange: Move includes for common STL headers to stdafx.
1 year ago
viewport_type.h
Codechange: Use a shared_ptr for viewport overlay. ( #10586 )
1 year 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
1 year ago
water.h
Codechange: refactor removal of desert around river tiles
1 year ago
water_cmd.cpp
Codechange: move all date-related variables inside the timer ( #10706 )
1 year ago
water_cmd.h
Codechange: Un-bitstuff remaining transport infrastructure commands.
2 years ago
water_map.h
Cleanup: Remove obsolete (Make)EnumPropsT. ( #10697 )
1 year ago
waypoint.cpp
Codechange: Rename window related DeleteXXX to match new behaviour
3 years ago
waypoint_base.h
…
waypoint_cmd.cpp
Fix: Support more than 256 stations/waypoints/roadstops per class. ( #10793 )
1 year ago
waypoint_cmd.h
Fix: Support more than 256 stations/waypoints/roadstops per class. ( #10793 )
1 year ago
waypoint_func.h
…
waypoint_gui.cpp
Codechange: includes must be before 'safeguards.h'
12 months ago
widget.cpp
Change: Allow text shadow on WWT_EMPTY/WWT_TEXT to extend horizontally. ( #11065 )
11 months ago
widget_type.h
Fix dec7ff6b0c: Dropdowns couldn't be closed by pressing the parent button. ( #10954 )
1 year ago
window.cpp
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
window_func.h
Codechange: introduce GetMainWindow() to properly account for nullptr checks
1 year ago
window_gui.h
Codechange: use SetDParam and CopyOutDParam for tooltips
12 months ago
window_type.h
Feature: opt-in survey when exiting a game
1 year ago
zoom_func.h
Feature: Variable GUI scale.
2 years ago
zoom_type.h
Fix #10660 : Sprite Font scale affected by viewport zoom level limits. ( #10668 )
1 year ago