Jonathan G Rennison
5dcbd9271b
Hide min_years_for_shares setting when shares are disabled
1 year ago
Jonathan G Rennison
bac8f032da
Re-add company shares
1 year ago
Jonathan G Rennison
6297abdb3b
Remove str_fmt and str_vfmt
1 year ago
Jonathan G Rennison
94c422499f
Use last pointer in std::string returning GetString
1 year ago
Jonathan G Rennison
7aef72b946
Add static_assert for length of _command_proc_table
1 year ago
Jonathan G Rennison
02fe4af934
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-windows.yml
# src/company_base.h
# src/company_cmd.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/economy.cpp
# src/economy_cmd.h
# src/fios.h
# src/goal.cpp
# src/group_gui.cpp
# src/network/core/config.h
# src/network/network_admin.cpp
# src/newgrf_config.cpp
# src/os/windows/win32.cpp
# src/saveload/afterload.cpp
# src/saveload/company_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload_error.hpp
# src/settings_gui.cpp
# src/ship_cmd.cpp
# src/stdafx.h
# src/story.cpp
# src/story_base.h
# src/string.cpp
# src/table/settings/economy_settings.ini
# src/tests/CMakeLists.txt
# src/tests/math_func.cpp
1 year ago
Jonathan G Rennison
3ec66e5fb5
Fix not being able to reload GS in script debug window
...
See: #523
1 year ago
translators
e1203c3a48
Update: Translations from eints
...
esperanto: 51 changes by legoscia
1 year ago
PeterN
d086f288cd
Codechange: Remove duplicated includes. ( #10888 )
...
These are now included by stdafx.h so don't need to be included again.
1 year ago
PeterN
702194cfef
Change: Cargo flow legend only shows defined cargo. ( #10872 )
...
This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.
1 year ago
Jonathan G Rennison
d6b8fc9fe8
Github: Fix CI build checkout with workflow dispatch ref
1 year ago
Jonathan G Rennison
bf1e66b2f3
Add missing <functional> header to src/timer/timer.h
1 year ago
translators
c9c6721a47
Update: Translations from eints
...
esperanto: 44 changes by legoscia
1 year ago
Jonathan G Rennison
6091d7470c
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-macos.yml
# src/company_gui.cpp
# src/linkgraph/linkgraph.cpp
# src/newgrf_debug_gui.cpp
# src/strgen/strgen_base.cpp
# src/timetable_gui.cpp
1 year ago
Peter Nelson
bae1897826
Change: Include font style in font name for Freetype.
1 year ago
Peter Nelson
9976293c1e
Codechange: Return fontcache font name as std::string.
1 year ago
translators
90fdf17e39
Update: Translations from eints
...
esperanto: 28 changes by legoscia
1 year ago
Loïc Guilloux
c880157518
Fix: Check max member count in squirrel classes ( #10883 )
...
Manual cherry-pick from 23a0620658
1 year ago
Jonathan G Rennison
b02817f262
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/newgrf.cpp
1 year ago
Jonathan G Rennison
ef03d44fb3
Use std::unique_ptr for GRFLineToSpriteOverride
1 year ago
Jonathan G Rennison
f00e0e195f
cpp-btree: Add support for uncopyable/move-only map/multimap value types
1 year ago
PeterN
8ea9c1a133
Fix #10880 : Crash in object window due to incorrect parameter order. ( #10881 )
1 year ago
Jonathan G Rennison
b381a30d2d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/base_media_func.h
# src/cargopacket.h
# src/gfxinit.cpp
# src/industry_cmd.cpp
# src/window_gui.h
1 year ago
PeterN
876871157f
Fix: Ask FontConfig for the face index when opening fonts. ( #10878 )
...
This allows selection of the correct face in truetype fonts containing
multiple faces.
1 year ago
Jonathan G Rennison
42b3c5fe25
Fix highlight of adjacent rail/road waypoints when only one waypoint type
1 year ago
Jonathan G Rennison
fd4d4d341d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/animated_tile.cpp
# src/cargopacket.h
# src/cheat_gui.cpp
# src/company_cmd.cpp
# src/company_gui.cpp
# src/date.cpp
# src/disaster_vehicle.cpp
# src/dock_gui.cpp
# src/economy.cpp
# src/engine.cpp
# src/error_gui.cpp
# src/fontcache/spritefontcache.cpp
# src/game/game_gui.cpp
# src/game/game_text.cpp
# src/gfx.cpp
# src/graph_gui.cpp
# src/highscore_gui.cpp
# src/industry_cmd.cpp
# src/lang/dutch.txt
# src/lang/english_AU.txt
# src/lang/english_US.txt
# src/lang/finnish.txt
# src/lang/french.txt
# src/lang/italian.txt
# src/lang/portuguese.txt
# src/lang/russian.txt
# src/lang/turkish.txt
# src/lang/vietnamese.txt
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/network_gui.cpp
# src/network/network_server.cpp
# src/newgrf.cpp
# src/newgrf.h
# src/newgrf_generic.cpp
# src/news_gui.cpp
# src/openttd.cpp
# src/os/unix/unix.cpp
# src/os/windows/font_win32.cpp
# src/os/windows/win32.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/misc_sl.cpp
# src/saveload/oldloader_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/script/script_gui.cpp
# src/settings_table.cpp
# src/signs_gui.cpp
# src/smallmap_gui.cpp
# src/smallmap_gui.h
# src/spritecache.cpp
# src/spritecache.h
# src/spriteloader/grf.cpp
# src/station_cmd.cpp
# src/statusbar_gui.cpp
# src/stdafx.h
# src/strgen/strgen_base.cpp
# src/subsidy.cpp
# src/table/settings/difficulty_settings.ini
# src/texteff.cpp
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
# src/townname.cpp
# src/vehicle.cpp
# src/waypoint_cmd.cpp
# src/widgets/dropdown.cpp
# src/window.cpp
1 year ago
PeterN
101e4e54a1
Fix d9a04ba446: Ensure MD5Hash is initialized. ( #10876 )
...
Not all instances need to be initialized as often they are copied or
written to, but doing all ensures no surprises.
Move the ^= operator to MD5Hash while we're at it.
1 year ago
Jonathan G Rennison
ba11467c02
Fix: Rail waypoint selection window not closed
...
When rail toolbar or rail waypoint build windows closed
1 year ago
Jonathan G Rennison
7615c831aa
Avoid unnecessary checks when removing adjacent level crossing tile
1 year ago
Jonathan G Rennison
0b9b080aa6
Fix closing build waypoint window not closing waypoint selection window
1 year ago
Jonathan G Rennison
a419674157
Add coverage button to waypoint window
1 year ago
Jonathan G Rennison
df5ca1d7fb
Highlight waypoint tiles when adjacent or distant joining
1 year ago
PeterN
584faaf064
Change: Reorganise industry accept/produce arrays. ( #10853 )
...
Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.
1 year ago
Jonathan G Rennison
65159f4b22
Refactor viewport catchment overlay change handling
1 year ago
Jonathan G Rennison
23ab1cb3d0
Show ctrl-click function of shared orders button in tooltip
1 year ago
Jonathan G Rennison
9f24895480
Fix case of Ctrl+Click in English tooltip texts
1 year ago
Jonathan G Rennison
0fd62de4f2
Re-organise interface settings in settings window
...
Fix enable_single_veh_shared_order_gui not being listed
1 year ago
Jonathan G Rennison
f053082478
Viewport map: Use transport colour for road bridge/tunnels and aqueducts
...
In route mode
1 year ago
Loïc Guilloux
db3b086a52
Fix #10867 , 8b93e45: Squirrel compile error exception type changed ( #10869 )
1 year ago
Rubidium
b133328737
Codechange: use std::string over strecat to create the RV capacity string
1 year ago
Rubidium
4fdde00e25
Codechange: use std::string to create the GRF parameter list
1 year ago
Rubidium
fbab94eabb
Codechange: use std::string to create error message about external files
1 year ago
Rubidium
30b9e02dd9
Codechange: replace crashlog filenames with std::string in Crashlog
1 year ago
Rubidium
19304bd3d5
Codechange: replace seprintf with fmt::format for filling the crash log data
1 year ago
Rubidium
f4b0ac2bd4
Codechange: use std::string for formatting settings
1 year ago
Jonathan G Rennison
b5ee8e9e42
Add unset hotkey to toggle showing slopes in viewport map mode
...
See: #522
1 year ago
Jonathan G Rennison
d29cec53e0
Viewport map: Show bridges and tunnels in rail type colour in routes mode
...
See: #522
1 year ago
Jonathan G Rennison
9cb992ab14
Viewport map: Adjust vertical alignment of tunnels
1 year ago
translators
1412ea48ed
Update: Translations from eints
...
esperanto: 268 changes by legoscia
1 year ago
Peter Nelson
09408e8e46
Codechange: Add IsCargoAccepted/Produced() helpers.
1 year ago