| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#include "gr.h" |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
class CWorldObjectsPowerupDialog : public CDialog { |
| 28 |
|
| 29 |
public: |
| 30 |
CWorldObjectsPowerupDialog(CWnd *pParent = NULL); |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
enum { IDD = IDD_WORLDOBJECTSPOWERUP }; |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
public: |
| 42 |
virtual BOOL DestroyWindow(); |
| 43 |
|
| 44 |
protected: |
| 45 |
virtual void DoDataExchange(CDataExchange *pDX); |
| 46 |
|
| 47 |
|
| 48 |
private: |
| 49 |
void UpdateDialog(); |
| 50 |
void SavePowerupsOnClose(); |
| 51 |
void UpdatePowerupView(); |
| 52 |
|
| 53 |
grHardwareSurface m_PowerupSurf; |
| 54 |
|
| 55 |
|
| 56 |
protected: |
| 57 |
|
| 58 |
|
| 59 |
afx_msg void OnAddNewPowerup(); |
| 60 |
afx_msg void OnCheckin(); |
| 61 |
afx_msg void OnDeletePowerup(); |
| 62 |
afx_msg void OnLockPowerup(); |
| 63 |
afx_msg void OnNextPowerup(); |
| 64 |
afx_msg void OnPrev(); |
| 65 |
afx_msg void OnPowerupsOut(); |
| 66 |
afx_msg void OnPaint(); |
| 67 |
virtual BOOL OnInitDialog(); |
| 68 |
afx_msg void OnTimer(UINT nIDEvent); |
| 69 |
afx_msg void OnKillfocusPowerNameEdit(); |
| 70 |
afx_msg void OnKillfocusPowerupSizeEdit(); |
| 71 |
afx_msg void OnSelendokPowerPulldown(); |
| 72 |
afx_msg void OnLoadImage(); |
| 73 |
afx_msg void OnGravityCheck(); |
| 74 |
afx_msg void OnMagnetismCheck(); |
| 75 |
afx_msg void OnWindCheck(); |
| 76 |
afx_msg void OnKillfocusPowMassEdit(); |
| 77 |
afx_msg void OnKillfocusPowDragEdit(); |
| 78 |
afx_msg void OnSelendokPowerupAmbientSoundList(); |
| 79 |
afx_msg void OnSelendokPowerupPickupSoundList(); |
| 80 |
afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo); |
| 81 |
|
| 82 |
DECLARE_MESSAGE_MAP() |
| 83 |
}; |