Added TODOs for foundation of checked water cells
Fix description style issues
This commit is contained in:
@@ -281,6 +281,7 @@ namespace OpenRA.Mods.Common.AI
|
|||||||
foreach (var b in baseProviders)
|
foreach (var b in baseProviders)
|
||||||
{
|
{
|
||||||
// TODO: Unhardcode terrain type
|
// TODO: Unhardcode terrain type
|
||||||
|
// TODO2: Properly check building foundation rather than 3x3 area
|
||||||
var playerWorld = Player.World;
|
var playerWorld = Player.World;
|
||||||
var countWaterCells = Map.FindTilesInCircle(b.Location, Info.MaxBaseRadius)
|
var countWaterCells = Map.FindTilesInCircle(b.Location, Info.MaxBaseRadius)
|
||||||
.Where(c => playerWorld.Map.Contains(c)
|
.Where(c => playerWorld.Map.Contains(c)
|
||||||
@@ -307,6 +308,7 @@ namespace OpenRA.Mods.Common.AI
|
|||||||
foreach (var a in areaProviders)
|
foreach (var a in areaProviders)
|
||||||
{
|
{
|
||||||
// TODO: Unhardcode terrain type
|
// TODO: Unhardcode terrain type
|
||||||
|
// TODO2: Properly check building foundation rather than 3x3 area
|
||||||
var playerWorld = Player.World;
|
var playerWorld = Player.World;
|
||||||
var adjacentWater = Map.FindTilesInCircle(a.Location, Info.CheckForWaterRadius)
|
var adjacentWater = Map.FindTilesInCircle(a.Location, Info.CheckForWaterRadius)
|
||||||
.Where(c => playerWorld.Map.Contains(c)
|
.Where(c => playerWorld.Map.Contains(c)
|
||||||
|
|||||||
Reference in New Issue
Block a user