Jonathan G Rennison
cb9e088399
Add setting to control autosave interval mode
7 months ago
Jonathan G Rennison
ec6cdce0c3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/bridge_gui.cpp
# src/openttd.cpp
# src/settings_type.h
# src/table/settings/gui_settings.ini
7 months ago
Jonathan G Rennison
4bfa8b7b7b
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/openttd.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/table/settings/gameopt_settings.ini
# src/table/settings/gui_settings.ini
7 months ago
Tyler Trahan
235ac0bceb
Codechange: Reword rail/road type label constants ( #11451 )
7 months ago
Jonathan G Rennison
3436e0a781
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/error.h
# src/error_gui.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/misc_gui.cpp
# src/newgrf_gui.cpp
# src/news_gui.cpp
# src/rail_cmd.cpp
# src/saveload/gamelog_sl.cpp
# src/script/api/script_text.cpp
# src/script/script_instance.cpp
# src/statusbar_gui.cpp
# src/strings.cpp
# src/strings_func.h
# src/strings_internal.h
# src/table/settings/gui_settings.ini
# src/table/settings/linkgraph_settings.ini
# src/textbuf_gui.h
7 months ago
Peter Nelson
9f90ab7b04
Codechange: Use rail/road type label constants instead of literals. ( #11450 )
7 months ago
Peter Nelson
b5861fd8f3
Fix: Using MIN_YEAR for a date is probably wrong, Use MIN_DATE instead. ( #11444 )
...
Even with strong types ...
7 months ago
frosch
97df27e41f
Codechange: Store base graphics settings in a separate section in openttd.cfg.
8 months ago
Jonathan G Rennison
cd091e04f5
Add settings filter to only show non-vanilla settings
9 months ago
Patric Stout
e5673a1756
Codechange: cleanup CargoPacket in terms of variable/function names ( #11278 )
...
Over the years, things got reused and changed, making the current
names somewhat unclear in what they actually mean and do.
(cherry picked from commit 30172fc037
)
9 months ago
Jonathan G Rennison
8a0fab1d4c
Add setting for whether water floods from map edges
9 months ago
Jonathan G Rennison
ad3980e596
Add setting for whether non-leading train engines keep custom names
9 months ago
Joan Josep
6b7537646d
Fix: Allow NewGRF inspection of road tiles. ( #11323 )
9 months ago
Joan Josep
b9a1cb5d7c
Fix: Spelling of NIHAirport. ( #11322 )
9 months ago
frosch
b6c8f301be
Codechange: Silence warnings about intentionally unused parameters.
9 months ago
Peter Nelson
280dce9543
Codechange: Reorder CargoSpec to reduce alignment padding.
9 months ago
Peter Nelson
14bcfff6f5
Codechange: Rename INVALID_CARGO to INVALID_CARGO_BITNUM
...
... to avoid future ambiguity.
9 months ago
Jonathan G Rennison
a18f3274b4
Rename close window functions to match upstream
9 months ago
Jonathan G Rennison
ed1b842ad3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console.cpp
# src/console_func.h
# src/network/network_server.cpp
# src/os/unix/unix.cpp
# src/spritecache.cpp
# src/viewport.cpp
9 months ago
Jonathan G Rennison
c8817d7f4e
Merge branch 'master' into jgrpp
...
# Conflicts:
# os/macosx/notarize.sh
# src/3rdparty/CMakeLists.txt
# src/3rdparty/squirrel/squirrel/sqcompiler.cpp
# src/3rdparty/squirrel/squirrel/sqdebug.cpp
# src/3rdparty/squirrel/squirrel/sqvm.cpp
# src/console_cmds.cpp
# src/core/span_type.hpp
# src/crashlog.cpp
# src/currency.h
# src/date_gui.cpp
# src/driver.cpp
# src/fios.cpp
# src/genworld_gui.cpp
# src/hotkeys.cpp
# src/misc_gui.cpp
# src/music/os2_m.cpp
# src/network/core/os_abstraction.h
# src/network/network_server.cpp
# src/newgrf.cpp
# src/newgrf_config.h
# src/newgrf_text.cpp
# src/openttd.cpp
# src/os/macosx/font_osx.cpp
# src/os/macosx/misc_osx.cpp
# src/os/os2/CMakeLists.txt
# src/os/os2/os2.cpp
# src/os/unix/CMakeLists.txt
# src/os/windows/font_win32.cpp
# src/os/windows/win32_main.cpp
# src/saveload/saveload.cpp
# src/script/api/script_text.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/stdafx.h
# src/strings.cpp
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_cmd.cpp
# src/video/dedicated_v.cpp
# src/video/video_driver.cpp
# src/video/win32_v.cpp
# src/viewport.cpp
# src/waypoint_gui.cpp
# src/widgets/dropdown_type.h
# src/window.cpp
# src/window_gui.h
9 months ago
PeterN
acd7d3c913
Codechange: Rename *Railtype* to *RailType* for consistency. ( #11287 )
9 months ago
Michael Lutz
5cc623cb3c
Add: [NewGRF] Inspection window for airports.
...
As as the station window combines all station types, accessing the
debug view is via the parent of the airport tile only.
(cherry picked from commit a6f2f3c042
)
9 months ago
Michael Lutz
a6f2f3c042
Add: [NewGRF] Inspection window for airports.
...
As as the station window combines all station types, accessing the
debug view is via the parent of the airport tile only.
9 months ago
Jonathan G Rennison
f6eadf19c6
Replace vehicle tile hash
...
Use robin hood hash of TileIndex
Retain linked list of vehicles on the same tile
9 months ago
Tyler Trahan
77173a6a10
Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes
9 months ago
Tyler Trahan
fca2b37726
Codechange: Move Ticks into their own class
9 months ago
Jonathan G Rennison
c0598d34bf
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console.cpp
# src/os/os2/os2.cpp
# src/os/unix/font_unix.cpp
# src/strgen/strgen.h
# src/strgen/strgen_base.cpp
# src/table/settings/gui_settings.ini
10 months ago
mrmbernardi
a5c8365aa4
Feature: Setting to disallow level crossings with competitors ( #10755 )
10 months ago
Jonathan G Rennison
a0e3885acc
Add airport tile variables to get airport type local ID and layout
10 months ago
Jonathan G Rennison
e72744cc77
Debug: Show airport type/layout in debug window
10 months ago
Jonathan G Rennison
547c00b465
Settings: Only write out config on setting change for persistent changes
10 months ago
Jonathan G Rennison
1eb1b0ffcb
Debug: Show cargo packet info if cargo is reserved
10 months ago
Jonathan G Rennison
b0538a00e0
Add setting for whether to allow converting town road to non-house types
...
See: 51e22617
10 months ago
Loïc Guilloux
8c9ecde964
Change: Remove autosave from settings window ( #11218 )
...
It is broken since 4f4810d
and it's also in game options.
10 months ago
Jonathan G Rennison
19835b51ee
Move StationCargoList and FlowStatMap out of GoodsEntry struct
...
Move them into a new GoodsEntryData struct referenced
using a std::unique_ptr from GoodsEntry.
The unique_ptr may be nullptr if the cargo list and flow stat map
are both empty (this is the case for unused cargoes).
This reduces GoodsEntry from 128 to 24 bytes,
and Station from 8680 to 2024 bytes,
(on Linux x86_64).
10 months ago
Jonathan G Rennison
c7712bbd20
Debug: Shpw station GoodsEntry info in station debug window
10 months ago
Jonathan G Rennison
2ae4e5bdc1
Change road vehicle path cache to be optional and use ring buffers
...
Show path cache in debug window
10 months ago
Patric Stout
299570b2c1
Codechange: make TimerGameCalendar Date and Year types strongly typed ( #10761 )
10 months ago
Jonathan G Rennison
8a14d8c246
Add setting to also limit acceleration when using realistic braking
10 months ago
Tyler Trahan
748ff13a6d
Change: Enable "Forbid 90 degree turns" setting by default
...
(cherry picked from commit 4decd2aa48
)
11 months ago
Tyler Trahan
9876c861e4
Remove: Unused ship pathfinder invalidation setting callback
11 months ago
Tyler Trahan
4decd2aa48
Change: Enable "Forbid 90 degree turns" setting by default
11 months ago
Daniel Hill
924b2ab9ec
Add an optional "(City)" in Viewport labels
11 months ago
Jonathan G Rennison
4c88256183
De-duplicate string IDs used for viewport town labels
11 months ago
Jonathan G Rennison
ebcf8b336c
Add SET_COLOUR string code
11 months ago
Tyler Trahan
f57296a033
Change: Only show platform stopping location in orders when other than default ( #11102 )
11 months ago
Henry Wilson
a9c65a69d0
Feature: Add config option to set default company secondary colour for new games
...
This does duplicate translation strings for the colours
11 months ago
MasonGulu
0be27778af
Add: alternative setting for right-click close window option to exclude pinned windows ( #10204 )
11 months ago
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
11 months ago
Patric Stout
4f4810dc28
Fix: store autosave settings under the new names
11 months ago
Jonathan G Rennison
8af0dc223c
Debug: Improve display of rail/road/tram type labels
...
Click to show individual compatible/powered types
11 months ago
Jonathan G Rennison
11bf8e22d7
Add setting to show order number in vehicle view window
11 months ago
Rubidium
a184e7f793
Fix #11137 : assertion failure due to interpreting string as number
11 months ago
rubidium42
9f6fec01cd
Codechange: rename cargo aging days to periods, as they are not really days ( #11112 )
11 months ago
Jonathan G Rennison
c6c69fa3da
Add setting for long-term autosaves
...
A second set of autosaves for whenever the main set wraps around to 0
11 months ago
Jonathan G Rennison
126b31a744
Improve colouring of restricted signal posts with original TTD graphics
11 months ago
RoqueDeicide
c57bfa479a
[Feature] Added waypoint viewport tooltips.
12 months ago
Jonathan G Rennison
3e03cebad1
Simplify industry_tooltip_show_stockpiled setting
...
See: #564
12 months ago
RoqueDeicide
84e5aba1d7
[Change] Reworked stockpile settings into 1 dropdown.
12 months ago
RoqueDeicide
733f53dc9a
Merge branch 'tooltip_extension' into jgrpp
12 months ago
Jonathan G Rennison
ead18b2af2
Merge branch 'master' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# src/3rdparty/md5/md5.h
# src/3rdparty/squirrel/squirrel/squtils.h
# src/animated_tile.cpp
# src/console_func.h
# src/core/CMakeLists.txt
# src/core/container_func.hpp
# src/core/smallstack_type.hpp
# src/crashlog.cpp
# src/crashlog.h
# src/debug.h
# src/economy.cpp
# src/gamelog.cpp
# src/industry_gui.cpp
# src/lang/catalan.txt
# src/misc_gui.cpp
# src/network/network_content.h
# src/newgrf.cpp
# src/newgrf.h
# src/newgrf_config.cpp
# src/newgrf_config.h
# src/newgrf_gui.cpp
# src/os/unix/font_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/rail_cmd.cpp
# src/saveload/animated_tile_sl.cpp
# src/script/api/script_tilelist.cpp
# src/settings.cpp
# src/settingsgen/settingsgen.cpp
# src/sl/oldloader_sl.cpp
# src/station.cpp
# src/station_cmd.cpp
# src/stdafx.h
# src/strgen/strgen.cpp
# src/strgen/strgen_base.cpp
# src/table/settings/gui_settings.ini
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_cmd.cpp
# src/vehicle_gui_base.h
# src/viewport_sprite_sorter.h
12 months ago
RoqueDeicide
5af7be6d17
[Feature] Added station viewport tooltips.
12 months ago
RoqueDeicide
1071235aee
[Feature] Added depot viewport tooltips.
12 months ago
Jonathan G Rennison
8fea927ed1
Add setting for whether to shade height in viewport map mode
...
See: #550
12 months ago
Jonathan G Rennison
99b883298e
Add help text for the various viewport map settings
12 months ago
Jonathan G Rennison
05be624294
Remove gui.viewport_map_scan_surroundings setting, now always enabled
12 months ago
Jonathan G Rennison
d09b504bc5
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release-linux.yml
# .github/workflows/release-macos.yml
# .github/workflows/release-source.yml
# .github/workflows/release.yml
# CMakeLists.txt
# COMPILING.md
# src/ai/ai_core.cpp
# src/ai/ai_gui.cpp
# src/bridge_gui.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/core/CMakeLists.txt
# src/core/smallmap_type.hpp
# src/disaster_vehicle.h
# src/effectvehicle_base.h
# src/fontcache.cpp
# src/game/game_core.cpp
# src/game/game_gui.cpp
# src/gamelog.cpp
# src/gamelog_internal.h
# src/group_gui.cpp
# src/linkgraph/linkgraph.h
# src/misc.cpp
# src/network/core/config.h
# src/network/core/udp.cpp
# src/network/network_chat_gui.cpp
# src/network/network_content_gui.cpp
# src/network/network_gui.cpp
# src/newgrf.cpp
# src/newgrf_gui.cpp
# src/newgrf_profiling.cpp
# src/newgrf_profiling.h
# src/object_gui.cpp
# src/openttd.cpp
# src/openttd.h
# src/order_gui.cpp
# src/os/windows/font_win32.cpp
# src/rail_gui.cpp
# src/road.cpp
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/script/api/script_controller.cpp
# src/script/api/script_roadtypelist.cpp
# src/script/script_config.cpp
# src/script/script_config.hpp
# src/script/script_instance.cpp
# src/script/script_scanner.cpp
# src/script/squirrel.cpp
# src/script/squirrel_helper.hpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/table/settings/network_private_settings.ini
# src/timetable_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/window_gui.h
12 months ago
RoqueDeicide
33ee78f9ac
[Feature] Extended functionality of industry viewport tooltips.
...
Added ability to turn them off or to show any combination of the following: name, required, stockpiled or produced cargoes.
12 months ago
RoqueDeicide
8eea01717f
[Feature] A setting to allow town name tile tooltips to always or never be displayed.
12 months ago
RoqueDeicide
d6041744ca
[Change] Moved tooltip-related settings to a dedicated category.
12 months ago
Richard Wheeler
3b2934c479
Change: Make terraforming point selection sprite visible at >2x zoom out ( #11017 )
12 months ago
Jonathan G Rennison
55c07eed59
Change: Add separate setting for server sent commands per frame limit ( #11023 )
...
Set a higher default value for this setting.
Use the higher of this and existing commands per frame limit
setting for server-originating commands, e.g. GS.
This is to support the GSAsyncMode class.
This also avoids undue throttling when more than one
script is in operation (e.g. AIs).
12 months ago
Jonathan G Rennison
9a5df29648
Adjustments for PR #556
...
Setting text/condition, tooltip condition
12 months ago
RoqueDeicide
829db8e4f9
Feature: A setting to bring back old tile tooltip behavior.
...
If enabled, the setting allows tooltips for tiles, such as industries, to show instantly, when otherwise they would require a right-click.
12 months ago
glx22
b1fb209bed
Add: {COLOUR} control code to allow colour changes at runtime
1 year ago
Jonathan G Rennison
dadebfa759
Debug: Show engine cargo/refit values
1 year ago
Jonathan G Rennison
051cb29f7a
Debug: Show engine misc flags for all vehicle types
1 year ago
Jonathan G Rennison
d6787c4731
Fix f9f1cb21: Setting saveload type
...
See: #548
1 year ago
Jonathan G Rennison
b18d3c9603
Network: Auto-kick clients after too many failed rcon/settings attempts
1 year ago
Jonathan G Rennison
f9f1cb2190
Fix crash when changing AI interval setting
...
See: #548
1 year ago
Jonathan G Rennison
ccdca8ae52
Add setting to increase size of main toolbar
1 year ago
Jonathan G Rennison
02549c5224
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/cargomonitor.cpp
# src/core/CMakeLists.txt
# src/economy.cpp
# src/landscape.cpp
# src/linkgraph/flowmapper.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/linkgraphschedule.cpp
# src/misc_gui.cpp
# src/newgrf_generic.cpp
# src/newgrf_storage.cpp
# src/rail_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/station_sl.cpp
# src/script/script_gui.cpp
# src/station_cmd.cpp
# src/station_gui.cpp
# src/string_func.h
# src/terraform_cmd.cpp
1 year ago
Jonathan G Rennison
d3fbe88a9c
Add setting for departure boards duration when using minutes
...
Default to 24 hours
1 year ago
Jonathan G Rennison
bc00753996
NewGRF stations: Remove extended version of varuiable 68
1 year ago
Jonathan G Rennison
57762ce9f6
Enable upstream load for build object limit settings
1 year ago
PeterN
ab83725d73
Add: NewGRF string code "9A 21" to display force from textstack. ( #10782 )
...
(cherry picked from commit 61516627ad
)
1 year ago
Jonathan G Rennison
ec9766e691
Fix ai_developer_tools not being read before scanning for scripts
...
See: #528
1 year ago
PeterN
ac1d042550
Remove: obsolete NewGRF text unprinting. ( #10884 )
...
Co-authored-by: Rubidium <rubidium@openttd.org>
1 year ago
Patric Stout
5821194ad1
Add: [Linux] change default scroll mode to non-mouse-lock ( #10920 )
...
Wayland doesn't support mouse warping, X11 only for native
systems (so not for remote desktop, WSLg, etc), and emscripten
neither without complications. All these cannot offer a
mouse-lock.
1 year ago
Jonathan G Rennison
3a47b421b0
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/core/overflowsafe_type.hpp
# src/economy.cpp
# src/engine_base.h
# src/ground_vehicle.cpp
# src/group_gui.cpp
# src/industry_cmd.cpp
# src/industry_gui.cpp
# src/newgrf_commons.cpp
# src/newgrf_engine.cpp
# src/newgrf_industries.cpp
# src/newgrf_object.cpp
# src/newgrf_roadstop.cpp
# src/newgrf_station.cpp
# src/rail_gui.cpp
# src/road_cmd.h
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/script/api/script_log.cpp
# src/script/api/script_log.hpp
# src/settings_gui.cpp
# src/settingsgen/settingsgen.cpp
# src/station_cmd.cpp
# src/station_cmd.h
# src/station_gui.cpp
# src/strgen/strgen.cpp
# src/string_func.h
# src/string_type.h
# src/table/settings/network_private_settings.ini
# src/tests/math_func.cpp
# src/textfile_gui.cpp
# src/timetable_gui.cpp
# src/town_cmd.cpp
# src/vehicle.cpp
# src/waypoint_cmd.cpp
# src/waypoint_cmd.h
# src/widgets/dropdown.cpp
1 year ago
Jonathan G Rennison
3d4133cadb
Debug: Fix debug window parent scope button with missing town
1 year ago
Jonathan G Rennison
819b9fcdd9
Include 'perfect' mode in tree placer setting helptext
1 year ago
Jonathan G Rennison
e3bd8966fc
Debug: Allow setting parameters for extended vars in debug window
...
Reafctor handling of set parameters
1 year ago
Jonathan G Rennison
bdb9a72aa4
NewGRF: Add/extend station variables for station info of nearby tiles
...
In preparation for support of more than 255 stations per GRF
1 year ago
Jonathan G Rennison
1dbbbed9e5
NewGRF: Only extend value of road stops variable 68 if feature tested for
1 year ago
Jonathan G Rennison
2ed248a61d
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release-linux.yml
# src/aircraft_cmd.cpp
# src/airport_gui.cpp
# src/articulated_vehicles.cpp
# src/build_vehicle_gui.cpp
# src/company_gui.cpp
# src/genworld_gui.cpp
# src/gfx_layout.cpp
# src/misc_gui.cpp
# src/newgrf.cpp
# src/newgrf_config.h
# src/newgrf_engine.cpp
# src/news_gui.cpp
# src/order_gui.cpp
# src/roadveh_cmd.cpp
# src/saveload/saveload.h
# src/saveload/vehicle_sl.cpp
# src/ship_cmd.cpp
# src/statusbar_gui.cpp
# src/table/settings/network_private_settings.ini
# src/table/settings/network_settings.ini
# src/toolbar_gui.cpp
# src/train_cmd.cpp
# src/vehicle_gui.cpp
1 year ago
Jonathan G Rennison
bac8f032da
Re-add company shares
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
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
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
72dcdfafbd
Add setting for server sent commands per frame limit
...
Use higher of this and existing commands per frame limit setting
for server-originating commands, e.g. GS
1 year ago
Jonathan G Rennison
37b8b59c85
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/date_type.h
# src/linkgraph/linkgraphjob.cpp
# src/linkgraph/linkgraphschedule.cpp
# src/saveload/saveload.h
# src/table/settings/linkgraph_settings.ini
1 year ago
Jonathan G Rennison
9a4512f789
Remove linkgraph duration not day length scaled setting
...
Now always enabled
1 year ago
Jonathan G Rennison
5dd99fb046
Add setting for milliseconds per game tick mode
1 year ago
Tyler Trahan
d57046e7ec
Change: Use "Via-Destination-Source" as default station cargodist display ( #10851 )
1 year ago
Patric Stout
7634553d22
Feature: opt-in survey when exiting a game
...
On first start-up, the game will ask if you want to participate
in our automated survey. You have to opt-in, and can easily opt-out
(via the Options) at any time.
When opt-in, whenever you exit a game, a JSON blob will be send
to the survey server hosted by OpenTTD. This JSON blob contains
information that gives a global picture of the game just played:
- What settings were used
- How many humans vs AIs
- How long the game has been played
- Basic information about the OS / CPU
All this information is kept very generic, so there is no
chance we send private information to our survey server.
Nothing in the JSON blob could identify you as a person; it
mostly tells about the game played. At any time you can see
what the JSON blob includes, by pressing the "Preview Survey
Results" button in-game.
1 year ago
Jonathan G Rennison
3573571229
Allow changing tree placement algorithm setting in game
1 year ago
PeterN
61516627ad
Add: NewGRF string code "9A 21" to display force from textstack. ( #10782 )
1 year ago
Peter Nelson
e6740046ee
Codechange: Use range-for iteration.
1 year ago
Jonathan G Rennison
e7f7cd06bd
Simplify timetable time/duration string management
1 year ago
Tyler Trahan
98d809c33b
Codechange: Don't use macros for DAYS_TILL and friends ( #10746 )
1 year ago
Patric Stout
a7d3c79d79
Fix c6c3d0e6: restore string-based settings in network-private settings ( #10765 )
...
By accident the SDTC_SSTR got replaced with SDTC_VAR, which breaks
many of the settings in this file.
1 year ago
Patric Stout
c6c3d0e6fa
Fix: no_http_content_downloads and use_relay_service as private settings ( #10762 )
...
Basically, we don't need to know those values when people send in
crash reports.
1 year ago
Jonathan G Rennison
f78fea4fbf
Debug: Add introduction info to railtype debug info
1 year ago
Jonathan G Rennison
e26bea6ce4
Add setting to select cargo payment algorithm
...
See: #506
1 year ago
Patric Stout
36a0818bc5
Remove: buying/selling/owning company shares ( #10709 )
1 year ago
Tyler Trahan
930f0a16d8
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
1 year ago
Patric Stout
ed83c4b0da
Change: replace per-AI "start_date" with a global "competitors_interval" ( #10653 )
...
The per-AI "start_date" is a lot of custom code, and was rarely
used in the way it was meant.
While at it, also ported this part over to the new timer system.
1 year ago
Tyler Trahan
646a7e625b
Change: Use seconds for Linkgraph update settings ( #10610 )
1 year ago
Jonathan G Rennison
64925aedf8
Add town variable for town tile X and Y coordinates
1 year ago
Jonathan G Rennison
9fd01d57cc
Rename town zone extended variable identifiers
1 year ago
Jonathan G Rennison
ac0c8c8cdd
Debug: Show local GRF IDs for engines, stations, houses, objects and road stops
1 year ago
Jonathan G Rennison
1d947201d3
Debug: Fix expand/collapse for extra engine flags
1 year ago
Jonathan G Rennison
6297012ad6
Fix save/load and GUI for locale.units_velocity_nautical setting
1 year ago
Jonathan G Rennison
82803b98e0
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/game/game_gui.cpp
# src/graph_gui.cpp
# src/linkgraph/linkgraph_gui.h
# src/newgrf.cpp
# src/order_gui.cpp
# src/saveload/engine_sl.cpp
# src/saveload/saveload.h
# src/script/api/script_text.cpp
# src/script/script_gui.cpp
# src/settings_table.cpp
# src/strings.cpp
# src/table/settings/economy_settings.ini
# src/table/settings/locale_settings.ini
# src/timetable_gui.cpp
1 year ago
Tyler Trahan
0de5eb53fa
Codechange: Use constants for service interval max/min/default values ( #10611 )
1 year ago
Tyler Trahan
1691640603
Fix: Specify units for value of share trading age setting ( #10612 )
1 year ago
PeterN
f1144de509
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
...
This is achieved by packing vehicle type along with the velocity so that
the string system can decode and pick the appropriate unit.
1 year ago
Jonathan G Rennison
c9c0436e58
Add company setting for remain at station if next order for same station
...
Set value on load for whether the save version had this enabled for trains
1 year ago
Jonathan G Rennison
1d05637d45
Add setting for rail depot maximum speed
1 year ago
Jonathan G Rennison
e02585f68e
Add railtype and signals variables for signal vertical clearance
1 year ago
Jonathan G Rennison
d30157a113
Debug: Show whether vehicle needs service in debug window
1 year ago
Jonathan G Rennison
5d5e005c5d
Debug: Log aircraft target airport and movement state name
1 year ago
Jonathan G Rennison
bd3df161e4
Debug: Show whether vehicle is in tile hash in debug info
1 year ago
Jonathan G Rennison
0ab54b2992
Debug: Fix aliasing of show/hide toggles for aircraft in debug window
1 year ago
Jonathan G Rennison
664c486fea
Add "very reduced" mode to the vehicle breakdowns setting
1 year ago
Jonathan G Rennison
1dce4a0bef
Debug: Show reliability/breakdown values in vehicle debug window
1 year ago
Jonathan G Rennison
9c5f81790a
Debug: Split industry produced cargo info across multiple lines
1 year ago
Jonathan G Rennison
ae99f667b0
NewGRF: Add generic town callback to set town zone radii
1 year ago
Jonathan G Rennison
93c34775e4
NewGRF: Add town variables for uncapped house count, population and zone radii
...
Add feature name
1 year ago
Jonathan G Rennison
2ea1766677
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/commit-checker.yml
# src/industry_cmd.cpp
# src/industry_gui.cpp
# src/landscape.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/order_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/league_sl.cpp
# src/saveload/saveload.h
# src/script/api/script_object.hpp
# src/script/squirrel_helper.hpp
# src/settings_table.cpp
# src/station_cmd.cpp
# src/table/settings.h.preamble
# src/tree_cmd.cpp
# src/tree_map.h
# src/vehicle.cpp
# src/waypoint_cmd.cpp
1 year ago
Michael Lutz
178249e7cc
Codechange: Saveload macros for entries with a custom table name.
1 year ago
Jonathan G Rennison
4c1406a4b5
Add: NewGRF road stops
1 year ago
Rubidium
a409e4b026
Add: documention to large functions that have too little documentation according to CodeQL
1 year ago
Jonathan G Rennison
e0a42b5945
Debug: Add dumping of rail and road/tram sprite groups
1 year ago
Jonathan G Rennison
5a877b49b4
Add railtype/signal variable to get signal side
1 year ago
Jonathan G Rennison
f7d62a1767
Add road/tram type flag to disallow collisions with trains
1 year ago
Jonathan G Rennison
663a3969a0
Add road/tram type flag to disallow tunnels
1 year ago
Jonathan G Rennison
3497d0dcdb
Add road/tram type properties to set road vehicle collision mode
1 year ago
Jonathan G Rennison
796924ec32
Change type of extended feature versions arrays
1 year ago
Jonathan G Rennison
dceafaf2db
GRF: Initial support for > 255 road stop specs per GRF
...
Add new variable for road stop info of nearby tiles
Bump roadstops version
1 year ago
Jonathan G Rennison
ae9b416684
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/ai/ai_core.cpp
# src/ai/ai_gui.cpp
# src/ai/ai_instance.cpp
# src/console_cmds.cpp
# src/engine_type.h
# src/game/game_gui.cpp
# src/game/game_instance.cpp
# src/goal.cpp
# src/goal_cmd.h
# src/lang/english.txt
# src/lang/estonian.txt
# src/network/network_client.cpp
# src/newgrf.cpp
# src/newgrf_generic.h
# src/openttd.cpp
# src/saveload/saveload.h
# src/script/api/script_log.cpp
# src/script/api/script_town.cpp
# src/settings_table.cpp
# src/station_cmd.cpp
# src/station_cmd.h
# src/station_map.h
# src/strings.cpp
# src/table/settings/difficulty_settings.ini
# src/table/settings/gui_settings.ini
# src/tbtr_template_gui_main.h
# src/timetable_cmd.cpp
# src/timetable_cmd.h
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_gui.cpp
# src/water_cmd.cpp
1 year ago
Michael Lutz
5daaa45e4a
Add: [NewGRF] Second vehicle property for additional callback flags.
...
(cherry picked from commit 2d73076056
)
1 year ago
glx22
b080f24bd8
Codechange: move windows common to AI and GS out of ai_gui
1 year ago
Jonathan G Rennison
1272bec13b
Road stops: Add height property for build window preview
1 year ago
Jonathan G Rennison
219e41b5d6
Debug: Enable inspecting non-GRF objects
1 year ago
Jonathan G Rennison
e8dca9f220
Debug: Add time since load/unload to station debug info
1 year ago
Rubidium
bf8b32d193
Change: explicitly allow initial loan of 0, however show warning in UI
1 year ago
Rubidium
b7b7c11b90
Change #10077 : make maximum loan a positive multiple of the loan interval
...
And set the minimum maximum loan to the value of loan interval, so there is
always an amount of money to lend. Compared to being allowed to set max loan
to 0 and never be allowed to lend any money.
1 year ago
Michael Lutz
2d73076056
Add: [NewGRF] Second vehicle property for additional callback flags.
1 year ago
Jonathan G Rennison
f3645cf629
Debug: Dump all station sprite groups, not just current resolved one
1 year ago
Jonathan G Rennison
c80075b7cc
Add setting and town override for whether towns can build bridges
1 year ago
Jonathan G Rennison
1f364c6b21
Fix the viewport map default display mode setting
...
Routes value was missing
Adjust strings
See: #475
1 year ago
Jonathan G Rennison
1bfd96c7f2
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/3rdparty/fmt/core.h
# src/command_type.h
# src/console_cmds.cpp
# src/core/overflowsafe_type.hpp
# src/landscape.cpp
# src/network/network.cpp
# src/newgrf_object.h
# src/object_cmd.cpp
# src/order_gui.cpp
# src/saveload/vehicle_sl.cpp
# src/script/api/script_industrytype.cpp
# src/script/api/script_object.hpp
# src/script/api/script_town.cpp
# src/table/object_land.h
# src/timetable_cmd.cpp
# src/tree_cmd.cpp
# src/vehicle_gui.cpp
# src/window.cpp
1 year ago
PeterN
2355882ec1
Codechange: Remove object `enabled` flag and shuffle members. ( #10358 )
...
`enabled` flag is replaced with IsEnabled() which checks if views is
non-zero.
ObjectSpec is shuffled to reduce its memory footprint.
1 year ago
Jonathan G Rennison
8c4c9a8c13
Enable loading game_creation.custom_industry_number from upstream saves
1 year ago
Tyler Trahan
2206c73156
Feature: Set a custom number of industries in map generation window ( #10340 )
1 year ago
Jonathan G Rennison
3e33be7b10
Fix day length changes with scheduled dispatch and timetable start times
...
When time is in minutes
See: #472
1 year ago
Jonathan G Rennison
e816c2416a
Debug: Show more road vehicle engine fields in debug window
1 year ago
Jonathan G Rennison
62d524eaef
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/station_sl.cpp
# src/saveload/town_sl.cpp
# src/spritecache.cpp
# src/timetable_gui.cpp
1 year ago
PeterN
1b1aa682a6
Fix: Don't assume engclass 2 should be elrail. ( #10315 )
...
When disabling/enabling elrail, there is an assumption that `engclass` of 2
means the engine will run on elrail. While this holds for default engines,
NewGRFs can do other things.
To resolve this we store the intended railtype so that toggling elrail will
restore to the correct type.
1 year ago
Jonathan G Rennison
96f790fc7d
Debug: Show rail station tile layouts in debug window
1 year ago
Jonathan G Rennison
0093ebe3a7
Debug: Add engine variant ID and extra flags to debug info
1 year ago
Jonathan G Rennison
b9dad1818b
Add setting to disable NewGRF inflation flag
1 year ago
Jonathan G Rennison
64c210f770
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/build_vehicle_gui.cpp
# src/engine.cpp
# src/engine_func.h
# src/group_gui.cpp
# src/lang/english.txt
# src/newgrf.cpp
# src/saveload/oldloader_sl.cpp
# src/timetable_cmd.cpp
# src/timetable_cmd.h
# src/timetable_gui.cpp
1 year ago
Jonathan G Rennison
5bea50c413
Debug: Add rail engine misc flags to debug info
1 year ago
Jonathan G Rennison
14f4f6d104
Remove now unused vehicle.flip_direction_all_trains setting
1 year ago
Jonathan G Rennison
58d841486e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/os/windows/font_win32.cpp
# src/script/api/script_object.hpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/viewport.cpp
# src/viewport_func.h
1 year ago
Francis Herne
6caed5f15e
Add: Slope-aware and roadtype-specific one-way sprites. ( #10282 )
1 year ago
Peter Nelson
3485709f53
Add: Additional vehicle flags to control variants.
1 year ago
peter1138
d7f561a400
Change: Add variant property to engines.
1 year ago
Jonathan G Rennison
8af4ac8a4c
GRF: Add road stops variable for road info of nearby plain road tile
...
See: #464
1 year ago
Jonathan G Rennison
6b8f799a1c
Debug: Show engine base introduction date
1 year ago
PeterN
7b5edba76c
Change: Support flipping shorter engines without NewGRF support. ( #10262 )
...
* Change: Support flipping shorter engines without NewGRF support.
* Cleanup: Remove write-only prop27_set temporary flag.
1 year ago
Jonathan G Rennison
9e33153df9
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/os/macosx/string_osx.cpp
2 years ago
PeterN
dde15a403c
Fix #10257 : Incorrect wire position on sloped bridge heads. ( #10258 )
2 years ago
Jonathan G Rennison
0a9d734ce8
Debug: List new landscape GRFs and their flags in the debug window
2 years ago
Jonathan G Rennison
39277404a2
Add new landscape variable for ground density and snow presence
2 years ago
Jonathan G Rennison
2430a5113e
Debug: Add GRF debug window support for new landscape rocks
2 years ago
Jonathan G Rennison
5c2d5782a4
Fixes incorrect link graph edge travel times with non-unity day length
...
Change vehicle last_loading_tick to be relative to _scaled_tick_counter
2 years ago
Jonathan G Rennison
d776b302fa
Store the gui.zoom_max setting under a different name in the config file
...
So that it isn't overwritten by vanilla.
Otherwise use the vanilla setting value if present and outside the
vanilla range.
2 years ago
Jonathan G Rennison
6d4474b84e
Merge tag '13.0-beta2' into jgrpp
...
# Conflicts:
# src/cheat_gui.cpp
# src/company_gui.cpp
# src/console_gui.cpp
# src/depot_gui.cpp
# src/error_gui.cpp
# src/gfx.cpp
# src/graph_gui.cpp
# src/group_gui.cpp
# src/lang/english.txt
# src/lang/korean.txt
# src/lang/polish.txt
# src/misc_gui.cpp
# src/network/network_content_gui.h
# src/newgrf_debug_gui.cpp
# src/order_gui.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/station_gui.cpp
# src/subsidy_gui.cpp
# src/table/settings/gui_settings.ini
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_cmd.cpp
# src/vehicle_gui.cpp
# src/viewport.cpp
# src/water_cmd.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
2 years ago
Jonathan G Rennison
7a6a7a3bfa
Fix duplication of tree sprite table
2 years ago
Jonathan G Rennison
afd3004ea0
Debug: Avoid compiler warnings in debug window cargo class printing
2 years ago
Jonathan G Rennison
5d171e0023
Add setting for whether dual pane train purchase window uses combined buttons
...
See: #421
2 years ago
Jonathan G Rennison
1f36c3f3e4
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/ai/ai_gui.cpp
# src/build_vehicle_gui.cpp
# src/genworld_gui.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/newgrf_sound.cpp
# src/roadveh.h
# src/sound.cpp
# src/station_cmd.cpp
# src/train.h
# src/train_cmd.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_gui.cpp
2 years ago
stormcone
e29547a3a2
Feature: Show the cargoes the vehicles can carry in the vehicle list window ( #8304 )
2 years ago
Jonathan G Rennison
3d7e5d5369
Avoid unnecessary viewport redraws for unused tile loop house triggers
2 years ago
Jonathan G Rennison
a42557fed7
Departure boards: Fix windows not being refreshed when changing settings
2 years ago
Jonathan G Rennison
4990a25e48
Add a "if breakdowns enabled" mode to the no depot order warn setting
2 years ago