FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
orienteditor.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Volition, Inc. 1999. All rights reserved.
3
*
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 the
6
* source.
7
*
8
*/
9
10
11
12
#include "
object/object.h
"
13
15
// orient_editor dialog
16
17
class
orient_editor
:
public
CDialog
18
{
19
// Construction
20
public
:
21
int
query_modified
();
22
void
OnCancel
();
23
void
OnOK
();
24
orient_editor
(CWnd* pParent = NULL);
// standard constructor
25
26
// Dialog Data
27
//{{AFX_DATA(orient_editor)
28
enum
{
IDD
=
IDD_ORIENT_EDITOR
};
29
CSpinButtonCtrl
m_spin6
;
30
CSpinButtonCtrl
m_spin5
;
31
CSpinButtonCtrl
m_spin4
;
32
CSpinButtonCtrl
m_spin3
;
33
CSpinButtonCtrl
m_spin2
;
34
CSpinButtonCtrl
m_spin1
;
35
int
m_object_index
;
36
BOOL
m_point_to
;
37
CString
m_position_z
;
38
CString
m_position_y
;
39
CString
m_position_x
;
40
CString
m_location_x
;
41
CString
m_location_y
;
42
CString
m_location_z
;
43
//}}AFX_DATA
44
45
// Overrides
46
// ClassWizard generated virtual function overrides
47
//{{AFX_VIRTUAL(orient_editor)
48
protected
:
49
virtual
void
DoDataExchange
(CDataExchange* pDX);
// DDX/DDV support
50
//}}AFX_VIRTUAL
51
52
// Implementation
53
protected
:
54
55
// Generated message map functions
56
//{{AFX_MSG(orient_editor)
57
virtual
BOOL
OnInitDialog
();
58
afx_msg
void
OnClose
();
59
//}}AFX_MSG
60
DECLARE_MESSAGE_MAP()
61
private:
62
float
convert(CString &str);
63
int
total;
64
int
index
[
MAX_OBJECTS
];
65
void
update_object(
object
*ptr);
66
};
orient_editor::IDD
Definition:
orienteditor.h:28
orient_editor::m_spin3
CSpinButtonCtrl m_spin3
Definition:
orienteditor.h:32
orient_editor::m_spin2
CSpinButtonCtrl m_spin2
Definition:
orienteditor.h:33
index
GLuint index
Definition:
Glext.h:5608
orient_editor::OnCancel
void OnCancel()
Definition:
orienteditor.cpp:252
orient_editor::m_spin6
CSpinButtonCtrl m_spin6
Definition:
orienteditor.h:29
MAX_OBJECTS
#define MAX_OBJECTS
Definition:
globals.h:83
orient_editor::m_point_to
BOOL m_point_to
Definition:
orienteditor.h:36
orient_editor
Definition:
orienteditor.h:17
orient_editor::m_spin5
CSpinButtonCtrl m_spin5
Definition:
orienteditor.h:30
orient_editor::m_position_z
CString m_position_z
Definition:
orienteditor.h:37
orient_editor::m_position_y
CString m_position_y
Definition:
orienteditor.h:38
IDD_ORIENT_EDITOR
#define IDD_ORIENT_EDITOR
Definition:
resource.h:55
orient_editor::m_spin1
CSpinButtonCtrl m_spin1
Definition:
orienteditor.h:34
orient_editor::OnInitDialog
virtual BOOL OnInitDialog()
Definition:
orienteditor.cpp:81
orient_editor::m_location_x
CString m_location_x
Definition:
orienteditor.h:40
orient_editor::orient_editor
orient_editor(CWnd *pParent=NULL)
Definition:
orienteditor.cpp:29
orient_editor::OnClose
afx_msg void OnClose()
Definition:
orienteditor.cpp:258
orient_editor::DoDataExchange
virtual void DoDataExchange(CDataExchange *pDX)
Definition:
orienteditor.cpp:51
BOOL
int BOOL
Definition:
config.h:80
orient_editor::m_position_x
CString m_position_x
Definition:
orienteditor.h:39
orient_editor::m_object_index
int m_object_index
Definition:
orienteditor.h:35
object.h
orient_editor::m_spin4
CSpinButtonCtrl m_spin4
Definition:
orienteditor.h:31
orient_editor::OnOK
void OnOK()
Definition:
orienteditor.cpp:167
orient_editor::m_location_y
CString m_location_y
Definition:
orienteditor.h:41
orient_editor::m_location_z
CString m_location_z
Definition:
orienteditor.h:42
orient_editor::query_modified
int query_modified()
Definition:
orienteditor.cpp:147
code
fred2
orienteditor.h
Generated on Sun May 1 2016 16:22:20 for FS2_Open by
1.8.10