2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/FRED2/OrientEditor.h $
15 * Object orientation editor (or just object editor) dialog box handling code
18 * Revision 1.2 2002/06/09 04:41:14 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 6:28p Dave
26 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
27 * Fred. Globalized mission and campaign file extensions. Removed Silent
28 * Threat specific code.
30 * 1 10/07/98 3:01p Dave
32 * 1 10/07/98 3:00p Dave
34 * 8 5/20/97 2:28p Hoffoss
35 * Added message box queries for close window operation on all modal
38 * 7 4/17/97 2:01p Hoffoss
39 * All dialog box window states are saved between sessions now.
41 * 6 3/12/97 4:33p Hoffoss
42 * added spin controls to orient editor, light intensity level can be
43 * specified in BG editor.
45 * 5 2/21/97 5:34p Hoffoss
46 * Added extensive modification detection and fixed a bug in initial
49 * 4 2/17/97 5:28p Hoffoss
50 * Checked RCS headers, added them were missing, changing description to
51 * something better, etc where needed.
58 /////////////////////////////////////////////////////////////////////////////
59 // orient_editor dialog
61 class orient_editor : public CDialog
68 orient_editor(CWnd* pParent = NULL); // standard constructor
71 //{{AFX_DATA(orient_editor)
72 enum { IDD = IDD_ORIENT_EDITOR };
73 CSpinButtonCtrl m_spin6;
74 CSpinButtonCtrl m_spin5;
75 CSpinButtonCtrl m_spin4;
76 CSpinButtonCtrl m_spin3;
77 CSpinButtonCtrl m_spin2;
78 CSpinButtonCtrl m_spin1;
90 // ClassWizard generated virtual function overrides
91 //{{AFX_VIRTUAL(orient_editor)
93 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
99 // Generated message map functions
100 //{{AFX_MSG(orient_editor)
101 virtual BOOL OnInitDialog();
102 afx_msg void OnClose();
104 DECLARE_MESSAGE_MAP()
106 float convert(CString &str);
108 int index[MAX_OBJECTS];
109 void update_object(object *ptr);