Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
74 lines
2.0 KiB
C++
74 lines
2.0 KiB
C++
#if !defined(AFX_PAGESOUNDCONTAINER_H__095FB177_DB07_4759_949E_944DE3CC446E__INCLUDED_)
|
|
#define AFX_PAGESOUNDCONTAINER_H__095FB177_DB07_4759_949E_944DE3CC446E__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PageSoundContainer.h : header file
|
|
//
|
|
#include "DlgSoundLoad.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPageSoundContainer dialog
|
|
|
|
struct SSoundAsset;
|
|
class CSectorSoundMap;
|
|
|
|
class CPageSoundContainer : public CPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CPageSoundContainer)
|
|
// Construction
|
|
protected:
|
|
int m_SelectCur;
|
|
|
|
void SelectSoundObject();
|
|
void SoundAdd( SSoundAsset & );
|
|
void InsertSoundAsset( int, SSoundAsset & );
|
|
void SetSoundAsset( int, SSoundAsset & );
|
|
void UpdateList();
|
|
public:
|
|
void AddSound( vector3 &, long ObjSceneID );
|
|
void Load( const char * );
|
|
void Save( const char * );
|
|
void UpdateAmbiences( bool bClear = false );
|
|
void ClearAll();
|
|
|
|
CPageSoundContainer();
|
|
virtual ~CPageSoundContainer();
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPageSoundContainer)
|
|
enum { IDD = IDD_DIALOG_SOUNDCONTAINER };
|
|
CListCtrl m_SoundList;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CPageSoundContainer)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPageSoundContainer)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnRclickListSound(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnSounddelete();
|
|
afx_msg void OnBegindragListSound(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnSoundadd();
|
|
afx_msg void OnMenuSoundproperty();
|
|
afx_msg void OnSoundDuplicate();
|
|
afx_msg void OnDblclkListSound(NMHDR* pNMHDR, LRESULT* pResult);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PAGESOUNDCONTAINER_H__095FB177_DB07_4759_949E_944DE3CC446E__INCLUDED_)
|