GameMtlTextureDlg.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. /***********************************************************************************************
  19. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  20. ***********************************************************************************************
  21. * *
  22. * Project Name : Max2W3d *
  23. * *
  24. * $Archive:: /Commando/Code/Tools/max2w3d/GameMtlTextureDlg.h $*
  25. * *
  26. * Author:: Greg Hjelstrom *
  27. * *
  28. * $Modtime:: 8/14/00 1:47p $*
  29. * *
  30. * $Revision:: 8 $*
  31. * *
  32. *---------------------------------------------------------------------------------------------*
  33. * Functions: *
  34. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  35. #ifndef GAMEMTLTEXTUREDLG_H
  36. #define GAMEMTLTEXTUREDLG_H
  37. #include <Max.h>
  38. #include "GameMtlForm.h"
  39. class GameMtl;
  40. class GameMtlTextureDlg : public GameMtlFormClass
  41. {
  42. public:
  43. GameMtlTextureDlg(HWND parent, IMtlParams * imp, GameMtl * m, int pass);
  44. ~GameMtlTextureDlg(void);
  45. virtual BOOL Dialog_Proc (HWND dlg_wnd, UINT message, WPARAM wparam, LPARAM lparam);
  46. void ActivateDlg(BOOL onOff);
  47. void ReloadDialog(void);
  48. private:
  49. void Enable_Stage(int stage,BOOL onoff);
  50. void Update_Texture_Buttons(void);
  51. ISpinnerControl * Stage0FramesSpin;
  52. ISpinnerControl * Stage1FramesSpin;
  53. ISpinnerControl * Stage0RateSpin;
  54. ISpinnerControl * Stage1RateSpin;
  55. ICustButton * Stage0PublishButton;
  56. ICustButton * Stage1PublishButton;
  57. ICustButton * Stage0ClampUButton;
  58. ICustButton * Stage1ClampUButton;
  59. ICustButton * Stage0ClampVButton;
  60. ICustButton * Stage1ClampVButton;
  61. ICustButton * Stage0NoLODButton;
  62. ICustButton * Stage1NoLODButton;
  63. ICustButton * Stage0AlphaBitmapButton;
  64. ICustButton * Stage1AlphaBitmapButton;
  65. ICustButton * Stage0DisplayButton;
  66. ICustButton * Stage1DisplayButton;
  67. };
  68. #endif