Commit Graph

50116 Commits

Author SHA1 Message Date
Jonathan G Rennison
ed9410aba9 Debug: Add house population and mail generation to debug window 2021-02-16 21:35:17 +00:00
Jonathan G Rennison
5cd3136170 Fix: Autorenew failure advice due to bad refit being shown to all companies 2021-02-16 18:35:11 +00:00
Jonathan G Rennison
0d385c9688 Use 3rd party optional wrapper, always use local verison on Apple 2021-02-16 16:06:32 +00:00
Jonathan G Rennison
6089347833 Revert "Cleanup: src/3rdparty/optional was removed, also remove its licensing note. (#8567)"
This reverts commit 516e863395.
2021-02-16 16:06:31 +00:00
Jonathan G Rennison
aaeba6887c Revert "Cleanup: use std::optional instead of custom implementation."
This reverts commit 484ea62a62.
2021-02-16 16:06:30 +00:00
Jonathan G Rennison
cb5cd11b9a Fix AddressSanitizer complaining about LanguagePack deleter
See: 024a3f62
2021-02-16 15:34:33 +00:00
Jonathan G Rennison
84eef99eaa MinGW std:🧵 suppress redundancy warning for non-debug builds
See: #216
2021-02-16 14:22:51 +00:00
Jonathan G Rennison
73be35340d Fix refreshing of vehicle panel from vehicle updates
Regression from vehicle grouping changes
2021-02-16 11:48:51 +00:00
Jonathan G Rennison
667ca4d0a7 Add help info for gfx_debug and viewport_debug console commands 2021-02-16 11:24:58 +00:00
Joan Josep
b7a1750863 Doc: Add labels to landscape grid description. (#8452)
(cherry picked from commit a18188ae90)
2021-02-15 23:46:35 +00:00
Jonathan G Rennison
8fc4f13672 Fix train speed not being set to 0 for timetabled wait at waypoint orders 2021-02-15 21:54:46 +00:00
Jonathan G Rennison
efe382b35a If realistic braking can't be enabled, show an extra viewport on the blocking signal 2021-02-15 21:41:22 +00:00
Jonathan G Rennison
aa85ebe51e Show warning icon in order window if there are timetable warnings 2021-02-15 01:50:55 +00:00
Jonathan G Rennison
2a0acd9d91 Fix viewport order lines with unconditional jump orders 2021-02-14 20:40:26 +00:00
Loïc Guilloux
f06c16fda0 Fix 81d335b081: Use non-pulsating red highlight for coverage (#8622)
(cherry picked from commit b927da73c1)
2021-02-14 20:19:41 +00:00
Jonathan G Rennison
f11dcb8478 Fix crash if AI attempts to set order flags of invalid vehicle's order
Fixes: 4c8b358f
2021-02-14 18:55:41 +00:00
Jonathan G Rennison
fdeb75e3c8 Fix upgrading road bridge with opposite road/tram type producing broken ramp road bits 2021-02-14 06:37:49 +00:00
Jonathan G Rennison
60e64b3b20 Change tracerestrict PBS signal tile conditionals to be advanced in GUI 2021-02-13 03:50:33 +00:00
Jonathan G Rennison
aff89b61f5 Add tracerestrict reserved tiles ahead conditional 2021-02-13 03:29:35 +00:00
Jonathan G Rennison
35d720b0ad Add tracerestrict PBS end signal conditional
This is for realistic braking long reserve
2021-02-13 02:12:16 +00:00
Jonathan G Rennison
c17ec5f923 Fix benign type error in tracerestrict GUI 2021-02-13 01:32:59 +00:00
Jonathan G Rennison
a0e9baac54 Bump more_cond_orders savegame version due to 8a814bbf 2021-02-12 18:00:22 +00:00
Jonathan G Rennison
1b0e602ed5 Do not fill reservation lookahead if reservation could still be cancelled
If ExtendTrainReservation finds a safe waiting point, this could
later not be a safe waiting point after advancing orders, due to
conditionally reserve through routing restrictions
2021-02-11 22:31:48 +00:00
Jonathan G Rennison
764af07a33 Fix departure boards not handling unconditional order jumps 2021-02-10 22:36:35 +00:00
Jonathan G Rennison
8a814bbfe3 Add release slot train order 2021-02-10 22:30:22 +00:00
Jonathan G Rennison
d42ad99688 Add conditional order for current time/date 2021-02-10 18:34:46 +00:00
Jonathan G Rennison
62ea3b7794 Use original speeds when braking at station in original braking mode
Partially reverts: 628077d0
2021-02-10 18:05:15 +00:00
Jonathan G Rennison
44bdad3e04 Version: Committing version data for tag: jgrpp-0.40.1 2021-02-05 21:59:15 +00:00
Jonathan G Rennison
03f95322ae Fix CheckCurveLookAhead applying curves just beyond the train length
Fix vehicle spacing logic
2021-02-05 21:45:44 +00:00
Jonathan G Rennison
e75e2b5bdc Fix left mouse button scroll in viewport map mode 2021-02-05 11:56:08 +00:00
Jonathan G Rennison
b8c3bee8b0 Fix clicking trains in slots window 2021-02-05 02:48:28 +00:00
Jonathan G Rennison
0cc994c870 Save/restore implicit and TT order indices in VehicleOrderSaver
Fix implicit/TT order indices being unexpectedly changed by
UpdateOrderDest if an order target is unsuitable.
This could assert UpdateVehicleTimetable
2021-02-04 21:49:05 +00:00
Jonathan G Rennison
db04bc090e Fix crash when removing unreserved tunnel when realistic braking enabled 2021-02-04 21:09:21 +00:00
Jonathan G Rennison
48395cb2db Fix assert when freeing train reservation from track edit command 2021-02-04 20:54:37 +00:00
Jonathan G Rennison
5283e16946 Fix misspelling of variable name: acceleration_type 2021-02-04 17:20:02 +00:00
Jonathan G Rennison
f4526dbb5f Fix wrong cost when cycling tunnel/bridge signal type with CTRL 2021-02-04 12:14:54 +00:00
Jonathan G Rennison
23651fd550 Fix #214: CmdRemoveSingleSignal removed tunnel/bridge signals in test mode
Regression from: ed0ffb622
2021-02-04 12:02:54 +00:00
Jonathan G Rennison
d52eebb829 Set value of cached_uncapped_decel in original acceleration model
This is to avoid false positive cache mismatch messages
2021-02-03 21:30:36 +00:00
Jonathan G Rennison
c1f1b5f3b3 Give monorail/maglev larger realistic braking deceleration limits 2021-02-03 21:22:09 +00:00
Jonathan G Rennison
4e1b1bc91e Fix wrong power units used for maglev realistic braking deceleration calc 2021-02-03 20:54:34 +00:00
Jonathan G Rennison
5ac9fa10e1 Fix signal dragging when obstructed by train reservation 2021-02-03 03:37:06 +00:00
Jonathan G Rennison
667001f2ec Fix crash when downgrading road bridge when realistic braking enabled 2021-02-03 02:57:44 +00:00
Jonathan G Rennison
331da334c0 Version: Committing version data for tag: jgrpp-0.40.0 2021-02-02 23:32:38 +00:00
Jonathan G Rennison
be216952cb Fix drag and drop in tracerestrict slot window 2021-02-02 23:32:04 +00:00
Jonathan G Rennison
a9b82b817b Prevent signed overflow of lookahead position 2021-02-02 22:02:44 +00:00
Jonathan G Rennison
351cf27719 Use go to location sprite for tracerestrict go to signal button 2021-02-02 16:52:47 +00:00
Jonathan G Rennison
650d5e014e Merge branch 'master' into jgrpp
# Conflicts:
#	src/ai/ai_gui.cpp
#	src/company_cmd.cpp
#	src/lang/estonian.txt
#	src/lang/german.txt
#	src/lang/hungarian.txt
#	src/lang/korean.txt
#	src/lang/slovak.txt
#	src/main_gui.cpp
#	src/video/sdl2_v.cpp
2021-02-01 19:34:30 +00:00
Jonathan G Rennison
7154f8859d Merge tag '1.11.0-beta1' into jgrpp
# Conflicts:
#	src/console_cmds.cpp
#	src/gfx_func.h
#	src/industry.h
#	src/lang/czech.txt
#	src/lang/estonian.txt
#	src/lang/german.txt
#	src/lang/indonesian.txt
#	src/lang/japanese.txt
#	src/lang/norwegian_bokmal.txt
#	src/lang/russian.txt
#	src/lang/slovak.txt
#	src/saveload/saveload.h
#	src/station_gui.cpp
#	src/town_gui.cpp
#	src/vehicle_gui.cpp
#	src/video/sdl2_v.cpp
#	src/waypoint_gui.cpp
2021-02-01 18:58:36 +00:00
Jonathan G Rennison
61e7b8c52a Debug: Include vehicle type and unit number in scope_dumper::VehicleInfo 2021-02-01 17:30:41 +00:00
Jonathan G Rennison
b7ddd486cf Merge branch 'master' into jgrpp
# Conflicts:
#	cmake/CompileFlags.cmake
#	src/aircraft_cmd.cpp
#	src/blitter/32bpp_anim.cpp
#	src/cargopacket.cpp
#	src/cheat_gui.cpp
#	src/company_cmd.cpp
#	src/company_gui.cpp
#	src/core/pool_func.hpp
#	src/date.cpp
#	src/economy.cpp
#	src/error_gui.cpp
#	src/ground_vehicle.cpp
#	src/ground_vehicle.hpp
#	src/group_gui.cpp
#	src/industry_cmd.cpp
#	src/lang/dutch.txt
#	src/lang/french.txt
#	src/lang/german.txt
#	src/linkgraph/linkgraph_gui.cpp
#	src/linkgraph/mcf.cpp
#	src/network/network_content.cpp
#	src/network/network_server.cpp
#	src/network/network_udp.cpp
#	src/newgrf_engine.cpp
#	src/newgrf_station.cpp
#	src/order_cmd.cpp
#	src/order_gui.cpp
#	src/pathfinder/follow_track.hpp
#	src/pathfinder/yapf/yapf_common.hpp
#	src/saveload/saveload.cpp
#	src/settings_gui.cpp
#	src/station_cmd.cpp
#	src/station_kdtree.h
#	src/string_func.h
#	src/table/settings.ini
#	src/tgp.cpp
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/toolbar_gui.cpp
#	src/town_cmd.cpp
#	src/train_cmd.cpp
#	src/train_gui.cpp
#	src/tree_gui.cpp
#	src/tunnelbridge_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_gui.cpp
#	src/video/sdl2_v.cpp
#	src/video/sdl_v.cpp
#	src/video/win32_v.cpp
#	src/viewport.cpp
#	src/viewport_sprite_sorter_sse4.cpp
#	src/window.cpp
2021-02-01 17:07:34 +00:00