Commit Graph

54322 Commits

Author SHA1 Message Date
Jonathan G Rennison
c45bd3020d strgen: Fix type conversion warnings 2023-02-20 17:09:19 +00:00
Jonathan G Rennison
3c5ae5563d Fix missing include 2023-02-20 17:09:07 +00:00
Jonathan G Rennison
6a53ec4c20 Fix 8d6e5779: Use of ssize_t is problematic on Windows 2023-02-20 09:31:31 +00:00
Jonathan G Rennison
588a92648d Fix fbfbaa11: gmtime replaccement in Windows exception handler 2023-02-20 09:29:51 +00:00
Jonathan G Rennison
2ffb245b33 GRF: Add property mapping ID extension mechanism
Bump property_mapping feature version to 3
2023-02-19 23:13:23 +00:00
Jonathan G Rennison
5a877b49b4 Add railtype/signal variable to get signal side 2023-02-19 20:22:40 +00:00
Jonathan G Rennison
f7d62a1767 Add road/tram type flag to disallow collisions with trains 2023-02-19 18:05:11 +00:00
Jonathan G Rennison
663a3969a0 Add road/tram type flag to disallow tunnels 2023-02-19 15:21:35 +00:00
Jonathan G Rennison
3497d0dcdb Add road/tram type properties to set road vehicle collision mode 2023-02-19 14:30:21 +00:00
Jonathan G Rennison
39d38ecf19 Fix incorrect handling of timetable operations on counter and release slot orders
See: #485
2023-02-18 12:34:16 +00:00
Jonathan G Rennison
bf5a3e259a Timetable window: Double-click only triggers change time if button enabled 2023-02-18 12:31:00 +00:00
Jonathan G Rennison
5e398d9478 Add GUI/command support for >255 station types per station class 2023-02-16 22:33:34 +00:00
Jonathan G Rennison
50a48b1264 strgen: Allow inserting strings before as well as after
Use for viewport town label strings
2023-02-16 01:30:21 +00:00
Jonathan G Rennison
ea589fca6e strgen: Allow using another string as a default translation source 2023-02-16 00:56:21 +00:00
Jonathan G Rennison
2829a6fdf7 strgen: Split non-upstream translated strings into separate file 2023-02-16 00:35:44 +00:00
Jonathan G Rennison
2afd2967f2 strgen: Split non-upstream english.txt strings into separate file 2023-02-16 00:28:30 +00:00
Jonathan G Rennison
7e79c6b34b Set text colour for standard per-town actions 2023-02-15 22:41:13 +00:00
Jonathan G Rennison
3e7a625e0e Fix function locals shadowing parameters 2023-02-16 00:09:14 +00:00
Jonathan G Rennison
796924ec32 Change type of extended feature versions arrays 2023-02-15 23:49:40 +00:00
Jonathan G Rennison
633450f620 Add cast to clarify slicing of TimeSettings from _settings_client.gui 2023-02-15 23:25:23 +00:00
Jonathan G Rennison
8d6e57799c Fix various possible integer type conversion issues 2023-02-15 23:05:03 +00:00
Jonathan G Rennison
7c1d2bef0e Fix string parsing in scheduled dispatch window 2023-02-15 22:53:02 +00:00
Jonathan G Rennison
cff6f9ba00 Remove incorrect nullness check 2023-02-15 22:52:35 +00:00
Jonathan G Rennison
8d1563a1ed Various integer width type changes 2023-02-15 22:02:23 +00:00
Jonathan G Rennison
fbfbaa118a Remove use of gmtime and asctime 2023-02-15 22:02:23 +00:00
Jonathan G Rennison
844322c5a8 Wallclock format: Add form which accepts a std::time_t 2023-02-15 22:02:23 +00:00
Jonathan G Rennison
fef39b5797 Use backup/restore wrappers for various _cur_dpi changes 2023-02-15 22:02:23 +00:00
Jonathan G Rennison
85889143c7 Add mode to AutoRestoreBackup to not change backed up value 2023-02-15 22:02:23 +00:00
Jonathan G Rennison
2b4b2f605d Github: Enable workflow_dispatch for codeql 2023-02-15 00:07:57 +00:00
Jonathan G Rennison
a08ce897c0
Merge pull request #484 from telk5093/jgrpp
Update: Korean translation up to 85de07d
2023-02-13 23:58:43 +00:00
Jonathan G Rennison
a4bc4a91d7 TBTR: Fix inconsistent use of override keyword 2023-02-13 23:58:03 +00:00
Jonathan G Rennison
3b9015ef7a Fix successfully mapped properties in HandleAction0PropertyDefault 2023-02-13 23:49:53 +00:00
Jonathan G Rennison
c756b8de8e GRF: Add second success indicator mechanism for feature tests and ID mappings 2023-02-13 20:05:30 +00:00
TELK
dbca0780e5 Update: Korean translation up to 85de07d 2023-02-13 21:55:22 +09:00
Jonathan G Rennison
85de07dee1 Documentation: Clarify that more_objects_per_grf must be tested for to enable it 2023-02-12 22:33:17 +00:00
Jonathan G Rennison
55146f459f Ensure that SortRailTypes sort is deterministic
Use rail type ID as tie-breaker
2023-02-12 22:18:23 +00:00
Jonathan G Rennison
64699d94c9 GRF: Only use extended bytes for object IDs if feature is tested for 2023-02-12 22:18:23 +00:00
Jonathan G Rennison
a85b3d7de7 GRF: Add generic mechanism to observe which features have been tested 2023-02-12 22:18:23 +00:00
Jonathan G Rennison
53835cef8e Documentation: Add documentation for more objects per GRF 2023-02-12 20:35:18 +00:00
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
2023-02-12 20:35:18 +00:00
Jonathan G Rennison
cfbd6406e1 Documentation: Fix NML documentation of variable nearby_tile_road_stop_id 2023-02-12 19:32:37 +00:00
Jonathan G Rennison
c592b38067 VarAction2: Combine object slope ^ foundation_change_tile_slope sequence 2023-02-12 19:32:37 +00:00
Jonathan G Rennison
76648b9dca Debug: Show name of extended variables referenced via variable 0x7B 2023-02-12 19:32:37 +00:00
Jonathan G Rennison
b539799c0a GRF: Fix c0c9c66f: ObjectMapSpriteGroup with missing object specs 2023-02-12 13:05:51 +00:00
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
2023-02-11 23:05:22 +00:00
translators
09f7f32b8d Update: Translations from eints
ukrainian: 2 changes by serg-bloim
2023-02-11 18:44:57 +00:00
Jonathan G Rennison
36722592b4 Fix scrollbars of text windows not being inited at window creation 2023-02-11 17:19:13 +00:00
Jonathan G Rennison
c0c9c66f7b GRF: Initial support for > 255 objects per GRF 2023-02-11 16:22:25 +00:00
Loïc Guilloux
a2c8168924
Fix #10465: Delay closing of network join progress window (#10466) 2023-02-11 12:32:45 +01:00
Bilongozhko, Serhii (Contractor)
35ad964c6b Feature: Ctrl+Click to reset late counter for the entire vehicle group. 2023-02-11 09:48:09 +01:00