You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src
Patric Stout 970fedd78c Add: make modal windows update more smooth
Basically, modal windows had their own thread-locking for what
drawing was possible. This is a bit nonsense now we have a
game-thread. And it makes much more sense to do things like
NewGRFScan and GenerateWorld in the game-thread, and not in a
thread next to the game-thread.

This commit changes that: it removes the threads for NewGRFScan
and GenerateWorld, and just runs the code in the game-thread.
On regular intervals it allows the draw-thread to do a tick,
which gives a much smoother look and feel.

It does slow down NewGRFScan and GenerateWorld ever so slightly
as it spends more time on drawing. But the slowdown is not
measureable on my machines (with 700+ NewGRFs / 4kx4k map and
a Debug build).

Running without a game-thread means NewGRFScan and GenerateWorld
are now blocking.
3 years ago
..
3rdparty Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible. 3 years ago
ai Fix: Use the same safety checks as 'stop_ai' for 'reload_ai' 3 years ago
blitter Fix 937d60f2: Broken company colours for 40bpp-blitter. (#8821) 3 years ago
core Fix: [SDL2] simplify what to redraw to prevent tearing (#8685) 3 years ago
game Codechange: Use std::string in file scanners. 4 years ago
lang Update: Translations from eints 3 years ago
linkgraph Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
misc Add: A simple, templated cache map that uses a least recently used eviction strategy. 3 years ago
music Codechange: Switch to explicit wide strings 3 years ago
network Add: make modal windows update more smooth 3 years ago
os Change: [Win32] Use more modern way of getting free disk space 3 years ago
pathfinder Fix #8123: trams on half-tiles couldn't find depots (#8738) 3 years ago
saveload Add: settings to limit your fast-forward game speed 3 years ago
script Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748) 3 years ago
settingsgen Codechange: validate that "max" value of settings fit in their storage 3 years ago
sound Codechange: Switch to explicit wide strings 3 years ago
spriteloader Codechange: Give sprite encoders a hint which colour components of a sprite are filled with useful information. 3 years ago
strgen Change: [CMake] Bump minimum version to 3.9 3 years ago
table Add: Option to (dis-)allow accelerated video drivers. (#8819) 3 years ago
video Add: make modal windows update more smooth 3 years ago
widgets Codechange: remove special strings for language and resolutions (#8824) 3 years ago
CMakeLists.txt Codechange: Move Fontconfig-specific code to a seperate file. 3 years ago
aircraft.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
aircraft_cmd.cpp Fix #8810: "aircraft out of fuel" news was looking in the wrong place (#8832) 3 years ago
aircraft_gui.cpp Cleanup: Removed SVN headers 5 years ago
airport.cpp Cleanup: Removed SVN headers 5 years ago
airport.h Cleanup: Removed SVN headers 5 years ago
airport_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
animated_tile.cpp Cleanup: Removed SVN headers 5 years ago
animated_tile_func.h Cleanup: Removed SVN headers 5 years ago
articulated_vehicles.cpp Codechange: create MutableSpriteCache to remove the need to cast Vehicle to a mutable type in render methods 4 years ago
articulated_vehicles.h Cleanup: Removed SVN headers 5 years ago
autoreplace.cpp Cleanup: Removed SVN headers 5 years ago
autoreplace_base.h Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loops 5 years ago
autoreplace_cmd.cpp Fix: Autorenew failure advice due to bad refit being shown to all companies (#8681) 3 years ago
autoreplace_func.h Cleanup: Removed SVN headers 5 years ago
autoreplace_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 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 Codechange: Use std::string for most of the user-settable custom names. 4 years ago
base_consist.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
base_media_base.h Codechange: Use std::string in file scanners. 4 years ago
base_media_func.h Codechange: Use std::string in file scanners. 4 years ago
base_station_base.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
bitmap_type.h Cleanup: Removed SVN headers 5 years ago
bmp.cpp Cleanup: Removed SVN headers 5 years ago
bmp.h Cleanup: Removed SVN headers 5 years ago
bootstrap_gui.cpp Add: [OSX] Native font rendering without using FreeType. 3 years ago
bridge.h Cleanup: Removed SVN headers 5 years ago
bridge_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
bridge_map.cpp Cleanup: Removed SVN headers 5 years ago
bridge_map.h Cleanup: Removed SVN headers 5 years ago
build_vehicle_gui.cpp Add: filter for "engines only" in build train window (#8733) 3 years ago
cargo_type.h Cleanup: Removed SVN headers 5 years ago
cargoaction.cpp Cleanup: Removed SVN headers 5 years ago
cargoaction.h Cleanup: Removed SVN headers 5 years ago
cargomonitor.cpp Cleanup: Removed SVN headers 5 years ago
cargomonitor.h Codechange: Replace assert_compile macro with static_assert 4 years ago
cargopacket.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
cargopacket.h Cleanup: Correct typographic errors in code comments. 4 years ago
cargotype.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
cargotype.h Cleanup: Removed SVN headers 5 years ago
cheat.cpp Cleanup: Removed SVN headers 5 years ago
cheat_func.h Cleanup: Removed SVN headers 5 years ago
cheat_gui.cpp Change: remove warning in cheat window and reduce it to a note (#8538) 3 years ago
cheat_type.h Cleanup: Removed SVN headers 5 years ago
clear_cmd.cpp Add: make modal windows update more smooth 3 years ago
clear_func.h Cleanup: Removed SVN headers 5 years ago
clear_map.h Cleanup: Removed SVN headers 5 years ago
cmd_helper.h Codechange: Replace assert_compile macro with static_assert 4 years ago
command.cpp Feature: Allow GameScripts to add additional text to Industry view window 3 years ago
command_func.h Codechange: rename sound ids to make more sense. (#8701) 3 years ago
command_type.h Codechange: DC_NO_RAIL_OVERLAP is a remnant of the OldAI. (#8496) 4 years ago
company_base.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
company_cmd.cpp Add: Buttons to open global goals from company goals and vice versa 3 years ago
company_func.h Codechange: Avoid copying function parameters by using const references 4 years ago
company_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
company_gui.h Cleanup: Removed SVN headers 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 Fix #7969: limit recursion during alias execution 4 years ago
console_cmds.cpp Add: make modal windows update more smooth 3 years ago
console_func.h Fix #7969: limit recursion during alias execution 4 years ago
console_gui.cpp Fix: Use realtime for error message and console backlog timeouts 3 years ago
console_gui.h Cleanup: Removed SVN headers 5 years ago
console_internal.h Cleanup: Removed SVN headers 5 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 Codechange: Stringify config file paths. 4 years ago
crashlog.h Cleanup: Removed SVN headers 5 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: Whole status bar instead of money widget refreshed on money change (#8692) 3 years ago
date_func.h Cleanup: Removed SVN headers 5 years ago
date_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
date_gui.h Cleanup: Removed SVN headers 5 years ago
date_type.h Feature: Configurable game ending year 5 years ago
debug.cpp Codechange: remove _realtime_tick variable 3 years ago
debug.h Codechange: remove _realtime_tick variable 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
depot.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
depot_base.h Codechange: Use std::string for most of the user-settable custom names. 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 Fix #8724: Got wrong DepotID/StationID for airports, causing crash 3 years ago
depot_map.h Cleanup: Removed SVN headers 5 years ago
depot_type.h Cleanup: Removed SVN headers 5 years ago
direction_func.h Cleanup: Removed SVN headers 5 years ago
direction_type.h Cleanup: Removed SVN headers 5 years ago
disaster_vehicle.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
disaster_vehicle.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
dock_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
driver.cpp Add: Option to (dis-)allow accelerated video drivers. (#8819) 3 years ago
driver.h Add: Option to (dis-)allow accelerated video drivers. (#8819) 3 years ago
economy.cpp Change: Apply some consistency to singleplayer related comments 3 years ago
economy_base.h Codechange: Replace FOR_ALL_CARGO_PAYMENTS with range-based for loops 5 years ago
economy_func.h Feature: Set exclusive access to industry from GS (#8115) 4 years ago
economy_type.h Fix #8297: Infrastructure counters for road tunnels, bridges, depots … (#8454) 4 years ago
effectvehicle.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
effectvehicle_base.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
effectvehicle_func.h Cleanup: Removed SVN headers 5 years ago
elrail.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
elrail_func.h Cleanup: Removed SVN headers 5 years ago
engine.cpp Fix 85a49a0d: invalidate airport toolbar when new planes become available (#8532) 3 years ago
engine_base.h Cleanup: Correct typographic errors in code comments. 4 years ago
engine_func.h Fix #8064: Incorrect display of refit capacity 4 years ago
engine_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
engine_gui.h Cleanup: Removed SVN headers 5 years ago
engine_type.h Cleanup: Removed SVN headers 5 years ago
error.h Fix: Use realtime for error message and console backlog timeouts 3 years ago
error_gui.cpp Fix: Use realtime for error message and console backlog timeouts 3 years ago
fileio.cpp Remove: [Win32] Last pretenses of being able to build for Windows 95 3 years ago
fileio_func.h Codechange: Switch to explicit wide strings 3 years ago
fileio_type.h Add: always set PERSONAL_DIR "/content_download" in search path (#8481) 4 years ago
fios.cpp Add: Allow translation of "(Directory)" and "(Parent directory)" 3 years ago
fios.h Codechange: Use std::string in file scanners. 4 years ago
fios_gui.cpp Fix: Assert fail when using restart command after opening save/load GUI 4 years ago
fontcache.cpp Fix #8731: Always use a 32bpp blitter if font anti-aliasing is enabled. 3 years ago
fontcache.h Fix #8731: Always use a 32bpp blitter if font anti-aliasing is enabled. 3 years ago
fontcache_internal.h Codechange: Make the simple Malloc sprite allocator globally usable. 3 years ago
fontdetection.h Codechange: [Win32] Move Win32-specific font code to a seperate file. 3 years ago
framerate_gui.cpp Change: Zero out the gameloop timers when the game is paused 3 years ago
framerate_type.h Cleanup: Removed SVN headers 5 years ago
gamelog.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
gamelog.h Fix: Stop any gamelog action when recovering from SlError() 4 years ago
gamelog_internal.h Cleanup: Removed SVN headers 5 years ago
genworld.cpp Add: make modal windows update more smooth 3 years ago
genworld.h Add: make modal windows update more smooth 3 years ago
genworld_gui.cpp Add: make modal windows update more smooth 3 years ago
gfx.cpp Add: make modal windows update more smooth 3 years ago
gfx_func.h Add: settings to limit your fast-forward game speed 3 years ago
gfx_layout.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
gfx_layout.h Add: a TextColour flag to ignore colour changes from strings 5 years ago
gfx_type.h Codechange: Replace assert_compile macro with static_assert 4 years ago
gfxinit.cpp Fix: ensure switching blitter happens in the main thread 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 Change: Improve graph period markings (#8732) 3 years ago
graph_gui.h Cleanup: Removed SVN headers 5 years ago
ground_vehicle.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
ground_vehicle.hpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
group.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
group_cmd.cpp Feature: Show group name as part of the default vehicle name. 4 years ago
group_gui.cpp Codechange: Apply coding style (#8640) 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 Cleanup: Removed SVN headers 5 years ago
gui.h Change: move "give money" from client-list to company window 4 years ago
guitimer_func.h Cleanup: Removed SVN headers 5 years ago
heightmap.cpp Cleanup: Removed SVN headers 5 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 Codechange: Stringify config file paths. 4 years ago
hotkeys.h Cleanup: Removed SVN headers 5 years ago
house.h Codechange: Replace assert_compile macro with static_assert 4 years ago
house_type.h Cleanup: Removed SVN headers 5 years ago
industry.h Feature: Allow GameScripts to add additional text to Industry view window 3 years ago
industry_cmd.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
industry_gui.cpp Codechange: Apply coding style 3 years ago
industry_map.h Cleanup: Removed SVN headers 5 years ago
industry_type.h Cleanup: Removed SVN headers 5 years ago
industrytype.h Change: [NewGRF] industry special flag 19 now specifically targets only passenger production, instead of the second cargo of any water-based industry. (#8590) 3 years ago
ini.cpp Codechange: Switch to explicit wide strings 3 years ago
ini_load.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
ini_type.h Codechange: Keep filenames of loaded Fio files in std::strings. 4 years ago
intro_gui.cpp Change: Don't display OS name when the user is exiting the game 4 years ago
landscape.cpp Add: make modal windows update more smooth 3 years ago
landscape.h Cleanup: Removed SVN headers 5 years ago
landscape_type.h Cleanup: Removed SVN headers 5 years ago
language.h Codechange: Use automatic memory management for language pack reading. 4 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 Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
map_func.h Fix: Globally apply preprocessor directive coding style 4 years ago
map_type.h Codechange: Replace assert_compile macro with static_assert 4 years ago
misc.cpp Add: settings to limit your fast-forward game speed 3 years ago
misc_cmd.cpp Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text effect if needed (#8573) 3 years ago
misc_gui.cpp Fix: mention our websites with https:// (instead of http://) (#8657) 3 years ago
mixer.cpp Cleanup: Removed SVN headers 5 years ago
mixer.h Cleanup: Removed SVN headers 5 years ago
music.cpp Codechange: Replace assert_compile macro with static_assert 4 years ago
music_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf.cpp Fix #8276: Crash when a NewGRF object's size was not set 3 years ago
newgrf.h Codechange: remove has_newindustries global 4 years ago
newgrf_airport.cpp Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_airport.h Cleanup: Removed SVN headers 5 years ago
newgrf_airporttiles.cpp Codechange: Replace assert_compile macro with static_assert 4 years ago
newgrf_airporttiles.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_animation_base.h Cleanup: Removed SVN headers 5 years ago
newgrf_animation_type.h Cleanup: Removed SVN headers 5 years ago
newgrf_callbacks.h Cleanup: Removed SVN headers 5 years ago
newgrf_canal.cpp Feature: NewGRF callback profiling (#7868) 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 Cleanup: Removed SVN headers 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 Add: make modal windows update more smooth 3 years ago
newgrf_config.h Codechange: Use std::string for storing GRF error messages. 4 years ago
newgrf_debug.h Codechange: replace _realtime_tick with std::chrono for mouse events 3 years ago
newgrf_debug_gui.cpp Codechange: replace _realtime_tick with std::chrono for mouse events 3 years ago
newgrf_engine.cpp Codechange: [NewGRF] Make it more explicit which parts of the TTD vehicle structure (var 80+) are not implemented 3 years ago
newgrf_engine.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_generic.cpp Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_generic.h Cleanup: Removed SVN headers 5 years ago
newgrf_gui.cpp Add: make modal windows update more smooth 3 years ago
newgrf_house.cpp Codechange: remove has_newhouses global 4 years ago
newgrf_house.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_industries.cpp Fix: [NewGRF] industry variables 69 to 71 did not check, whether the queried cargo is valid. 3 years ago
newgrf_industries.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_industrytiles.cpp Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_industrytiles.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_object.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf_object.h Feature: NewGRF callback profiling (#7868) 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 Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype. 3 years ago
newgrf_railtype.h Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype. 3 years ago
newgrf_roadtype.cpp Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype. 3 years ago
newgrf_roadtype.h Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype. 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 Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf_spritegroup.h Feature: NewGRF callback profiling (#7868) 4 years ago
newgrf_station.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf_station.h Feature: NewGRF callback profiling (#7868) 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 Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
newgrf_text.h Codechange: Use std::string when translating TTDP NewGRF string codes. 4 years ago
newgrf_town.cpp Cleanup: Removed SVN headers 5 years ago
newgrf_town.h Cleanup: Removed SVN headers 5 years ago
newgrf_townname.cpp Codechange: move non-GUI code to non-GUI source files. 3 years ago
newgrf_townname.h Codechange: move non-GUI code to non-GUI source files. 3 years ago
news_func.h Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497) 4 years ago
news_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 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 Cleanup: Removed SVN headers 5 years ago
object_base.h Codechange: Replace FOR_ALL_OBJECTS with range-based for loops 5 years ago
object_cmd.cpp Change: Use a more specific error message when attempting to bulldoze your own HQ 3 years ago
object_gui.cpp Fix #8817: keep NewGRF order for object class sorting (#8818) 3 years ago
object_map.h Cleanup: Removed SVN headers 5 years ago
object_type.h Cleanup: Removed SVN headers 5 years ago
openttd.cpp Add: make modal windows update more smooth 3 years ago
openttd.h Add: make modal windows update more smooth 3 years ago
order_backup.cpp Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops 4 years ago
order_backup.h Codechange: Replace order related FOR_ALL with range-based for loops 5 years ago
order_base.h Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops 4 years ago
order_cmd.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
order_func.h Cleanup: Removed SVN headers 5 years ago
order_gui.cpp Change: Make order window hotkeys toggle for load & unload variants 3 years ago
order_type.h Cleanup: Removed SVN headers 5 years ago
osk_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
pbs.cpp Cleanup: Removed SVN headers 5 years ago
pbs.h Cleanup: Removed SVN headers 5 years ago
progress.cpp Add: make modal windows update more smooth 3 years ago
progress.h Add: make modal windows update more smooth 3 years ago
querystring_gui.h Cleanup: Removed SVN headers 5 years ago
rail.cpp Fix: Setting the default railtype to 'first/last available' did not work with NewGRF defined railtypes. 5 years ago
rail.h Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
rail_cmd.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
rail_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
rail_gui.h Cleanup: Removed SVN headers 5 years ago
rail_map.h Cleanup: Removed SVN headers 5 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 Add: introduce CMake for project management 4 years ago
rev.h Codechange: Use a dynamic copyright year 4 years ago
road.cpp Cleanup: Remove unused (and mostly duplicated) function 3 years ago
road.h Cleanup: Removed SVN headers 5 years ago
road_cmd.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
road_cmd.h Cleanup: Removed SVN headers 5 years ago
road_func.h Cleanup: Removed SVN headers 5 years ago
road_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 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 Cleanup: Removed SVN headers 5 years ago
road_map.h Cleanup: Removed SVN headers 5 years ago
road_type.h Cleanup: Remove unused constants. The value of the tram constant was also incorrect. 5 years ago
roadstop.cpp Cleanup: Removed SVN headers 5 years ago
roadstop_base.h Codechange: Replace FOR_ALL_ROADSTOPS with range-based for loops 5 years ago
roadveh.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
roadveh_cmd.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
roadveh_gui.cpp Cleanup: Removed SVN headers 5 years ago
safeguards.h Cleanup: Removed SVN headers 5 years ago
screenshot.cpp Feature: allow custom width/height of screenshot via console 3 years ago
screenshot.h Feature: allow custom width/height of screenshot via console 3 years ago
screenshot_gui.cpp Cleanup: Give `TakeScreenshot` a more sensible name 4 years ago
screenshot_gui.h Feature: Screenshot window 5 years ago
settings.cpp Codechange: Allow early-load settings that are not misc settings. 3 years ago
settings_func.h Cleanup: Removed SVN headers 5 years ago
settings_gui.cpp Codechange: Misleading function name for selecting refresh rate (#8836) 3 years ago
settings_gui.h Cleanup: Removed SVN headers 5 years ago
settings_internal.h Codechange: Allow early-load settings that are not misc settings. 3 years ago
settings_type.h Codechange: validate that "max" value of settings fit in their storage 3 years ago
ship.h Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
ship_cmd.cpp Fix: Stopped ships shouldn't block depots (#8578) 3 years ago
ship_gui.cpp Cleanup: Removed SVN headers 5 years ago
signal.cpp Codechange: Replace assert_compile macro with static_assert 4 years ago
signal_func.h Cleanup: Removed SVN headers 5 years ago
signal_type.h Cleanup: Removed SVN headers 5 years ago
signs.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
signs_base.h Codechange: Use std::string for most of the user-settable custom names. 4 years ago
signs_cmd.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
signs_func.h Cleanup: Removed SVN headers 5 years ago
signs_gui.cpp Add: another go-to-location button to the sign window. 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_gui.cpp Feature: Show rainforest under vegetation on small map 3 years ago
smallmap_gui.h Cleanup: Removed SVN headers 5 years ago
sortlist_type.h Cleanup 2db88953e7: Remove VL_FIRST_SORT as it's useless 4 years ago
sound.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
sound_func.h Cleanup: Removed SVN headers 5 years ago
sound_type.h Codechange: rename sound ids to make more sense. (#8701) 3 years ago
sprite.cpp Cleanup: Removed SVN headers 5 years ago
sprite.h Cleanup: Removed SVN headers 5 years ago
spritecache.cpp Codechange: Allow video drivers to handle the cursor themselves. 3 years ago
spritecache.h Codechange: Make the simple Malloc sprite allocator globally usable. 3 years ago
station.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
station_base.h Cleanup: Correct typographic errors in code comments. 4 years ago
station_cmd.cpp Fix #8809: Crash when removing airport when hangar window open 3 years ago
station_func.h Codechange: Refactor FindStationsAroundTiles to avoid code duplication 4 years ago
station_gui.cpp Change: Relocate rename and location buttons in all windows. 3 years ago
station_gui.h Cleanup: Removed SVN headers 5 years ago
station_kdtree.h Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
station_map.h Cleanup: Removed SVN headers 5 years ago
station_type.h Cleanup: Removed SVN headers 5 years ago
statusbar_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
statusbar_gui.h Cleanup: Removed SVN headers 5 years ago
stdafx.h Codechange: Switch to explicit wide strings 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 Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
string_base.h Cleanup: Removed SVN headers 5 years ago
string_func.h Revert c1fddb9, 639cfa4: "Codechange: Check if access __attribute__ is supported before trying to use it." (#8526) 3 years ago
string_type.h Codechange: use \u to indicate unicode chars in strings (#8379) 4 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 Codechange: remove special strings for language and resolutions (#8824) 3 years ago
strings_func.h Codechange: nobody was using "str" parameter, so remove it 3 years ago
strings_type.h Codechange: remove special strings for language and resolutions (#8824) 3 years ago
subsidy.cpp Fix 380fd8c: Only check houses for cargo when generating subsidies with towns 4 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: Removed SVN headers 5 years ago
subsidy_gui.cpp Codechange: Spell 'Viewport' consistently 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
terraform_cmd.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
terraform_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
terraform_gui.h Cleanup: Removed SVN headers 5 years ago
textbuf.cpp Cleanup: Removed SVN headers 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 Cleanup: Removed SVN headers 5 years ago
texteff.hpp Cleanup: Removed SVN headers 5 years ago
textfile_gui.cpp Add: [OSX] Native font rendering without using FreeType. 3 years ago
textfile_gui.h Cleanup: Removed SVN headers 5 years ago
textfile_type.h Cleanup: Removed SVN headers 5 years ago
tgp.cpp Fix: for arctic and tropic, make sure we have at least a few hills (#8513) 3 years ago
tgp.h Cleanup: Removed SVN headers 5 years ago
thread.h Add: make modal windows update more smooth 3 years ago
tile_cmd.h Cleanup: Removed SVN headers 5 years ago
tile_map.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
tile_map.h Cleanup: Removed SVN headers 5 years ago
tile_type.h Fix: for arctic and tropic, make sure we have at least a few hills (#8513) 3 years ago
tilearea.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
tilearea_type.h Cleanup: Removed SVN headers 5 years ago
tilehighlight_func.h Feature: Plant clumps of trees in editor by dragging on the landscape 4 years ago
tilehighlight_type.h Cleanup: Removed SVN headers 5 years ago
tilematrix_type.hpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
timetable.h Cleanup: Removed SVN headers 5 years ago
timetable_cmd.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
timetable_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
toolbar_gui.cpp Add: settings to limit your fast-forward game speed 3 years ago
toolbar_gui.h Cleanup: Removed SVN headers 5 years ago
town.h Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
town_cmd.cpp Codechange: turn a constant variable into a real constant. 3 years ago
town_gui.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
town_kdtree.h Add #6887: Option to show zone inside local authority boundary of towns 5 years ago
town_map.h Cleanup: Removed SVN headers 5 years ago
town_type.h Cleanup: Removed SVN headers 5 years ago
townname.cpp Codechange: use \u to indicate unicode chars in strings (#8379) 4 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
track_func.h Cleanup: Removed SVN headers 5 years ago
track_type.h Cleanup: Removed SVN headers 5 years ago
train.h Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
train_cmd.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
train_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
transparency.h Cleanup: Removed SVN headers 5 years ago
transparency_gui.cpp Cleanup: Removed SVN headers 5 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 Add: make modal windows update more smooth 3 years ago
tree_gui.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
tree_map.h Cleanup: Removed SVN headers 5 years ago
tunnel_map.cpp Cleanup: Removed SVN headers 5 years ago
tunnel_map.h Fix: Set invalid road and tram types for rail tunnel ends 4 years ago
tunnelbridge.h Cleanup: Removed SVN headers 5 years ago
tunnelbridge_cmd.cpp Fix #7656: destroying a tunnel/bridge now first removes the tracks for cost calculation 3 years ago
tunnelbridge_map.h Cleanup: Removed SVN headers 5 years ago
vehicle.cpp Codechange: rename sound ids to make more sense. (#8701) 3 years ago
vehicle_base.h Fix eeb88e8: Trains reversed while paused do not correctly update sprite bounds (#8540) 3 years ago
vehicle_cmd.cpp Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748) 3 years ago
vehicle_func.h Fix #8064: Incorrect display of refit capacity 4 years ago
vehicle_gui.cpp Fix: Vehicle list windows did not update when this year's profit changed 3 years ago
vehicle_gui.h Codechange: Spell 'Viewport' consistently 4 years ago
vehicle_gui_base.h Fix: Vehicle list windows did not update when this year's profit changed 3 years ago
vehicle_type.h Cleanup: Removed SVN headers 5 years ago
vehiclelist.cpp Codechange: Replace assert_compile macro with static_assert 4 years ago
vehiclelist.h Cleanup: Removed SVN headers 5 years ago
viewport.cpp Fix 81d335b081: Use non-pulsating red highlight for coverage (#8622) 3 years ago
viewport_func.h Fix eeb88e8: Trains reversed while paused do not correctly update sprite bounds (#8540) 3 years ago
viewport_gui.cpp Codechange: Spell 'Viewport' consistently 4 years ago
viewport_kdtree.h Codechange: Make a merged k-d tree index of all viewport signs 5 years ago
viewport_sprite_sorter.h Feature #7962: Significantly improve sprite sorter performance 4 years ago
viewport_sprite_sorter_sse4.cpp Codechange: Apply coding style (#8640) 3 years ago
viewport_type.h Codechange: Spell 'Viewport' consistently 4 years ago
void_cmd.cpp Cleanup: Removed SVN headers 5 years ago
void_map.h Cleanup: Removed SVN headers 5 years ago
water.h Cleanup: Removed SVN headers 5 years ago
water_cmd.cpp Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497) 4 years ago
water_map.h Cleanup: Removed SVN headers 5 years ago
waypoint.cpp Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849) 5 years ago
waypoint_base.h Codechange: Replace station related FOR_ALL with range-based for loops 5 years ago
waypoint_cmd.cpp Codechange: Use std::string for most of the user-settable custom names. 4 years ago
waypoint_func.h Cleanup: Removed SVN headers 5 years ago
waypoint_gui.cpp Change: Relocate rename and location buttons in all windows. 3 years ago
widget.cpp Fix: Scale PIP-padding the same as regular padding. (#8829) 3 years ago
widget_type.h Add: show in the tooltip of disabled toolbar buttons why they are disabled 3 years ago
window.cpp Codechange: replace _realtime_tick with std::chrono for mouse events 3 years ago
window_func.h Cleanup: Removed SVN headers 5 years ago
window_gui.h Fix: Don't use a timer for hundredth tick determination 3 years ago
window_type.h Codechange: Spell 'Viewport' consistently 4 years ago
zoom_func.h Cleanup: Removed SVN headers 5 years ago
zoom_type.h Feature: Automatic UI and font zoom levels when supported by the OS. 3 years ago