123
This commit is contained in:
67
Editor/AIDialog.h
Normal file
67
Editor/AIDialog.h
Normal file
@@ -0,0 +1,67 @@
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Crytek Engine Source File.
|
||||
// Copyright (C), Crytek Studios, 2001.
|
||||
// -------------------------------------------------------------------------
|
||||
// File name: aidialog.h
|
||||
// Version: v1.00
|
||||
// Created: 21/3/2002 by Timur.
|
||||
// Compilers: Visual C++ 7.0
|
||||
// Description:
|
||||
// -------------------------------------------------------------------------
|
||||
// History:
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __aidialog_h__
|
||||
#define __aidialog_h__
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
// CAIDialog dialog
|
||||
|
||||
class CAIDialog : public CDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CAIDialog)
|
||||
|
||||
public:
|
||||
CAIDialog(CWnd* pParent = NULL); // standard constructor
|
||||
virtual ~CAIDialog();
|
||||
|
||||
// Dialog Data
|
||||
enum { IDD = IDD_AICONFIG };
|
||||
|
||||
void SetAIBehavior( const CString &behavior );
|
||||
CString GetAIBehavior() { return m_aiBehavior; };
|
||||
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
protected:
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnDestroy();
|
||||
|
||||
void ReloadBehaviors();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// FIELDS
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
CListBox m_behaviors;
|
||||
|
||||
CString m_aiBehavior;
|
||||
|
||||
|
||||
CCustomButton m_editBtn;
|
||||
CCustomButton m_reloadBtn;
|
||||
|
||||
CEdit m_description;
|
||||
afx_msg void OnBnClickedEdit();
|
||||
afx_msg void OnBnClickedReload();
|
||||
afx_msg void OnLbnSelchangeBehavior();
|
||||
};
|
||||
|
||||
#endif // __aidialog_h__
|
||||
Reference in New Issue
Block a user