Files
firestorm/Gameleap/code/mw4/Code/MW4GameEd/objective.cpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

34 lines
711 B
C++

#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)
{
}
}