#pragma once

#pragma warning (push)
#include <vector>
#pragma warning (pop)

#include "moverai.hpp"

namespace MW4AI
{
	const int FORMTYPE_SPARSE = 1;
	const int FORMTYPE_NORMAL = 2;
	const int FORMTYPE_DENSE = 3;

	extern stlport::vector<stlport::vector<Point3D> > *g_Formations;
	void InitFormation (void);
	void ClearFormation (void);
	bool ValidFormation (int id);

	bool Form_Move (stlport::vector<MoverAI *>& GroupList,int PathID,int speed,int type,int form,int sparse,bool clear);
	void Form_On_Spot (stlport::vector<MoverAI *>& GroupList,long* loc,long* dir,int speed,int form,int sparse,bool clear);
};