Commit Graph

23 Commits (jgrpp)

Author SHA1 Message Date
Jonathan G Rennison 18a42664fc Merge branch 'master' into jgrpp
Remove 'byte' typedef
4 weeks ago
Patric Stout a3cfd23cf9
Codechange: rename byte to uint8_t (#12308) 3 months ago
Koen Bussemaker 69af0e8f26 Codechange: Skip non-water water region patches in neigbor search
(cherry picked from commit 8a1cea2ab6)
3 months ago
Jonathan G Rennison 8581808952 Merge tag '14.0-beta2' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	src/cargotype.cpp
#	src/console_cmds.cpp
#	src/graph_gui.cpp
#	src/industry_cmd.cpp
#	src/industrytype.h
#	src/misc_gui.cpp
#	src/network/network_client.cpp
#	src/newgrf.cpp
#	src/newgrf_town.cpp
#	src/object_cmd.cpp
#	src/openttd.cpp
#	src/pathfinder/water_regions.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/table/build_industry.h
#	src/table/engines.h
#	src/vehicle.cpp
#	src/vehicle_cmd.cpp
#	src/vehicle_gui.cpp
4 months ago
Koen Bussemaker 8a1cea2ab6 Codechange: Skip non-water water region patches in neigbor search 4 months ago
Koen Bussemaker 35c89d57f8 Codechange: Added debug printing for Water Regions 4 months ago
Koen Bussemaker 4b94457bf1 Fix #11802: Made determining water region edge traversability more robust 4 months ago
Kuhnovic a7c2f489f6 Fix #5713: FindClosestShipDepot only considers depots that are actually reachable (#11768)
(cherry picked from commit 8a4a99b7e8)
4 months ago
Kuhnovic 8a4a99b7e8
Fix #5713: FindClosestShipDepot only considers depots that are actually reachable (#11768) 4 months ago
Kuhnovic b38d3c2208
Change: simplified water region evaluation, removed savegame data (#11750) 4 months ago
Jonathan G Rennison b42beecb0d Use array unique_ptr for water regions 5 months ago
Jonathan G Rennison de91c56ed5 Debug: Add chicken bits for water region invalidation/init 5 months ago
Jonathan G Rennison b45b8e77f3 Add cache checking of water regions 5 months ago
Jonathan G Rennison 39a0e29f90 Move patch label array out of WaterRegion
Use unique_ptr, with no storage for trivial cases
5 months ago
Jonathan G Rennison fdb7d7b930 Move x, y, out of WaterRegion, use a reference wrapper type class 5 months ago
Jonathan G Rennison 985bd99c44 Debug: Add debug zoning overlays for water regions 5 months ago
Jonathan G Rennison 936d636cdd No longer save/load water region invalidation states
Move InitializeWaterRegions to AllocateMap
No longer ForceUpdate in InitializeWaterRegions
5 months ago
Jonathan G Rennison 86b046cd26
Fix: Incorrect assertion in GetTileIndexFromLocalCoordinate (#11747) 5 months ago
Jonathan G Rennison 9206fa1fce Use shift/mask to get water region ID 5 months ago
Jonathan G Rennison 5dd67651a3 Replace tile area in WaterRegion with x, y
Use non-virtual tile iterator
5 months ago
Jonathan G Rennison c2e1dfcfc1 Adjust various water region types 5 months ago
Jonathan G Rennison 914b92b21f Merge branch 'master' into jgrpp
Bump savegame for water regions for ship pathfinder
Use ring_buffer for ShipPathCache
5 months ago
Kuhnovic f1e999ec59
Feature: Region-based pathfinder for ships (#10543) 5 months ago