Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
w3ddlg.h
Go to the documentation of this file.
1/*
2** Command & Conquer Generals Zero Hour(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/* $Header: /Commando/Code/Tools/max2w3d/w3ddlg.h 9 2/10/00 5:45p Jason_a $ */
20/***********************************************************************************************
21 *** Confidential - Westwood Studios ***
22 ***********************************************************************************************
23 * *
24 * Project Name : Commando Tools - W3D export *
25 * *
26 * $Archive:: /Commando/Code/Tools/max2w3d/w3ddlg.h $*
27 * *
28 * $Author:: Jason_a $*
29 * *
30 * $Modtime:: 2/09/00 9:50a $*
31 * *
32 * $Revision:: 9 $*
33 * *
34 *---------------------------------------------------------------------------------------------*
35 * Functions: *
36 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
37
38
39#ifndef W3DDLG_H
40#define W3DDLG_H
41
42#include "always.h"
43#include <Max.h>
44#include "w3dutil.h"
45
46
48{
49public:
50
51 W3dOptionsDialogClass(Interface * maxinterface,ExpInterface * exportinterface);
53
55 bool Dialog_Proc(HWND hWnd,UINT message,WPARAM wParam,LPARAM);
56
57public:
58
59 HWND Hwnd;
60
61private:
62
63 void Dialog_Init();
64 BOOL Dialog_Ok();
65 void Enable_WHT_Export();
66 void Enable_WHT_Load();
67 void Disable_WHT_Export();
68 void Enable_WHA_Export();
69 void Disable_WHA_Export();
70 void Enable_WTM_Export();
71 void Disable_WTM_Export();
72
73 void Enable_ReduceAnimationOptions_Export();
74 void Disable_ReduceAnimationOptions_Export();
75 void Enable_CompressAnimationOptions_Export();
76 void Disable_CompressAnimationOptions_Export();
77
78 void WHT_Export_Radio_Changed();
79 void WHA_Export_Radio_Changed();
80 void WTM_Export_Radio_Changed();
81
82 void WHA_Compress_Animation_Check_Changed();
83 void WHA_Reduce_Animation_Check_Changed();
84
85 void WHA_Compression_Flavor_Changed();
86
87private:
88
89 W3dExportOptionsStruct * Options;
90 bool GotHierarchyFilename;
91 Interface * MaxInterface;
92 ExpInterface * ExportInterface;
93
94 ISpinnerControl * RangeLowSpin;
95 ISpinnerControl * RangeHighSpin;
96
97 HWND HwndReduce;
98 HWND HwndFlavor;
99 HWND HwndTError;
100 HWND HwndRError;
101
102 int UnitsType;
103 float UnitsScale;
104};
105
106
107#endif
unsigned int UINT
Definition bittype.h:63
#define BOOL
Definition Wnd_File.h:57
W3dOptionsDialogClass(Interface *maxinterface, ExpInterface *exportinterface)
Definition w3ddlg.cpp:76
bool Dialog_Proc(HWND hWnd, UINT message, WPARAM wParam, LPARAM)
Definition w3ddlg.cpp:135
bool Get_Export_Options(W3dExportOptionsStruct *options)
Definition w3ddlg.cpp:95