X2CommunityCore / X2CommunityHighlander

MIT License
7 stars 3 forks source link

Un-private (->privatewrite) variables in XComPathingPawn #220

Closed Soldier9 closed 7 years ago

Soldier9 commented 7 years ago

Allow mods to get more information about the currently previewed movement path. I'm especially interested in the following for use in Gotcha Again: var private bool WaypointModifyMode; // toggle set by ui to show waypoint add/remove markers. doesn't change behavior, just looks var private array HazardMarkers; // all tiles with a hazard on them var private array NoiseMarkers; // all tiles with a noise marker on them var private array ConcealmentMarkers; // all tiles with a concealment marker on them

robojumper commented 7 years ago

Maybe we can make them protectedwrite rather, to allow overrides if neccessary.

Soldier9 commented 7 years ago

As long as they're anything but private I am happy, but protectedwrite is probably better since it allows for overrides.

robojumper commented 7 years ago

Duplicate of #259, resolved by LW1.3 patch.