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
PeterN c7cac34025 Fix: 'Cache' top and bottom lines of textfile viewer to avoid overdraw. (#9131)
* Fix: 'Cache' top and bottom lines of textfile viewer to avoid overdraw.

The text file viewer calculated the number of lines required to set the scrollbar, but did not retain this information, so this was recalculated on every draw operation. This includes overdrawing text outside the bounds of the current scroll position.

With this change the top and bottom lines for each line of text are remembered, and reflowing is avoided where possible. Text outside the current scroll bounds is not drawn.
Additionally the scroll interval is now based on text lines instead of pixel lines, which increases the text capacity depending on the font size.

* Fix: Limit text viewer to showing 64k lines.

Text files with more than 64k wrapped lines would exceed the scrollbar capacity and cause an assert. This is harder to reach now that the scrollbar counts lines instead of pixels.

(cherry picked from commit 0b460bf4a1)
3 years ago
..
3rdparty Merge branch 'master' into jgrpp 3 years ago
ai Merge branch 'master' into jgrpp 3 years ago
blitter Merge branch 'master' into jgrpp 3 years ago
core Merge branch 'master' into jgrpp 3 years ago
game Merge branch 'master' into jgrpp 3 years ago
lang Add cheat: town local authority ratings fixed as Outstanding 3 years ago
linkgraph Merge branch 'master' into jgrpp 3 years ago
misc Cleanup: Delete remaining Blob code 3 years ago
music Merge branch 'master' into jgrpp 3 years ago
network Fix: [MinGW] Set minimum OS version to Windows XP (#9135) 3 years ago
os Merge branch 'master' into jgrpp 3 years ago
pathfinder Remove: performance measurements in YAPF 3 years ago
saveload Fix: [MinGW] Set minimum OS version to Windows XP (#9135) 3 years ago
script Fix: [MinGW] Set minimum OS version to Windows XP (#9135) 3 years ago
settingsgen CMake: Fix host strgen/settingsgen importing 3 years ago
sound Codechange: Switch to explicit wide strings 3 years ago
spriteloader Merge branch 'master' into jgrpp 3 years ago
strgen Merge branch 'master' into jgrpp 3 years ago
table Merge branch 'master' into jgrpp 3 years ago
video Merge branch 'master' into jgrpp 3 years ago
widgets Fix: Incorrect vertical alignment of icon and text in DropDownListIconItem. (#9133) 3 years ago
CMakeLists.txt Merge branch 'master' into jgrpp 3 years ago
aircraft.h Add several NewGRF variables to vehicle image callback whitelist 4 years ago
aircraft_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
aircraft_gui.cpp Merge branch 'master' into jgrpp 5 years ago
airport.cpp Cleanup: Removed SVN headers 5 years ago
airport.h Cleanup: Removed SVN headers 5 years ago
airport_gui.cpp Merge branch 'master' into jgrpp 3 years ago
animated_tile.cpp Cache animated tile speed, use btree map for animated tiles 4 years ago
animated_tile.h Cache animated tile speed, use btree map for animated tiles 4 years ago
animated_tile_func.h Cache animated tile speed, use btree map for animated tiles 4 years ago
articulated_vehicles.cpp Codechange: create MutableSpriteCache to remove the need to cast Vehicle to a mutable type in render methods 4 years ago
articulated_vehicles.h Merge branch 'master' into jgrpp 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 Merge branch 'master' into jgrpp 3 years ago
autoreplace_func.h Merge branch 'master' into jgrpp 5 years ago
autoreplace_gui.cpp Fix: Count engine details text in lines rather than pixels. (#9107) 3 years 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 Merge branch 'master' into jgrpp 4 years ago
base_consist.h Use TinyString for custom name fields which are almost always empty 4 years ago
base_media_base.h Codechange: Use std::string in file scanners. 4 years ago
base_media_func.h Codechange: [Network] Do not leak os_abstraction.h via base_media_func.h 3 years ago
base_station_base.h Use TinyString for custom name fields which are almost always empty 4 years ago
bitmap_type.h Merge branch 'master' into jgrpp 5 years ago
bmp.cpp Cleanup: Removed SVN headers 5 years ago
bmp.h Cleanup: Removed SVN headers 5 years ago
bootstrap_gui.cpp Codechange: we are not booing straps .. we are bootstrapping 3 years ago
bridge.h DEBUG: Add bridge pillar index to debug landinfo print 4 years ago
bridge_gui.cpp Fix #246: No error subtitle when no bridge type is available 3 years ago
bridge_map.cpp Fix bridges not being redrawn after all signals reset when cleared 4 years ago
bridge_map.h Fix assertion failure when upgrading dual road/tram bridge 4 years ago
bridge_signal_map.h Fix bridges not being redrawn after all signals reset when cleared 4 years ago
build_vehicle_gui.cpp Merge branch 'master' into jgrpp 3 years ago
cargo_type.h Cleanup: Removed SVN headers 5 years ago
cargoaction.cpp Merge branch 'master' into jgrpp 5 years ago
cargoaction.h Merge branch 'master' into jgrpp 5 years ago
cargomonitor.cpp Merge branch 'master' into jgrpp 5 years ago
cargomonitor.h Merge branch 'master' into jgrpp 3 years ago
cargopacket.cpp Merge branch 'master' into jgrpp 3 years ago
cargopacket.h Update: Merge branch 'jgrpp_master_cmake' into jgrpp_cmake 4 years ago
cargotype.cpp Cleanup: Replace FOR_ALL_SORTED_CARGOSPECS macro with range iterator. 3 years ago
cargotype.h Cleanup: Replace FOR_ALL_SORTED_CARGOSPECS macro with range iterator. 3 years ago
cheat.cpp Save/load: Add extra cheats savegame chunk 4 years ago
cheat_func.h Save/load: Add extra cheats savegame chunk 4 years ago
cheat_gui.cpp Add cheat: town local authority ratings fixed as Outstanding 3 years ago
cheat_type.h Add cheat: town local authority ratings fixed as Outstanding 3 years ago
clear_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
clear_func.h Merge branch 'master' into jgrpp 5 years ago
clear_map.h Merge branch 'master' into jgrpp 5 years ago
cmd_helper.h Codechange: Replace assert_compile macro with static_assert 4 years ago
command.cpp Merge branch 'master' into jgrpp 3 years ago
command_func.h Merge branch 'master' into jgrpp 3 years ago
command_type.h Merge branch 'master' into jgrpp 3 years ago
company_base.h Add rate limit for object construction 4 years ago
company_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
company_func.h Fix assert failure in DoStartupNewCompany when called from AfterLoadGame 4 years ago
company_gui.cpp Cleanup: Replace FOR_ALL_SORTED_ROADTYPES macro with range iterator. 3 years ago
company_gui.h Merge branch 'master' into jgrpp 5 years ago
company_manager_face.h Codechange: Replace assert_compile macro with static_assert 4 years ago
company_type.h Cleanup: Removed SVN headers 5 years ago
console.cpp Merge branch 'master' into jgrpp 3 years ago
console_cmds.cpp Merge branch 'master' into jgrpp 3 years ago
console_func.h Console: Add commands for conditional execution from game date 4 years ago
console_gui.cpp Console: Include aliases in tab completion 3 years ago
console_gui.h Cleanup: Removed SVN headers 5 years ago
console_internal.h Merge branch 'master' into jgrpp 3 years ago
console_type.h Cleanup: Removed SVN headers 5 years ago
cpu.cpp Feature: Add support for rdtsc for ARM-based Windows (MSVC) 3 years ago
cpu.h Cleanup: Removed SVN headers 5 years ago
crashlog.cpp Crashlog: Update thread/lock handling to match GameLoop changes 3 years ago
crashlog.h Crashlog: Update thread/lock handling to match GameLoop changes 3 years ago
crashlog_bfd.h CMake: Add BFD, support new BFD API 4 years ago
currency.cpp Add: Malaysia Ringgit as Currency 3 years ago
currency.h Add: Malaysia Ringgit as Currency 3 years ago
date.cpp Fix date cheat/scenario load not adjusting vehicle date of last service 3 years ago
date_func.h Remove redundant year/month date globals 4 years ago
date_gui.cpp Fix signed integer overflow in SetMinutesWindow callback 3 years ago
date_gui.h Merge branch 'master' into jgrpp 5 years ago
date_type.h Store time display settings both in savegame and client, add setting 4 years ago
debug.cpp Send network client desync log messages to server 3 years ago
debug.h Codechange: remove _realtime_tick variable 3 years ago
debug_settings.h Add misc debug flag for water flooding states 3 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
departures.cpp Fix departure boards not handling unconditional order jumps 3 years ago
departures_func.h Improve performance of departures window 5 years ago
departures_gui.cpp Merge branch 'master' into jgrpp 3 years ago
departures_gui.h
departures_type.h Merge: Codechange: Use null pointer literal instead of the NULL macro 5 years ago
depot.cpp Merge branch 'master' into jgrpp 4 years ago
depot_base.h Use TinyString for custom name fields which are almost always empty 4 years ago
depot_cmd.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
depot_func.h Cleanup: Removed SVN headers 5 years ago
depot_gui.cpp Merge branch 'master' into jgrpp 3 years ago
depot_map.h Merge branch 'master' into jgrpp 5 years ago
depot_type.h Merge branch 'master' into jgrpp 5 years ago
direction_func.h Merge branch 'master' into jgrpp 5 years ago
direction_type.h Add feature: realistic train braking 3 years ago
disaster_vehicle.cpp Merge branch 'master' into jgrpp 3 years ago
disaster_vehicle.h Merge branch 'master' into jgrpp 5 years ago
dock_gui.cpp Feature: Press ctrl to build diagonal rivers in Scenario Editor (#8880) 3 years ago
driver.cpp Codechange: Suppress warnings when asserts are disabled (#8917) 3 years ago
driver.h Add: Option to (dis-)allow accelerated video drivers. (#8819) 3 years ago
economy.cpp Merge branch 'master' into jgrpp 3 years ago
economy_base.h Merge branch 'master' into jgrpp 5 years ago
economy_func.h Feature: Set exclusive access to industry from GS (#8115) 4 years ago
economy_type.h Merge branch 'master' into jgrpp 3 years ago
effectvehicle.cpp Merge branch 'master' into jgrpp 3 years ago
effectvehicle_base.h Merge branch 'master' into jgrpp 5 years ago
effectvehicle_func.h Cleanup: Removed SVN headers 5 years ago
elrail.cpp Merge branch 'master' into jgrpp 3 years ago
elrail_func.h Merge branch 'master' into jgrpp 5 years ago
engine.cpp Merge branch 'master' into jgrpp 3 years ago
engine_base.h Cleanup: Correct typographic errors in code comments. 4 years ago
engine_func.h Add setting for no vehicles introduced after given year 3 years ago
engine_gui.cpp Merge branch 'master' into jgrpp 3 years ago
engine_gui.h Add sort by vehicle count to vehicle purchase window 4 years ago
engine_type.h Cleanup: Removed SVN headers 5 years ago
error.h Merge branch 'master' into jgrpp 3 years ago
error_gui.cpp Merge branch 'master' into jgrpp 3 years ago
fileio.cpp Merge branch 'master' into jgrpp 3 years ago
fileio_func.h Merge branch 'master' into jgrpp 3 years ago
fileio_type.h Add: always set PERSONAL_DIR "/content_download" in search path (#8481) 4 years ago
fios.cpp Merge branch 'master' into jgrpp 3 years ago
fios.h Merge branch 'master' into jgrpp 3 years ago
fios_gui.cpp Merge branch 'master' into jgrpp 3 years ago
fontcache.cpp Fix missing override keywords 3 years ago
fontcache.h Merge tag '1.11.0-beta2' into jgrpp 3 years ago
fontcache_internal.h Fix missing override keywords 3 years ago
fontdetection.h Codechange: [Win32] Move Win32-specific font code to a seperate file. 3 years ago
framerate_gui.cpp Merge branch 'master' into jgrpp 3 years ago
framerate_type.h Cleanup: Removed SVN headers 5 years ago
gamelog.cpp Merge branch 'master' into jgrpp 3 years ago
gamelog.h Fix: Stop any gamelog action when recovering from SlError() 4 years ago
gamelog_internal.h Merge branch 'master' into jgrpp 5 years ago
genworld.cpp Merge branch 'master' into jgrpp 3 years ago
genworld.h Merge branch 'master' into jgrpp 3 years ago
genworld_gui.cpp Merge branch 'master' into jgrpp 3 years ago
gfx.cpp Fix changing font zoom not updating font height cache 3 years ago
gfx_func.h Merge branch 'master' into jgrpp 3 years ago
gfx_layout.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
gfx_layout.h Fix assertion failure when colour stack used with TC_FORCED 4 years ago
gfx_type.h Merge branch 'master' into jgrpp 3 years ago
gfxinit.cpp Merge branch 'master' into jgrpp 3 years ago
gfxinit.h Cleanup: Removed SVN headers 5 years ago
goal.cpp Fix: [Network] don't desync if client leaves before you finish downloading map 3 years ago
goal_base.h Codechange: Replace FOR_ALL_GOALS with range-based for loops 5 years ago
goal_gui.cpp Add: Buttons to open global goals from company goals and vice versa 3 years ago
goal_type.h Feature: [GS] Allow non-question type windows to have no buttons 3 years ago
graph_gui.cpp Merge branch 'master' into jgrpp 3 years ago
graph_gui.h Cleanup: Removed SVN headers 5 years ago
ground_vehicle.cpp Add train cache flag for whether train using realistic braking physics 3 years ago
ground_vehicle.hpp Add train cache flag for whether train using realistic braking physics 3 years ago
group.h Merge branch 'master' into jgrpp 3 years ago
group_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
group_gui.cpp Merge branch 'master' into jgrpp 3 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 Merge branch 'master' into jgrpp 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 Add: allow setting the highest mountain for heightmaps 3 years ago
heightmap.h Cleanup: Removed SVN headers 5 years ago
highscore.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
highscore.h Cleanup: Removed SVN headers 5 years ago
highscore_gui.cpp Fix #8625: Wrong ending year was displayed in highscore table 3 years ago
hotkeys.cpp Merge branch 'master' into jgrpp 3 years ago
hotkeys.h Cleanup: Removed SVN headers 5 years ago
house.h Extra House ID's 3 years ago
house_type.h Cleanup: Removed SVN headers 5 years ago
industry.h Merge tag '1.11.0-beta1' into jgrpp 3 years ago
industry_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
industry_gui.cpp Merge branch 'master' into jgrpp 3 years ago
industry_map.h Merge branch 'master' into jgrpp 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
infrastructure.cpp Don't check safe waiting point in FollowTrainReservation if result unused 3 years ago
infrastructure_func.h Merge branch 'master' into jgrpp 5 years ago
ini.cpp Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't exist (#8985) 3 years ago
ini_load.cpp Fix ftell() error sentinel value being used in allocation 3 years ago
ini_type.h Revert "Cleanup: use std::optional instead of custom implementation." 3 years ago
intro_gui.cpp Change: Don't display OS name when the user is exiting the game 4 years ago
landscape.cpp Mapgen: Generate fuzzy ellipse shaped lakes instead of squares 3 years ago
landscape.h Cache current value of snow line height 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
livery.h Cleanup: Removed SVN headers 5 years ago
main_gui.cpp Change: Apply some consistency to singleplayer related comments 3 years ago
map.cpp Merge branch 'master' into jgrpp 3 years ago
map_func.h Merge branch 'master' into jgrpp 4 years ago
map_type.h Merge branch 'master' into jgrpp 3 years ago
misc.cpp Add: settings to limit your fast-forward game speed 3 years ago
misc_cmd.cpp Add cheat: town local authority ratings fixed as Outstanding 3 years ago
misc_gui.cpp Merge branch 'master' into jgrpp 3 years ago
mixer.cpp Fix: Allow full sample range for 16-bit audio. 3 years ago
mixer.h Cleanup: Removed SVN headers 5 years ago
music.cpp Merge branch 'master' into jgrpp 3 years ago
music_gui.cpp Feature: Volume sliders in Game Options window 3 years ago
newgrf.cpp Add NewGRF railtype flag to disable realistic braking for vehs of that type 3 years ago
newgrf.h Add NewGRF railtype flag to disable realistic braking for vehs of that type 3 years ago
newgrf_airport.cpp Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_airport.h Cleanup: Removed SVN headers 5 years ago
newgrf_airporttiles.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_airporttiles.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_animation_base.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_animation_type.h Cleanup: Removed SVN headers 5 years ago
newgrf_cache_check.h Fix sprite bound issues for vehicles which vary bounds with curvature 4 years ago
newgrf_callbacks.h Cleanup: Removed SVN headers 5 years ago
newgrf_canal.cpp Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_canal.h Cleanup: Removed SVN headers 5 years ago
newgrf_cargo.cpp Fix: GetCargoTranslation could return out-of-bounds index for old-style NewGRF using cargo-slots. 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 Merge branch 'master' into jgrpp 5 years ago
newgrf_commons.cpp Codechange: Make use of the improved C++17 emplace_back function. 4 years ago
newgrf_commons.h Cleanup: Removed SVN headers 5 years ago
newgrf_config.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_config.h Merge branch 'master' into jgrpp 3 years ago
newgrf_debug.h Codechange: replace _realtime_tick with std::chrono for mouse events 3 years ago
newgrf_debug_gui.cpp Debug: Fix blank detection for persistent storage display 3 years ago
newgrf_engine.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_engine.h Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_generic.cpp Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_generic.h Cleanup: Removed SVN headers 5 years ago
newgrf_gui.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_house.cpp Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_house.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_industries.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_industries.h Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_industrytiles.cpp Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_industrytiles.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_object.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_object.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_profiling.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf_profiling.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_properties.h Cleanup: Removed SVN headers 5 years ago
newgrf_railtype.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_railtype.h Merge branch 'master' into jgrpp 3 years ago
newgrf_roadtype.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_roadtype.h Merge branch 'master' into jgrpp 3 years ago
newgrf_sound.cpp Cleanup: Removed SVN headers 5 years ago
newgrf_sound.h Cleanup: Removed SVN headers 5 years ago
newgrf_spritegroup.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_spritegroup.h Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_station.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_station.h Cache animated tile speed, use btree map for animated tiles 4 years ago
newgrf_storage.cpp Cleanup: Removed SVN headers 5 years ago
newgrf_storage.h Codechange: Replace assert_compile macro with static_assert 4 years ago
newgrf_text.cpp Merge branch 'master' into jgrpp 3 years ago
newgrf_text.h Saveload: Store NewGRF name in savegame, include in missing GRF message 4 years ago
newgrf_town.cpp Add several NewGRF variables to vehicle image callback whitelist 4 years ago
newgrf_town.h Add several NewGRF variables to vehicle image callback whitelist 4 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_func.h Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497) 4 years ago
news_gui.cpp Merge branch 'master' into jgrpp 3 years ago
news_gui.h Feature: Make news and errors close hotkeys configurable 4 years ago
news_type.h Cleanup: Removed SVN headers 5 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 Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
object_gui.cpp Merge branch 'master' into jgrpp 3 years ago
object_map.h Merge branch 'master' into jgrpp 5 years ago
object_type.h Cleanup: Removed SVN headers 5 years ago
openttd.cpp Merge branch 'master' into jgrpp 3 years ago
openttd.h Merge branch 'master' into jgrpp 3 years ago
order_backup.cpp Merge branch 'master' into jgrpp 3 years ago
order_backup.h Merge branch 'master' into jgrpp 5 years ago
order_base.h Fix unnecessary braking when leaving station with order without non-stop flag 3 years ago
order_cmd.cpp Add timetable lateness/earliness conditional order 3 years ago
order_cmd.h Merge branch 'master' into jgrpp 3 years ago
order_func.h Conditional orders: Add slot acquire modes to train in slot conditional 4 years ago
order_gui.cpp Add timetable lateness/earliness conditional order 3 years ago
order_type.h Add timetable lateness/earliness conditional order 3 years ago
osk_gui.cpp Merge branch 'master' into jgrpp 3 years ago
pbs.cpp Add train cache flag for whether train using realistic braking physics 3 years ago
pbs.h Validate lookahead reservation end OK before calling FollowTrainReservation 3 years ago
plans.cpp Plans: Improve performance of viewport plan rendering 4 years ago
plans_base.h Allow changing the colour of plans 4 years ago
plans_cmd.cpp Allow changing the colour of plans 4 years ago
plans_func.h Merge branch 'master' into jgrpp 5 years ago
plans_gui.cpp Remove OVEERIDE macro 3 years ago
plans_type.h Merge branch 'master' into jgrpp 5 years ago
programmable_signals.cpp Programmable pre-signals: Fix MP desync with programming new signals 4 years ago
programmable_signals.h Add slot and counter support to programmable pre-signals 4 years ago
programmable_signals_gui.cpp Remove OVEERIDE macro 3 years ago
progress.cpp Merge branch 'master' into jgrpp 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 Add setting for no vehicles introduced after given year 3 years ago
rail.h Cleanup: Replace FOR_ALL_SORTED_RAILTYPES macro with range iterator. 3 years ago
rail_cmd.cpp Disable realistic braking for TELE, PIPE, WIRE railtypes by default 3 years ago
rail_gui.cpp Cleanup: Replace FOR_ALL_SORTED_RAILTYPES macro with range iterator. 3 years ago
rail_gui.h Cleanup: Removed SVN headers 5 years ago
rail_map.h Add feature: realistic train braking 3 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
rev.cpp.in Merge branch 'master' into jgrpp 3 years ago
rev.h CMake: Fix configure defines 4 years ago
road.cpp Merge branch 'master' into jgrpp 3 years ago
road.h Cleanup: Replace FOR_ALL_SORTED_ROADTYPES macro with range iterator. 3 years ago
road_cmd.cpp Disallow converting town-owned roads to types with the no houses flag 3 years ago
road_cmd.h Cleanup: Removed SVN headers 5 years ago
road_func.h Add road tile cached one way state, one way road section detection 4 years ago
road_gui.cpp Cleanup: Replace FOR_ALL_SORTED_ROADTYPES macro with range iterator. 3 years ago
road_gui.h Cleanup: Removed SVN headers 5 years ago
road_internal.h Cleanup: Removed SVN headers 5 years ago
road_map.cpp Merge branch 'master' into jgrpp 5 years ago
road_map.h Add road tile cached one way state, one way road section detection 4 years ago
road_type.h Merge branch 'master' into jgrpp 5 years ago
roadstop.cpp Allow drive-through road stops to be one-way 4 years ago
roadstop_base.h Allow drive-through road stops to be one-way 4 years ago
roadveh.h Distribute articulated vehicle weight evenly between articulated parts 3 years ago
roadveh_cmd.cpp Add train cache flag for whether train using realistic braking physics 3 years ago
roadveh_gui.cpp Merge branch 'master' into jgrpp 5 years ago
safeguards.h Change: [Network] Safeguard from using errno/strerror for handling network errors 3 years ago
schdispatch.h Merge branch 'master' into jgrpp 5 years ago
schdispatch_cmd.cpp Fix signed integer overflow when initialising scheduled dispatch 3 years ago
schdispatch_gui.cpp Fix #244: Scheduled dispatch buttons not disabled for other companies 3 years ago
scope.h Merge branch 'master' into jgrpp 5 years ago
scope_info.cpp Debug: Include vehicle type and unit number in scope_dumper::VehicleInfo 3 years ago
scope_info.h Add a scope info logger for DoSetViewportPosition calls 4 years ago
screenshot.cpp Merge branch 'master' into jgrpp 3 years ago
screenshot.h Merge branch 'master' into jgrpp 3 years ago
screenshot_gui.cpp Add screenshot type: whole map at current zoom level 3 years ago
screenshot_gui.h Hide screenshot window when taking normal screesnhot 4 years ago
settings.cpp Merge branch 'master' into jgrpp 3 years ago
settings_func.h Store time display settings both in savegame and client, add setting 4 years ago
settings_gui.cpp Merge branch 'master' into jgrpp 3 years ago
settings_gui.h Cleanup: Removed SVN headers 5 years ago
settings_internal.h Merge branch 'master' into jgrpp 3 years ago
settings_type.h Merge branch 'master' into jgrpp 3 years ago
ship.h Merge branch 'master' into jgrpp 3 years ago
ship_cmd.cpp Fix collision checks for ship collision avoidance 3 years ago
ship_gui.cpp Merge branch 'master' into jgrpp 5 years ago
signal.cpp Remove assert from UpdateSignalsOnSegment that globset is empty 3 years ago
signal_func.h Fix assertion failure when command triggers PBS tunnel/bridge unreserve 3 years ago
signal_type.h Merge branch 'master' into jgrpp 5 years ago
signs.cpp Merge branch 'master' into jgrpp 4 years ago
signs_base.h Merge branch 'master' into jgrpp 4 years ago
signs_cmd.cpp Add third DoCommand parameter p3 4 years ago
signs_func.h Cleanup: Removed SVN headers 5 years ago
signs_gui.cpp Change: Recolour graph windows to brown (#8700) 3 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 Cleanup: Removed SVN headers 5 years ago
smallmap_colours.h Merge tag '1.11.0-beta1' into jgrpp 3 years ago
smallmap_gui.cpp Merge branch 'master' into jgrpp 3 years ago
smallmap_gui.h Merge branch 'master' into jgrpp 3 years ago
sortlist_type.h Cleanup 2db88953e7: Remove VL_FIRST_SORT as it's useless 4 years ago
sound.cpp Merge branch 'master' into jgrpp 3 years ago
sound_func.h Cleanup: Removed SVN headers 5 years ago
sound_type.h Merge branch 'master' into jgrpp 3 years ago
sprite.cpp Cleanup: Removed SVN headers 5 years ago
sprite.h Cleanup: Removed SVN headers 5 years ago
spritecache.cpp Merge branch 'master' into jgrpp 3 years ago
spritecache.h Merge tag '1.11.0-beta2' into jgrpp 3 years ago
station.cpp Merge branch 'master' into jgrpp 3 years ago
station_base.h Station: Add field for number of station tiles 4 years ago
station_cmd.cpp Add cheat: town local authority ratings fixed as Outstanding 3 years ago
station_func.h Codechange: Refactor FindStationsAroundTiles to avoid code duplication 4 years ago
station_gui.cpp Fix #253: Right column width in station window group/sort with large font 3 years ago
station_gui.h Change how dirty screen, window and viewport areas are tracked for later redrawing 4 years ago
station_kdtree.h Merge branch 'master' into jgrpp 3 years ago
station_map.h Allow drive-through road stops to be one-way 4 years ago
station_type.h Merge branch 'master' into jgrpp 5 years ago
statusbar_gui.cpp Merge branch 'master' into jgrpp 3 years ago
statusbar_gui.h Cleanup: Removed SVN headers 5 years ago
stdafx.h Fix: [MinGW] Set minimum OS version to Windows XP (#9135) 3 years ago
story.cpp Feature: Push-buttons on storybook pages (#7896) 4 years ago
story_base.h Feature: Push-buttons on storybook pages (#7896) 4 years ago
story_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
story_type.h Cleanup: Removed SVN headers 5 years ago
string.cpp Merge branch 'master' into jgrpp 3 years ago
string_base.h Cleanup: Removed SVN headers 5 years ago
string_func.h Merge branch 'master' into jgrpp 3 years ago
string_func_extra.h Avoid undefined behaviour const_casting std::string c_str() 3 years ago
string_type.h Cheats window: Allow clicking money text to enter quantity 3 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 Cleanup: Replace FOR_ALL_SORTED_CARGOSPECS macro with range iterator. 3 years ago
strings_func.h Merge tag '1.11.0-beta1' into jgrpp 3 years ago
strings_type.h Codechange: remove special strings for language and resolutions (#8824) 3 years ago
subsidy.cpp Cleanup: Replace single-use Pair struct with std::pair. 3 years ago
subsidy_base.h Fix: Make subsidies scan tiles for town acceptance and production instead of using desync-prone town caches 4 years ago
subsidy_func.h Cleanup: Replace single-use Pair struct with std::pair. 3 years ago
subsidy_gui.cpp Merge branch 'master' into jgrpp 4 years ago
subsidy_type.h Cleanup: Removed SVN headers 5 years ago
tar_type.h Codechange: Use std::string in file scanners. 4 years ago
tbtr_template_gui_create.cpp Fix missing override keywords 3 years ago
tbtr_template_gui_create.h Merge branch 'master' into jgrpp 5 years ago
tbtr_template_gui_main.cpp Merge branch 'master' into jgrpp 3 years ago
tbtr_template_gui_main.h TBTR: Remove unitnumber_digits field/param from main window 4 years ago
tbtr_template_vehicle.cpp TBTR: No longer use idle vehicles in depots by default 3 years ago
tbtr_template_vehicle.h TBTR: No longer use idle vehicles in depots by default 3 years ago
tbtr_template_vehicle_func.cpp Merge branch 'master' into jgrpp 3 years ago
tbtr_template_vehicle_func.h TBTR: Fix palette recolouring of templates 4 years ago
terraform_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
terraform_gui.cpp Merge branch 'master' into jgrpp 3 years ago
terraform_gui.h Cleanup: Removed SVN headers 5 years ago
textbuf.cpp Merge branch 'master' into jgrpp 5 years ago
textbuf_gui.h Cleanup: Removed SVN headers 5 years ago
textbuf_type.h Codechange: Consistently use WChar when passing characters around, and also define it as char32_t. 4 years ago
texteff.cpp Pre-filter signs by Y coordinate in DrawTextEffects 4 years ago
texteff.hpp Cleanup: Removed SVN headers 5 years ago
textfile_gui.cpp Fix: 'Cache' top and bottom lines of textfile viewer to avoid overdraw. (#9131) 3 years ago
textfile_gui.h Fix: 'Cache' top and bottom lines of textfile viewer to avoid overdraw. (#9131) 3 years ago
textfile_type.h Cleanup: Removed SVN headers 5 years ago
tgp.cpp Merge branch 'master' into jgrpp 3 years ago
tgp.h Feature: auto-detect map height limit based on generated map 3 years ago
thread.h Crashlog: Update thread/lock handling to match GameLoop changes 3 years ago
tile_cmd.h Add a minimum visible height and no ground tile parameter to DrawTileProc. 4 years ago
tile_map.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
tile_map.h Merge branch 'master' into jgrpp 5 years ago
tile_type.h Merge branch 'master' into jgrpp 3 years ago
tilearea.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
tilearea_type.h Merge branch 'master' into jgrpp 5 years ago
tilehighlight_func.h Merge branch 'master' into jgrpp 3 years ago
tilehighlight_type.h Plans: Fix adding plan lines in viewport map mode 4 years ago
tilematrix_type.hpp Merge branch 'master' into jgrpp 3 years ago
timetable.h Auto separation: Remove circular linked list, use new algorithm 4 years ago
timetable_cmd.cpp Add release slot train order 3 years ago
timetable_gui.cpp Remove OVEERIDE macro 3 years ago
toolbar_gui.cpp Merge branch 'master' into jgrpp 3 years ago
toolbar_gui.h Merge branch 'master' into jgrpp 5 years ago
town.h Add: new town council "indifferent" attitude 3 years ago
town_cmd.cpp Add cheat: town local authority ratings fixed as Outstanding 3 years ago
town_gui.cpp Update house picker zone display to match settings and spec 3 years ago
town_gui.h Merge branch 'master' into jgrpp 5 years ago
town_kdtree.h Fix station and town kdtrees with maps larger than 64k 4 years ago
town_map.h Extra House ID's 3 years ago
town_type.h Merge branch 'master' into jgrpp 5 years ago
townname.cpp Fix #8919: Release builds with asserts enabled (#8925) 3 years ago
townname_func.h Cleanup: Removed SVN headers 5 years ago
townname_type.h Codechange: turn a constant variable into a real constant. 3 years ago
tracerestrict.cpp Fix tracerestrict train is loading status condition when predicting orders 3 years ago
tracerestrict.h Add tracerestrict reserved tiles ahead conditional 3 years ago
tracerestrict_gui.cpp Merge branch 'master' into jgrpp 3 years ago
track_func.h Merge branch 'master' into jgrpp 5 years ago
track_type.h Merge branch 'master' into jgrpp 5 years ago
train.h Add train cache flag for whether train using realistic braking physics 3 years ago
train_cmd.cpp Drive through depots: Allow moving between ends when current exit blocked 3 years ago
train_gui.cpp Merge branch 'master' into jgrpp 3 years ago
transparency.h Fix changing tree transparency not updating vegatation map mode viewports 4 years ago
transparency_gui.cpp Add display setting for income/cost text effects 4 years ago
transparency_gui.h Cleanup: Removed SVN headers 5 years ago
transport_type.h Cleanup: Removed SVN headers 5 years ago
tree_cmd.cpp Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
tree_gui.cpp Merge branch 'master' into jgrpp 3 years ago
tree_map.h Merge branch 'master' into jgrpp 5 years ago
tunnel_base.h Merge branch 'master' into jgrpp 5 years ago
tunnel_map.cpp Merge branch 'master' into jgrpp 5 years ago
tunnel_map.h Fix: Set invalid road and tram types for rail tunnel ends 4 years ago
tunnelbridge.h Tunnel/bridge signal simulation spacing is now a company setting 4 years ago
tunnelbridge_cmd.cpp Merge branch 'master' into jgrpp 3 years ago
tunnelbridge_map.h Add feature: realistic train braking 3 years ago
unit_conversion.h Merge branch 'master' into jgrpp 5 years ago
vehicle.cpp Fix date cheat/scenario load not adjusting vehicle date of last service 3 years ago
vehicle_base.h Fix date cheat/scenario load not adjusting vehicle date of last service 3 years ago
vehicle_cmd.cpp Refresh lookahead when starting train from stationary 3 years ago
vehicle_func.h Add feature: realistic train braking 3 years ago
vehicle_gui.cpp Cleanup: Replace FOR_ALL_SORTED_CARGOSPECS macro with range iterator. 3 years ago
vehicle_gui.h Avoid unnecessary redrawing of vehicle list windows 4 years ago
vehicle_gui_base.h Merge branch 'master' into jgrpp 3 years ago
vehicle_type.h Add feature: realistic train braking 3 years ago
vehiclelist.cpp Merge branch 'master' into jgrpp 3 years ago
vehiclelist.h Merge branch 'master' into jgrpp 5 years ago
viewport.cpp Merge branch 'master' into jgrpp 3 years ago
viewport_func.h Fix left mouse button scroll in viewport map mode 3 years ago
viewport_gui.cpp Viewport: Cache landscape pixels in map mode 4 years ago
viewport_kdtree.h Merge branch 'master' into jgrpp 5 years ago
viewport_sprite_sorter.h Merge branch 'master' into jgrpp 3 years ago
viewport_sprite_sorter_sse4.cpp Codechange: Apply coding style (#8640) 3 years ago
viewport_type.h Add viewport map mode: routes 4 years ago
void_cmd.cpp Add a minimum visible height and no ground tile parameter to DrawTileProc. 4 years ago
void_map.h Cleanup: Removed SVN headers 5 years ago
water.h Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
water_cmd.cpp Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
water_map.h Add map bit to suppress water flooding checks 3 years ago
waypoint.cpp Allow referencing waypoints in news items 3 years ago
waypoint_base.h Codechange: Replace station related FOR_ALL with range-based for loops 5 years ago
waypoint_cmd.cpp Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
waypoint_func.h Cleanup: Removed SVN headers 5 years ago
waypoint_gui.cpp Merge tag '1.11.0-beta1' into jgrpp 3 years ago
widget.cpp Merge branch 'master' into jgrpp 3 years ago
widget_type.h Merge branch 'master' into jgrpp 3 years ago
window.cpp Merge branch 'master' into jgrpp 3 years ago
window_func.h Add DumpWindowInfo function 4 years ago
window_gui.h Merge branch 'master' into jgrpp 3 years ago
window_type.h Merge branch 'master' into jgrpp 3 years ago
zoning.h Add road tile cached one way state, one way road section detection 4 years ago
zoning_cmd.cpp Add misc debug flag for water flooding states 3 years ago
zoning_gui.cpp One-way road zoning mode 4 years ago
zoom_func.h Merge branch 'master' into jgrpp 5 years ago
zoom_type.h Merge branch 'master' into jgrpp 3 years ago