Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
w3ddesc.cpp
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/w3ddesc.cpp 3 3/04/99 1:58p Naty_h $ */
20/***********************************************************************************************
21 *** Confidential - Westwood Studios ***
22 ***********************************************************************************************
23 * *
24 * Project Name : Commando Tools - W3D export *
25 * *
26 * $Archive:: /Commando/Code/Tools/max2w3d/w3ddesc.cpp $*
27 * *
28 * $Author:: Naty_h $*
29 * *
30 * $Modtime:: 3/03/99 11:29a $*
31 * *
32 * $Revision:: 3 $*
33 * *
34 *---------------------------------------------------------------------------------------------*
35 * Functions: *
36 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
37
38
39
40#include "w3ddesc.h"
41#include "w3dexp.h"
42#include "dllmain.h"
43
44/***********************************************************************************************
45 * W3dClassDesc::Create -- Creates a W3dExportClass object *
46 * *
47 * MAX calls this method when it needs a pointer to a new instance of the plug-in class. *
48 * *
49 * INPUT: *
50 * *
51 * OUTPUT: *
52 * *
53 * WARNINGS: *
54 * *
55 * HISTORY: *
56 * 06/09/1997 GH : Created. *
57 *=============================================================================================*/
59{
60 return new W3dExportClass;
61}
62
63/***********************************************************************************************
64 * W3dClassDesc::IsPublic -- Controls if the plug-in shows up in lists from the user to choose *
65 * *
66 * Controls if the plug-in shows up in lists from the user to choose from. *
67 * *
68 * INPUT: none *
69 * *
70 * OUTPUT: true! *
71 * *
72 * WARNINGS: *
73 * *
74 * HISTORY: *
75 * 06/09/1997 GH : Created. *
76 *=============================================================================================*/
78{
79 return 1;
80}
81
82/***********************************************************************************************
83 * W3dClassDesc::ClassName -- returns the name of the class *
84 * *
85 * This method returns the name of the class. This name appears in the button for the *
86 * plug-in in the MAX user interface. *
87 * *
88 * INPUT: none *
89 * *
90 * OUTPUT: Name of the class *
91 * *
92 * WARNINGS: *
93 * *
94 * HISTORY: *
95 * 06/09/1997 GH : Created. *
96 *=============================================================================================*/
101
102/***********************************************************************************************
103 * W3dClassDesc::SuperClassID -- returns the SuperClassID of the plug-in. *
104 * *
105 * INPUT: none *
106 * *
107 * OUTPUT: The SuperClassID of the plug-in. *
108 * *
109 * WARNINGS: *
110 * *
111 * HISTORY: *
112 * 06/09/1997 GH : Created. *
113 *=============================================================================================*/
115{
116 return SCENE_EXPORT_CLASS_ID;
117}
118
119/***********************************************************************************************
120 * W3dClassDesc::ClassID -- Returns the class ID *
121 * *
122 * This method must return the unique ID for the object. If two ClassIDs conflict, the *
123 * system will only load the first one it finds. The ClassID consists of two unsigned 32-bit *
124 * quantities. *
125 * *
126 * INPUT: none *
127 * *
128 * OUTPUT: The unique ClassID of the plug-in. *
129 * *
130 * WARNINGS: *
131 * *
132 * HISTORY: *
133 * 06/09/1997 GH : Created. *
134 *=============================================================================================*/
136{
138}
139
140/***********************************************************************************************
141 * W3dClassDesc::Category -- returns a string describing the category a plug-in fits into *
142 * *
143 * INPUT: *
144 * *
145 * OUTPUT: *
146 * *
147 * WARNINGS: *
148 * *
149 * HISTORY: *
150 * 06/09/1997 GH : Created. *
151 *=============================================================================================*/
153{
155}
156
#define IDS_SCENE_EXPORT
Definition resource.h:28
#define IDS_W3D_SHORT_DESCRIPTION
Definition resource.h:43
#define BOOL
Definition Wnd_File.h:57
SClass_ID SuperClassID()
Definition w3ddesc.cpp:114
Class_ID ClassID()
Definition w3ddesc.cpp:135
void * Create(BOOL)
Definition w3ddesc.cpp:58
const TCHAR * ClassName()
Definition w3ddesc.cpp:97
const TCHAR * Category()
Definition w3ddesc.cpp:152
int IsPublic()
Definition w3ddesc.cpp:77
TCHAR * Get_String(int id)
Definition dllmain.cpp:198
#define W3D_EXPORTER_CLASS_ID
Definition w3ddesc.h:50