Debian Codegraph @

editor/AISettingsDlg.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #if !defined(AFX_AISETTINGSDLG_H__E93B3161_0DB4_11D1_86CC_004033312F7C__INCLUDED_)
20 #define AFX_AISETTINGSDLG_H__E93B3161_0DB4_11D1_86CC_004033312F7C__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // AISettingsDlg.h : header file
26 //
27
28 #include "objinfo.h"
29
30 /////////////////////////////////////////////////////////////////////////////
31 // CAISettingsDlg dialog
32
33 class CAISettingsDlg : public CDialog {
34 // Construction
35 public:
36 CAISettingsDlg(t_ai_info *ai_info, CWnd *pParent = NULL); // standard constructor
37
38 // Dialog Data
39 //{{AFX_DATA(CAISettingsDlg)
40 enum { IDD = IDD_AI };
41 CSliderCtrl m_bfhi_slider;
42 CSliderCtrl m_tlv_slider;
43 CSliderCtrl m_tla_slider;
44 CSliderCtrl m_roaming_slider;
45 CSliderCtrl m_nv_slider;
46 CSliderCtrl m_lp_slider;
47 CSliderCtrl m_hearing_slider;
48 CSliderCtrl m_fv_slider;
49 CSliderCtrl m_frustration_slider;
50 CSliderCtrl m_fight_team_slider;
51 CSliderCtrl m_fight_same_slider;
52 CSliderCtrl m_curiousity_slider;
53 CSliderCtrl m_agression_slider;
54 CSliderCtrl m_fire_spread_slider;
55 BOOL m_fire_weapon1;
56 BOOL m_fire_weapon2;
57 BOOL m_melee1;
58 BOOL m_melee2;
59 BOOL m_stay_inout;
60 CString m_ai_class;
61 float m_ai_flock_alignment;
62 float m_ai_flock_cohesion;
63 BOOL m_ai_flock_member_check;
64 float m_ai_flock_seperation;
65 float m_ai_fov;
66 CString m_initial_action;
67 BOOL m_ai_uses_thrust_check;
68 CString m_ai_type;
69 CString m_ai_movement_type;
70 CString m_ai_movement_subtype;
71 float m_ai_max_velocity;
72 float m_ai_max_vel_time;
73 float m_ai_max_turn_rate;
74 BOOL m_dodge_check;
75 BOOL m_fireattarget_check;
76 BOOL m_flinch_check;
77 BOOL m_notify_hitbyweapon_check;
78 BOOL m_notify_nearwall_check;
79 BOOL m_notify_objectfired_check;
80 BOOL m_notify_seeplayer_check;
81 BOOL m_notify_weaponhittarget_check;
82 BOOL m_retarget_check;
83 BOOL m_turretcontrol_check;
84 BOOL m_tauntatdeath_check;
85 BOOL m_avoidwalls_check;
86 BOOL m_notify_hears_noise;
87 BOOL m_persistant_check;
88 BOOL m_fluctuate_speed_properties_check;
89 float m_ai_max_turn_rate_time;
90 CString m_angry_sound_combo;
91 CString m_attack_sound_combo;
92 float m_circle_distance;
93 float m_attack_vel_percent;
94 float m_dogde_percent;
95 float m_dodge_vel_percent;
96 CString m_flee_sound_combo;
97 float m_flee_vel_percent;
98 float m_melee1_latency;
99 float m_melee1_distance;
100 float m_melee2_distance;
101 float m_melee2_latency;
102 CString m_see_sound_combo;
103 BOOL m_ordered_wb_firing_check;
104 BOOL m_orient_to_vel;
105 BOOL m_xz_dist;
106 BOOL m_target_by_dist_check;
107 CString m_turret_sound_combo;
108 BOOL m_avoid_friends_check;
109 float m_avoid_friends_dist;
110 float m_bfhmax;
111 float m_bfhmin;
112 BOOL m_bfh_check;
113 BOOL m_fov_uvec;
114 BOOL m_fov_aim;
115 //}}AFX_DATA
116
117 // Overrides
118 // ClassWizard generated virtual function overrides
119 //{{AFX_VIRTUAL(CAISettingsDlg)
120 protected:
121 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
122 //}}AFX_VIRTUAL
123
124 // Implementation
125 protected:
126 // The data we're editing
127 t_ai_info *m_ai_info;
128
129 // Generated message map functions
130 //{{AFX_MSG(CAISettingsDlg)
131 virtual BOOL OnInitDialog();
132 afx_msg void OnSelchangeAiMovementTypeCombo();
133 virtual void OnOK();
134 //}}AFX_MSG
135 DECLARE_MESSAGE_MAP()
136 };
137
138 #include "objinfo.h"
139
140 // Copy data from ai_info struct to CAISettingsDlg class
141 void CopyAIData(CAISettingsDlg *dlg, ai_frame *ai_info);
142
143 // Copy data from CAISettingsDlg class to ai_info struct
144 void CopyAIData(ai_frame *ai_info, CAISettingsDlg *dlg);
145
146 //{{AFX_INSERT_LOCATION}}
147 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
148
149 #endif // !defined(AFX_AISETTINGSDLG_H__E93B3161_0DB4_11D1_86CC_004033312F7C__INCLUDED_)