#include "stdafx.h"
#include "MW4GameEd.h"
#include "EditorChildWnd.h"
#include <direct.h>
#include <stdlib.h>
#include <stdio.h>
#include "MoveCommand.h"
#include "AddCommand.h"
#include "InstanceWindow.h"
#include "DeleteCommand.h"
#include <Adept\NameTable.hpp>
#include <mw4\objective.hpp>
#include "objectivedlg.h"
#include "EditorWayPoint.h"

void EditObjective (Entity *entity)
{
	Objective *obj;
	EditorObjectiveMarker *marker;

	Check_Object (entity);
	Verify (entity->IsDerivedFrom (EditorObjectiveMarker::DefaultData));
	marker = Cast_Object (EditorObjectiveMarker *,entity);
	obj = marker->objective;

	ObjectiveDLG dlg (obj);

	if (dlg.DoModal() == IDOK)
	{

	}

}
