Commit Graph

58388 Commits (10c136f039ea3e7bd0b977c20932532ec41243e4)
 

Author SHA1 Message Date
Jonathan G Rennison f21618a987 Preserve wait time/timetabled state when duplicating or mass changing order 3 months ago
Jonathan G Rennison 72bd896625 Fix moving unbunch orders to another depot 3 months ago
Jonathan G Rennison 14e0468504 Fix duplicate order duplicating dispatch schedule assignment 3 months ago
Jonathan G Rennison 6b30ab5c2c Try all suitable free wagon chains in CmdMoveRailVehicle when no destination
If none usable, move to its own chain

Fixes issues when moving wagons off trains during template replacement
when remainders are kept

See: #707
3 months ago
Jonathan G Rennison 618ed0a0ce Use vehicle tile hash for finding wagons/engines in depots 3 months ago
Jonathan G Rennison fced6d0eb2 Fix name of CountTrainsNeedingTemplateReplacement 3 months ago
Jonathan G Rennison 0addb29e35 Enable clicking on tunnel to show vehicles inside for road/tram tunnels
Use tile hash to enumerate vehicles
3 months ago
Jonathan G Rennison 4cb3b10f55 Add vehicle function to get first vehicle in tile hash for tile 3 months ago
Jonathan G Rennison af11b76877 Reduce duplication when iterating shared orders for departure board 3 months ago
Jonathan G Rennison 93d2b6716e Fix missing parameter documentation for vehicle on pos functions 3 months ago
Jonathan G Rennison 991bde6600 Allow changing max tunnel length and max bridge heights in network games 3 months ago
Jonathan G Rennison 291ad74864 Fix wording of running costs per calendar year setting 3 months ago
Jonathan G Rennison 51ce0a69db Fix vehicle route overlay focus handling in orders window for some drop downs 3 months ago
Jonathan G Rennison 2927a587cd Tracerestrict: Fix handling of value_drop_down_is_company field 3 months ago
Jonathan G Rennison 04254af89c Slightly reorder struct Station to reduce padding waste 3 months ago
Jonathan G Rennison d4819ad184 Use row-aligned block data type in BitmapTileArea
Use bit operations to reduce looping over individual bits where possible
3 months ago
Jonathan G Rennison 68b16f6741 Fix minor code style issue 3 months ago
Jonathan G Rennison a2ece31e91 Fix narrowing warning in rail/road waypoint windows 3 months ago
Jonathan G Rennison 6244f5b929 Avoid nullptr reference undefined behaviour in saveload when discarding table string on load 3 months ago
Jonathan G Rennison 88b298f30e Documentation: Remove various low level changes which are now upstream 3 months ago
Jonathan G Rennison eda50ef6a5 Use std::vector for extra station name strings 3 months ago
Jonathan G Rennison 1e0279e72e Remove std::function from StringIDMapping to reduce size/overhead 3 months ago
Jonathan G Rennison 1b228b24a5 Add helper wrappers similar to std::bit_cast which support size mismatches 3 months ago
Jonathan G Rennison e2dc3a9ac4 Viewport: Use column-aligned block data type for dirty block tracking
Use bit operations to reduce looping over individual bits where possible
3 months ago
Jonathan G Rennison 8d11ec1eaa Fix some formatting issues in viewport.cpp 3 months ago
Jonathan G Rennison c76a7f4349 Allow GetBitMaskSC to be used with mask size equal to type size 3 months ago
Jonathan G Rennison 0129b2c9d3 Use set bit iterator for drawing for viewport map vehicle dots
Change vehicle pixel cache vector value type
3 months ago
Jonathan G Rennison fc6a7a12cf Fix signal blocks containing no-entry signals not being promoted to PBS 3 months ago
Jonathan G Rennison 320e402cfe Test: Use template tests for multiple value types in ring buffer tests
Test non-trivially copyable and move-only types
3 months ago
Jonathan G Rennison 7b4429dfed Ring buffer: Add input iterator pair constructor 3 months ago
Jonathan G Rennison 9fbdfaffa2 Ring buffer: Use memcpy when reallocating trivially copyable types 3 months ago
Jonathan G Rennison 09a70f6216 Adjust road waypoint check in CmdInsertOrderIntl 3 months ago
Jonathan G Rennison a64a3541fd Debug: Show vehicle progress in vehicle debug info 3 months ago
Jonathan G Rennison b416a41f8b Fix minor spelling errors 3 months ago
Jonathan G Rennison ffbc5aff6d Fix various formatting and spelling issues 3 months ago
Jonathan G Rennison de36e9545e Merge branch 'master' into jgrpp
# Conflicts:
#	src/cargopacket.h
#	src/cargotype.h
#	src/station_base.h
#	src/station_cmd.cpp
#	src/timer/timer_game_common.h
#	src/town.h
3 months ago
Peter Nelson 4b169426dc Fix #12764: Crash when opening Detailed performance rating window with no companies. (#12765)
(cherry picked from commit df1b6a933b)
3 months ago
Jonathan G Rennison fff46974fd Scheduled dispatch: Allow naming departure slot tags 3 months ago
Jonathan G Rennison fe294403aa Add std::string_view variant of SetDParamStr 3 months ago
Jonathan G Rennison ef91ed1dfb Scheduled dispatch: Fix string names for departure tag 3 months ago
Jonathan G Rennison 6a03992a03 Scheduled dispatch: Add dividers to management dropdowns 3 months ago
Jonathan G Rennison c8ce89ff89 Fix stack alignment issues with 32 bit MinGW
Set incoming and preferred alignment to 4 bytes to match Win32 standard

See: #704
3 months ago
Jonathan G Rennison c67f14dc88 Merge branch 'master' into jgrpp
# Conflicts:
#	src/fileio.cpp
#	src/fileio_func.h
#	src/industry_cmd.cpp
#	src/ini.cpp
#	src/openttd.cpp
#	src/os/windows/win32_main.cpp
#	src/settingsgen/settingsgen.cpp
#	src/strgen/strgen.cpp
#	src/strings.cpp
3 months ago
Jonathan G Rennison 79fe829e98 Allow road vehicle overtaking in road waypoint tiles 3 months ago
Jonathan G Rennison 102ba8932e Remove use of non-threadsafe strerror
Add helper class to use strerror_r or strerror_s
3 months ago
Jonathan G Rennison 81ba704477 Fix e53998ec0: Incorrect handling of changed path separators in strgen 3 months ago
Qwest8K 162015433e
Update: Russian translation to ''af102d1'' commit (#703)
Update: Russian translation to ''af102d1''
4 months ago
Jonathan G Rennison e53998ec01 Merge branch 'master' into jgrpp
# Conflicts:
#	src/cheat_gui.cpp
#	src/industry_gui.cpp
#	src/linkgraph/linkgraphschedule.cpp
#	src/misc/getoptdata.h
#	src/music/dmusic.cpp
#	src/network/core/os_abstraction.cpp
#	src/newgrf_engine.cpp
#	src/openttd.cpp
#	src/order_gui.cpp
#	src/os/windows/win32.cpp
#	src/pathfinder/npf/queue.cpp
#	src/smallmap_gui.cpp
#	src/strgen/strgen.cpp
4 months ago
Jonathan G Rennison af102d123b Add button to toggle train purchase window dual pane mode 4 months ago
Jonathan G Rennison 8a134d0f94 Fix narrowing cast warning 4 months ago