14 static char THIS_FILE[] = __FILE__;
37 CDialog::DoDataExchange(pDX);
64 ((CButton *) GetDlgItem(IDC_PLAY)) -> SetBitmap(m_play_bm);
68 CComboBox *box = (CComboBox *) GetDlgItem(IDC_SOUND_ENVIRONMENT);
83 m_environment = m_env->
id + 1;
87 m_decay_time = m_env->
decay;
101 CDialog::OnInitDialog();
189 return CDialog::DestroyWindow();
224 if (m_wave_id >= 0) {
235 CFileDialog dlg(
TRUE,
"wav",
m_wave_filename, OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_NOCHANGEDIR,
236 "Voice Files (*.ogg, *.wav)|*.ogg;*.wav|Ogg Vorbis Files (*.ogg)|*.ogg|Wave Files (*.wav)|*.wav||");
238 if (dlg.DoModal() == IDOK) {
int sound_env_set(sound_env *se)
SoundEnvironment(CWnd *pParent=NULL)
#define IDC_SOUND_ENVIRONMENT_DAMPING
int sound_env_supported()
virtual void DoDataExchange(CDataExchange *pDX)
#define IDC_SOUND_ENVIRONMENT_DECAY
#define IDC_SOUND_ENVIRONMENT
afx_msg void OnBrowseWave()
sound_env sound_environment
int cfile_push_chdir(int type)
Push current directory onto a 'stack' and change to a new directory.
virtual BOOL DestroyWindow()
#define IDC_SOUND_ENVIRONMENT_VOLUME
GLuint const GLchar * name
void audiostream_close_file(int i, int fade)
#define MB_ICONEXCLAMATION
afx_msg void OnSelChangeSoundEnvironment()
SCP_vector< EFXREVERBPROPERTIES > EFX_presets
int MessageBox(HWND h, const char *s1, const char *s2, int i)
void audiostream_play(int i, float volume, int looping)
int audiostream_open(const char *filename, int type)