Commit Graph

12 Commits

Author SHA1 Message Date
Jonathan G Rennison
b42beecb0d Use array unique_ptr for water regions 2024-01-10 19:19:28 +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
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
Kuhnovic
f1e999ec59 Feature: Region-based pathfinder for ships (#10543) 2024-01-08 20:29:05 +01:00