//=============================================================================
// The navigation point serializer
// Native branch class only
// Loads the defined array of NavPoint structs and proceeds to creating
// the new Navigation Points as well as starting the link processing
//
// For testing purposes, do not modify or redistribute
// Have suggestions? Contact me.
// caco_fff@hotmail.com - Higor at UT99.org
//=============================================================================
class Botz_PathLoader expands Actor;

struct NavPoint
{
	var() byte PathClass;
	var() vector PLoc;
	var() rotator PRot;
	var() float MaxDist;
	var() byte OtherFlags; //byte 0 is OneWayIncoming, byte 1 is OneWayOutgoing
};

var NavPoint CurNav;
var const array<NavPoint> NavArray;
var MasterGasterFer MasterG;

function SaveNodes( pawn Sender);
function LoadNodes();
function bool PathToNav( Botz_NavigBase Cur);
function PathFromNav();

//GNatives
final function ClearArray();
final function AddCurToArray();
final function bool ArrayToCur( int index);
final function bool SaveArray( string FileName);
final function bool ReadArray( string FileName);


defaultproperties
{
	bHidden=True
}