Commit Graph

54347 Commits

Author SHA1 Message Date
Jonathan G Rennison
2d1b3fb6e7 Public roads: Remove visited towns mechanism
It is excessively expensive, and not needed
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
5641c926bf Public roads: Use robin_hood hash maps for checked towns and town to network 2023-02-26 13:31:39 +00:00
Jonathan G Rennison
72237f01cc Add robin_hood hash set/map containers to 3rdparty 2023-02-26 13:31:39 +00:00
Jonathan G Rennison
83b9344f5c Add a POD pool-type container class 2023-02-26 13:31:39 +00:00
Jonathan G Rennison
b56d7267dc Public roads: Remove unnecessary sorting operations 2023-02-25 22:14:22 +00:00
Jonathan G Rennison
3967a9fdb0 Public roads: Reuse AyStar finder instance 2023-02-25 22:14:22 +00:00
Jonathan G Rennison
06ffc0ba70 Public roads: Avoid dangling pointer issues in AyStar user target 2023-02-25 22:14:22 +00:00
Jonathan G Rennison
f8130f5cb7 Public roads: Remove use of shared_ptr 2023-02-25 22:14:22 +00:00
Jonathan G Rennison
84914129a5 Fix wrong string order for about menu dropdown texts 2023-02-25 22:14:22 +00:00
Jonathan G Rennison
3d7f9ea50e TBTR: Fix template build window not being refreshed after wagon flip in MP 2023-02-25 17:14:19 +00:00
Jonathan G Rennison
e0a42b5945 Debug: Add dumping of rail and road/tram sprite groups 2023-02-25 16:16:49 +00:00
Jonathan G Rennison
86aeb16f55 Fix wrong string ordering for town growth setting 2023-02-24 16:42:38 +00:00
Jonathan G Rennison
e5a7eca26d Version: Committing version data for tag: jgrpp-0.51.0 2023-02-24 11:03:28 +00:00
Jonathan G Rennison
b1ba2bef4b VarAction2: Use const for prev_inference flags 2023-02-22 19:32:42 +00:00
Jonathan G Rennison
439c1208d7 VarAction2: Optimise unknown reads from 0x11 as constant 0 2023-02-22 19:32:26 +00:00
Jonathan G Rennison
6285b5823b 3rdparty: Update monocypher from 3.1.2 to 3.1.3 2023-02-21 22:36:50 +00:00
Jonathan G Rennison
e644f34bf8 Github: Change CMake type to Release for MacOS release builds 2023-02-21 00:47:32 +00:00
Jonathan G Rennison
2a330961d4 Github: Change CMake options for Linux release builds
Change CMake type to Release
Enable LTO and debug section compression
2023-02-20 23:42:55 +00:00
Jonathan G Rennison
97acdfaa05 Crashlog: Unix: Use dladdr1 for symbol offset for addr2line
Subtract 1 from offset given to addr2line
2023-02-20 23:42:55 +00:00
Jonathan G Rennison
86979dd167 CMake: Add option to enable LTO 2023-02-20 21:11:55 +00:00
Jonathan G Rennison
c1532107fc CMake: Add option to compress debug sections using -gz if possible 2023-02-20 21:11:55 +00:00
Jonathan G Rennison
5efe3a8b5b CMake: Also add -g1/-gline-tables-only to linker options 2023-02-20 21:11:55 +00:00
PeterN
968709735d Fix #10477: Not enough space for text due to rounding down (OSX) (#10489)
(cherry picked from commit 2376112c77)
2023-02-20 17:32:31 +00:00
Loïc Guilloux
8b36b2cbf3 Fix #10486: [Script] Debug window requires AIs to be started before GS (#10487)
(cherry picked from commit 4072dcff49)
2023-02-20 17:32:19 +00:00
Loïc Guilloux
ad6cd18cb4 Fix: [Actions] vcpkg needs pkg-config to build zlib on macOS (#10488)
(cherry picked from commit 27cbb81df5)
2023-02-20 17:31:17 +00:00
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