Jonathan G Rennison
02e6925c2a
Select zoom layer before doing clipping/offsets in GfxBlitter
2024-01-11 17:50:45 +00:00
Jonathan G Rennison
7dd820fe22
Crash/desync logs: Include non-default settings section
2024-01-10 23:20:47 +00:00
Jonathan G Rennison
2ec4b2a8ca
Return end of string pointer in SettingDesc formatters
2024-01-10 23:20:47 +00:00
Jonathan G Rennison
b42beecb0d
Use array unique_ptr for water regions
2024-01-10 19:19:28 +00:00
Jonathan G Rennison
316d34918f
Fix missing water region invalidations for rail with water and water objects
2024-01-10 19:01:52 +00:00
Jonathan G Rennison
1914c11459
Debug: Use zoning dropdown for debug zoning modes
...
Control visibility using misc_debug 2, instead of controlling
debug modes themselves using misc_debug
2024-01-10 18:28:43 +00:00
Jonathan G Rennison
a0475b16a0
Zoning window: Refactor string/mode mapping handling
2024-01-10 17:46:31 +00:00
Loïc Guilloux
251008663b
Fix #11748 : Incorrect clamping of negative service interval values ( #11749 )
...
(cherry picked from commit f7bd70baec
)
2024-01-10 17:44:51 +00:00
Jonathan G Rennison
de91c56ed5
Debug: Add chicken bits for water region invalidation/init
2024-01-10 17:41:09 +00:00
Jonathan G Rennison
b45b8e77f3
Add cache checking of water regions
2024-01-10 17:40:51 +00:00
Jonathan G Rennison
39a0e29f90
Move patch label array out of WaterRegion
...
Use unique_ptr, with no storage for trivial cases
2024-01-10 01:47:24 +00:00
Jonathan G Rennison
fdb7d7b930
Move x, y, out of WaterRegion, use a reference wrapper type class
2024-01-10 01:27:16 +00:00
Jonathan G Rennison
985bd99c44
Debug: Add debug zoning overlays for water regions
2024-01-10 01:14:15 +00:00
Jonathan G Rennison
936d636cdd
No longer save/load water region invalidation states
...
Move InitializeWaterRegions to AllocateMap
No longer ForceUpdate in InitializeWaterRegions
2024-01-10 00:51:44 +00:00
Jonathan G Rennison
9206fa1fce
Use shift/mask to get water region ID
2024-01-09 23:31:50 +00:00
Jonathan G Rennison
5dd67651a3
Replace tile area in WaterRegion with x, y
...
Use non-virtual tile iterator
2024-01-09 22:48:04 +00:00
Jonathan G Rennison
c2e1dfcfc1
Adjust various water region types
2024-01-09 20:55:27 +00:00
Jonathan G Rennison
45205a4284
Clear ship path cache when performing collision avoidance
2024-01-09 19:57:30 +00:00
Jonathan G Rennison
ced7bc54b7
Debug: Show ship path cache in debug window
2024-01-09 18:56:30 +00:00
Jonathan G Rennison
914b92b21f
Merge branch 'master' into jgrpp
...
Bump savegame for water regions for ship pathfinder
Use ring_buffer for ShipPathCache
2024-01-09 18:36:47 +00:00
Jonathan G Rennison
14db9b2854
Fix loading of pre-selected AIs from config file
2024-01-09 17:48:44 +00:00
Jonathan G Rennison
6492cec113
Merge branch 'master' into jgrpp
2024-01-09 17:33:32 +00:00
Jonathan G Rennison
6eaa3cf7f8
Removing road from combined road/tram tile should clear one way state
2024-01-09 08:59:44 +00:00
Jonathan G Rennison
36776248b9
Do not get one way states when building road stops on tram-only tiles
2024-01-09 08:48:26 +00:00
Jonathan G Rennison
a90cbd837e
Do not try to display one way markings for tram-only road stops
2024-01-09 08:47:51 +00:00
Jonathan G Rennison
c488dae9c8
Fix strings for amount of rivers setting in settings window
2024-01-09 08:42:02 +00:00
Loïc Guilloux
c86d918921
Add: [Script] Optional filter parameter to more ScriptXXXList constructors ( #11698 )
2024-01-09 09:39:13 +01:00
Jonathan G Rennison
e0361791fd
Used curved instead of square circular area for mapgen water desert removal
2024-01-09 08:35:07 +00:00
Jonathan G Rennison
69f7c3e63b
Add function to iterate (curved) circular tile area
2024-01-09 08:35:06 +00:00
Jonathan G Rennison
16b840d86e
Increase DateTicks to 64 bits, fix overflow after year 79455
2024-01-09 00:13:28 +00:00
Jonathan G Rennison
bd35b0c47c
Debug: Log more info in GfxBlitter sprite dimension assert failures
2024-01-08 22:22:11 +00:00
Jonathan G Rennison
5e2ac22ef5
Assert: Add more assert macros for using a simple string as the extra text
2024-01-08 22:22:11 +00:00
Kuhnovic
f1e999ec59
Feature: Region-based pathfinder for ships ( #10543 )
2024-01-08 20:29:05 +01:00
translators
9a7c4dda52
Update: Translations from eints
...
english (au): 3 changes by krysclarke
english (us): 3 changes by 2TallTyler
chinese (simplified): 5 changes by WenSimEHRP
korean: 3 changes by telk5093
russian: 3 changes by Ln-Wolf
finnish: 3 changes by hpiirai
french: 5 changes by Lishouuu
2024-01-08 18:40:07 +00:00
Tyler Trahan
56dd8497e0
Fix: Use consistent wording on waypoint button tooltip ( #11700 )
2024-01-07 21:11:25 +00:00
Kaspars Putniņš
cfc14a57e1
Add: Latvian Lats currency ( #11691 )
2024-01-07 16:03:38 -05:00
Jonathan G Rennison
4b48d3b5fe
Fix: String gender scan with SCC_INDUSTRY_NAME ( #11697 )
2024-01-07 15:48:47 -05:00
Tyler Trahan
948651d086
Fix: Use consistent wording for lorry stations ( #11699 )
2024-01-07 15:45:35 -05:00
Jonathan G Rennison
61db988a4a
Fix time since pickup values in station rating tooltips with day length
...
See: #625
2024-01-07 20:16:26 +00:00
translators
6bf7a86a04
Update: Translations from eints
...
english (us): 2 changes by 2TallTyler
korean: 2 changes by telk5093
danish: 2 changes by bscargo
2024-01-07 18:38:14 +00:00
Rubidium
6fa02955cd
Cleanup: remove typedefs for non _t (u)int types and WChar
...
(cherry picked from commit 461b4b8861
)
2024-01-07 17:20:41 +00:00
Jonathan G Rennison
97e6f3062e
Adding of _t to (u)int types, and WChar to char32_t
...
See: eaae0bb5e
2024-01-07 17:20:41 +00:00
Jonathan G Rennison
55d78a23be
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/3rdparty/squirrel/include/squirrel.h
# src/blitter/32bpp_sse_func.hpp
# src/bridge_map.h
# src/clear_map.h
# src/company_manager_face.h
# src/console_func.h
# src/core/bitmath_func.hpp
# src/core/endian_func.hpp
# src/core/random_func.hpp
# src/depot_map.h
# src/elrail_func.h
# src/fontcache.h
# src/industry_map.h
# src/map_func.h
# src/newgrf_spritegroup.h
# src/object_map.h
# src/rail.h
# src/rail_map.h
# src/road_func.h
# src/road_map.h
# src/saveload/saveload.h
# src/saveload/saveload_error.hpp
# src/settings_gui.cpp
# src/sl/oldloader.h
# src/sprite.h
# src/spritecache.h
# src/station_func.h
# src/station_map.h
# src/story_base.h
# src/strings_func.h
# src/tile_cmd.h
# src/tile_map.h
# src/tile_type.h
# src/town.h
# src/town_map.h
# src/tree_map.h
# src/tunnel_map.h
# src/tunnelbridge_map.h
# src/vehicle_func.h
# src/viewport_func.h
# src/void_map.h
# src/water.h
# src/water_map.h
# src/widget_type.h
2024-01-07 15:00:16 +00:00
Tyler Trahan
1e56bd1e5a
Change: Reorganize Settings menu items ( #11683 )
2024-01-07 08:44:50 -05:00
Jonathan G Rennison
8271813a47
Timetable window: Use checked items for extra/leave early dropdown
2024-01-06 19:22:09 +00:00
Jonathan G Rennison
592c038e42
Add setting for whether to show rail polyline tool
2024-01-06 19:10:43 +00:00
translators
0a8c0d62ee
Update: Translations from eints
...
chinese (simplified): 103 changes by WenSimEHRP
latvian: 2 changes by lexuslatvia
2024-01-06 18:39:19 +00:00
Jonathan G Rennison
f24388c0b2
Fix string gender scan with SCC_INDUSTRY_NAME
2024-01-06 17:57:44 +00:00
Jonathan G Rennison
dcd71f5ab8
Strings: Exit early when scanning for gender data
2024-01-06 17:54:42 +00:00
Jonathan G Rennison
1100e83192
Date/time: Ensure clock-face conversions correct for negative TickMinutes
2024-01-06 17:37:09 +00:00