doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
edit_public.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 
29 #ifndef __EDIT_PUBLIC_H__
30 #define __EDIT_PUBLIC_H__
31 
32 /*
33 ===============================================================================
34 
35  Editors.
36 
37 ===============================================================================
38 */
39 
40 
41 class idProgram;
42 class idInterpreter;
43 
44 
45 // Radiant Level Editor
46 void RadiantInit( void );
47 void RadiantShutdown( void );
48 void RadiantRun( void );
49 void RadiantPrint( const char *text );
50 void RadiantSync( const char *mapName, const idVec3 &viewOrg, const idAngles &viewAngles );
51 
52 
53 // in-game Light Editor
54 void LightEditorInit( const idDict *spawnArgs );
55 void LightEditorShutdown( void );
56 void LightEditorRun( void );
57 
58 
59 // in-game Sound Editor
60 void SoundEditorInit( const idDict *spawnArgs );
61 void SoundEditorShutdown( void );
62 void SoundEditorRun( void );
63 
64 
65 // in-game Articulated Figure Editor
66 void AFEditorInit( const idDict *spawnArgs );
67 void AFEditorShutdown( void );
68 void AFEditorRun( void );
69 
70 
71 // in-game Particle Editor
72 void ParticleEditorInit( const idDict *spawnArgs );
73 void ParticleEditorShutdown( void );
74 void ParticleEditorRun( void );
75 
76 
77 // in-game PDA Editor
78 void PDAEditorInit( const idDict *spawnArgs );
79 void PDAEditorShutdown( void );
80 void PDAEditorRun( void );
81 
82 
83 // in-game Script Editor
84 void ScriptEditorInit( const idDict *spawnArgs );
85 void ScriptEditorShutdown( void );
86 void ScriptEditorRun( void );
87 
88 
89 // in-game Declaration Browser
90 void DeclBrowserInit( const idDict *spawnArgs );
91 void DeclBrowserShutdown( void );
92 void DeclBrowserRun( void );
94 
95 
96 // GUI Editor
97 void GUIEditorInit( void );
98 void GUIEditorShutdown( void );
99 void GUIEditorRun( void );
100 bool GUIEditorHandleMessage( void *msg );
101 
102 
103 // Script Debugger
104 void DebuggerClientLaunch( void );
105 void DebuggerClientInit( const char *cmdline );
106 bool DebuggerServerInit( void );
107 void DebuggerServerShutdown( void );
108 void DebuggerServerPrint( const char *text );
110 
111 //Material Editor
112 void MaterialEditorInit( void );
113 void MaterialEditorRun( void );
114 void MaterialEditorShutdown( void );
115 void MaterialEditorPrintConsole( const char *msg );
116 
117 #endif /* !__EDIT_PUBLIC_H__ */
void AFEditorRun(void)
Definition: DialogAF.cpp:346
void LightEditorRun(void)
Definition: edit_stub.cpp:40
void MaterialEditorPrintConsole(const char *msg)
Allows the doom engine to reflect console output to the material editors console. ...
Definition: edit_stub.cpp:78
void ParticleEditorInit(const idDict *spawnArgs)
Definition: edit_stub.cpp:50
void ParticleEditorShutdown(void)
Definition: edit_stub.cpp:51
void GUIEditorShutdown(void)
Definition: edit_stub.cpp:64
void PDAEditorShutdown(void)
void SoundEditorInit(const idDict *spawnArgs)
Definition: edit_stub.cpp:42
void RadiantSync(const char *mapName, const idVec3 &viewOrg, const idAngles &viewAngles)
Definition: edit_stub.cpp:36
void PDAEditorRun(void)
void SoundEditorShutdown(void)
Definition: edit_stub.cpp:43
Definition: Vector.h:316
void GUIEditorRun(void)
Definition: edit_stub.cpp:65
void ScriptEditorShutdown(void)
Definition: edit_stub.cpp:55
void DeclBrowserReloadDeclarations(void)
void DebuggerServerShutdown(void)
Definition: debugger.cpp:180
void RadiantShutdown(void)
Definition: edit_stub.cpp:33
bool DebuggerServerInit(void)
Definition: debugger.cpp:144
void MaterialEditorRun(void)
Called every frame by the doom engine to allow the material editor to process messages.
GLuint program
Definition: glext.h:3473
void AFEditorShutdown(void)
Definition: DialogAF.cpp:365
void ScriptEditorInit(const idDict *spawnArgs)
Definition: edit_stub.cpp:54
void RadiantPrint(const char *text)
Definition: edit_stub.cpp:35
void PDAEditorInit(const idDict *spawnArgs)
Definition: edit_stub.cpp:75
void DeclBrowserShutdown(void)
bool GUIEditorHandleMessage(void *msg)
Definition: edit_stub.cpp:66
Definition: Dict.h:65
void MaterialEditorInit(void)
Initializes the material editor tool.
Definition: edit_stub.cpp:77
void DebuggerServerCheckBreakpoint(idInterpreter *interpreter, idProgram *program, int instructionPointer)
Definition: debugger.cpp:209
void MaterialEditorShutdown(void)
Called by the doom engine when the material editor needs to be destroyed.
void LightEditorShutdown(void)
Definition: edit_stub.cpp:39
void SoundEditorRun(void)
Definition: edit_stub.cpp:44
void RadiantRun(void)
Definition: edit_stub.cpp:34
void DeclBrowserRun(void)
void DebuggerClientLaunch(void)
Definition: debugger.cpp:84
void AFEditorInit(const idDict *spawnArgs)
Definition: DialogAF.cpp:301
void RadiantInit(void)
Definition: edit_stub.cpp:32
void DebuggerServerPrint(const char *text)
Definition: debugger.cpp:226
void DeclBrowserInit(const idDict *spawnArgs)
void DebuggerClientInit(const char *cmdline)
Definition: debugger.cpp:56
void GUIEditorInit(void)
Definition: edit_stub.cpp:63
void ParticleEditorRun(void)
Definition: edit_stub.cpp:52
void LightEditorInit(const idDict *spawnArgs)
Definition: edit_stub.cpp:38
void ScriptEditorRun(void)
Definition: edit_stub.cpp:56