Loïc Guilloux
f7bd70baec
Fix #11748 : Incorrect clamping of negative service interval values ( #11749 )
9 months ago
Jonathan G Rennison
39a0e29f90
Move patch label array out of WaterRegion
...
Use unique_ptr, with no storage for trivial cases
9 months ago
Jonathan G Rennison
fdb7d7b930
Move x, y, out of WaterRegion, use a reference wrapper type class
9 months ago
Jonathan G Rennison
985bd99c44
Debug: Add debug zoning overlays for water regions
9 months ago
Jonathan G Rennison
936d636cdd
No longer save/load water region invalidation states
...
Move InitializeWaterRegions to AllocateMap
No longer ForceUpdate in InitializeWaterRegions
9 months ago
Jonathan G Rennison
86b046cd26
Fix: Incorrect assertion in GetTileIndexFromLocalCoordinate ( #11747 )
9 months ago
Jonathan G Rennison
9206fa1fce
Use shift/mask to get water region ID
9 months ago
Jonathan G Rennison
5dd67651a3
Replace tile area in WaterRegion with x, y
...
Use non-virtual tile iterator
9 months ago
Peter Nelson
8f2266f0ed
Codechange: Use range-for when validating and finalising industries. ( #11744 )
9 months ago
Jonathan G Rennison
c2e1dfcfc1
Adjust various water region types
9 months ago
Jonathan G Rennison
09eefd6e95
Cleanup: Remove unused constant YAPF_SHIP_PATH_CACHE_LENGTH
9 months ago
Jonathan G Rennison
c1b421c0c3
Fix: Clear one way state when removing road from road+tram tile
9 months ago
Jonathan G Rennison
45205a4284
Clear ship path cache when performing collision avoidance
9 months ago
Jonathan G Rennison
ced7bc54b7
Debug: Show ship path cache in debug window
9 months ago
Peter Nelson
97e2bc612c
Codechange: Rename and move SpriteGroup-specific cargo types into a namespace.
...
These 'cargo types' have special defined uses and must not be used elsewhere. This makes it clearer that they are special.
9 months ago
Peter Nelson
400ae65ff2
Codechange: Redefine some cargo-related values in terms of CargoID instead of CargoType.
...
Values used as special filter types are now defined as offsets from NUM_CARGO instead of confusingly reusing CARGO_NO_REFIT/CARGO_AUTO_REFIT types.
9 months ago
Peter Nelson
952d111b94
Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO.
...
INVALID_CARGO is a CargoID and should be used for most purposes in game.
CT_INVALID is a CargoType used for defining default properties.
9 months ago
translators
4fd986bd07
Update: Translations from eints
...
english (au): 7 changes by krysclarke
english (us): 7 changes by 2TallTyler
chinese (simplified): 6 changes by WenSimEHRP
serbian: 39 changes by DoLoop216
russian: 3 changes by Ln-Wolf
finnish: 4 changes by hpiirai
portuguese: 10 changes by azulcosta
polish: 34 changes by pAter-exe
9 months ago
Jonathan G Rennison
914b92b21f
Merge branch 'master' into jgrpp
...
Bump savegame for water regions for ship pathfinder
Use ring_buffer for ShipPathCache
9 months ago
Jonathan G Rennison
14db9b2854
Fix loading of pre-selected AIs from config file
9 months ago
Jonathan G Rennison
6492cec113
Merge branch 'master' into jgrpp
9 months ago
Jonathan G Rennison
6eaa3cf7f8
Removing road from combined road/tram tile should clear one way state
9 months ago
Jonathan G Rennison
36776248b9
Do not get one way states when building road stops on tram-only tiles
9 months ago
Jonathan G Rennison
a90cbd837e
Do not try to display one way markings for tram-only road stops
9 months ago
Jonathan G Rennison
c488dae9c8
Fix strings for amount of rivers setting in settings window
9 months ago
Loïc Guilloux
c86d918921
Add: [Script] Optional filter parameter to more ScriptXXXList constructors ( #11698 )
9 months ago
Jonathan G Rennison
e0361791fd
Used curved instead of square circular area for mapgen water desert removal
9 months ago
Jonathan G Rennison
69f7c3e63b
Add function to iterate (curved) circular tile area
9 months ago
Jonathan G Rennison
16b840d86e
Increase DateTicks to 64 bits, fix overflow after year 79455
9 months ago
Jonathan G Rennison
bd35b0c47c
Debug: Log more info in GfxBlitter sprite dimension assert failures
9 months ago
Jonathan G Rennison
5e2ac22ef5
Assert: Add more assert macros for using a simple string as the extra text
9 months ago
Kuhnovic
f1e999ec59
Feature: Region-based pathfinder for ships ( #10543 )
9 months ago
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
9 months ago
Tyler Trahan
56dd8497e0
Fix: Use consistent wording on waypoint button tooltip ( #11700 )
9 months ago
Kaspars Putniņš
cfc14a57e1
Add: Latvian Lats currency ( #11691 )
9 months ago
Jonathan G Rennison
4b48d3b5fe
Fix: String gender scan with SCC_INDUSTRY_NAME ( #11697 )
9 months ago
Tyler Trahan
948651d086
Fix: Use consistent wording for lorry stations ( #11699 )
9 months ago
Jonathan G Rennison
61db988a4a
Fix time since pickup values in station rating tooltips with day length
...
See: #625
9 months ago
translators
6bf7a86a04
Update: Translations from eints
...
english (us): 2 changes by 2TallTyler
korean: 2 changes by telk5093
danish: 2 changes by bscargo
9 months ago
Rubidium
6fa02955cd
Cleanup: remove typedefs for non _t (u)int types and WChar
...
(cherry picked from commit 461b4b8861
)
9 months ago
Jonathan G Rennison
97e6f3062e
Adding of _t to (u)int types, and WChar to char32_t
...
See: eaae0bb5e
9 months ago
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
9 months ago
Tyler Trahan
1e56bd1e5a
Change: Reorganize Settings menu items ( #11683 )
9 months ago
Jonathan G Rennison
8271813a47
Timetable window: Use checked items for extra/leave early dropdown
9 months ago
Jonathan G Rennison
592c038e42
Add setting for whether to show rail polyline tool
9 months ago
translators
0a8c0d62ee
Update: Translations from eints
...
chinese (simplified): 103 changes by WenSimEHRP
latvian: 2 changes by lexuslatvia
9 months ago
Jonathan G Rennison
f24388c0b2
Fix string gender scan with SCC_INDUSTRY_NAME
9 months ago
Jonathan G Rennison
dcd71f5ab8
Strings: Exit early when scanning for gender data
9 months ago
Jonathan G Rennison
1100e83192
Date/time: Ensure clock-face conversions correct for negative TickMinutes
9 months ago
Jonathan G Rennison
9718c51ef4
Survey: Add clang and zstd
9 months ago