AdvancedAnimSheet.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  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. #if !defined(AFX_ADVANCEDANIMSHEET_H__67C01724_7C0D_11D3_9A3A_0090272E6F90__INCLUDED_)
  19. #define AFX_ADVANCEDANIMSHEET_H__67C01724_7C0D_11D3_9A3A_0090272E6F90__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. // AdvancedAnimSheet.h : header file
  24. //
  25. #include "AnimMixingPage.h"
  26. #include "AnimReportPage.h"
  27. #define MAX_REPORT_ANIMS 128
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CAdvancedAnimSheet
  30. class CAdvancedAnimSheet : public CPropertySheet
  31. {
  32. DECLARE_DYNAMIC(CAdvancedAnimSheet)
  33. // Construction
  34. public:
  35. CAdvancedAnimSheet(CWnd *pParentWnd = NULL, UINT iSelectPage = 0);
  36. // Attributes
  37. public:
  38. // Pages in the property sheet.
  39. CAnimMixingPage m_MixingPage;
  40. CAnimReportPage m_ReportPage;
  41. // Indeces of animations selected in the mixing page.
  42. DynamicVectorClass<int> m_SelectedAnims;
  43. // Operations
  44. public:
  45. int GetAnimCount (void);
  46. HAnimClass ** GetAnims (void);
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(CAdvancedAnimSheet)
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. public:
  53. virtual ~CAdvancedAnimSheet();
  54. // Generated message map functions
  55. protected:
  56. void LoadAnims (void);
  57. HAnimClass *Anims[MAX_REPORT_ANIMS];
  58. int AnimCount;
  59. bool AnimsValid;
  60. //{{AFX_MSG(CAdvancedAnimSheet)
  61. // NOTE - the ClassWizard will add and remove member functions here.
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. /////////////////////////////////////////////////////////////////////////////
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ADVANCEDANIMSHEET_H__67C01724_7C0D_11D3_9A3A_0090272E6F90__INCLUDED_)