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 #include "sys/platform.h"
30 #include "framework/Common.h"
31 #include "edit_public.h"
RadiantInit(void)32 void	RadiantInit( void ) { common->Printf( "The level editor Radiant only runs on Win32\n" ); }
RadiantShutdown(void)33 void	RadiantShutdown( void ) {}
RadiantRun(void)34 void	RadiantRun( void ) {}
RadiantPrint(const char * text)35 void	RadiantPrint( const char *text ) {}
RadiantSync(const char * mapName,const idVec3 & viewOrg,const idAngles & viewAngles)36 void	RadiantSync( const char *mapName, const idVec3 &viewOrg, const idAngles &viewAngles ) {}
37 
LightEditorInit(const idDict * spawnArgs)38 void	LightEditorInit( const idDict *spawnArgs ) { common->Printf( "The Light Editor only runs on Win32\n" ); }
LightEditorShutdown(void)39 void	LightEditorShutdown( void ) {}
LightEditorRun(void)40 void	LightEditorRun( void ) {}
41 
SoundEditorInit(const idDict * spawnArgs)42 void	SoundEditorInit( const idDict *spawnArgs ) { common->Printf( "The Sound Editor only runs on Win32\n" ); }
SoundEditorShutdown(void)43 void	SoundEditorShutdown( void ) {}
SoundEditorRun(void)44 void	SoundEditorRun( void ) {}
45 
AFEditorInit(const idDict * spawnArgs)46 void	AFEditorInit( const idDict *spawnArgs ) { common->Printf( "The Articulated Figure Editor only runs on Win32\n" ); }
AFEditorShutdown(void)47 void	AFEditorShutdown( void ) {}
AFEditorRun(void)48 void	AFEditorRun( void ) {}
49 
ParticleEditorInit(const idDict * spawnArgs)50 void	ParticleEditorInit( const idDict *spawnArgs ) { common->Printf( "The Particle Editor only runs on Win32\n" ); }
ParticleEditorShutdown(void)51 void	ParticleEditorShutdown( void ) {}
ParticleEditorRun(void)52 void	ParticleEditorRun( void ) {}
53 
ScriptEditorInit(const idDict * spawnArgs)54 void	ScriptEditorInit( const idDict *spawnArgs ) { common->Printf( "The Script Editor only runs on Win32\n" ); }
ScriptEditorShutdown(void)55 void	ScriptEditorShutdown( void ) {}
ScriptEditorRun(void)56 void	ScriptEditorRun( void ) {}
57 
DeclBrowserInit(const idDict * spawnArgs)58 void	DeclBrowserInit( const idDict *spawnArgs ) { common->Printf( "The Declaration Browser only runs on Win32\n" ); }
DeclBrowserShutdown(void)59 void	DeclBrowserShutdown( void ) {}
DeclBrowserRun(void)60 void	DeclBrowserRun( void ) {}
DeclBrowserReloadDeclarations(void)61 void	DeclBrowserReloadDeclarations( void ) {}
62 
GUIEditorInit(void)63 void	GUIEditorInit( void ) { common->Printf( "The GUI Editor only runs on Win32\n" ); }
GUIEditorShutdown(void)64 void	GUIEditorShutdown( void ) {}
GUIEditorRun(void)65 void	GUIEditorRun( void ) {}
GUIEditorHandleMessage(void * msg)66 bool	GUIEditorHandleMessage( void *msg ) { return false; }
67 
DebuggerClientLaunch(void)68 void	DebuggerClientLaunch( void ) {}
DebuggerClientInit(const char * cmdline)69 void	DebuggerClientInit( const char *cmdline ) { common->Printf( "The Script Debugger Client only runs on Win32\n" ); }
DebuggerServerInit(void)70 bool	DebuggerServerInit( void ) { return false; }
DebuggerServerShutdown(void)71 void	DebuggerServerShutdown( void ) {}
DebuggerServerPrint(const char * text)72 void	DebuggerServerPrint( const char *text ) {}
DebuggerServerCheckBreakpoint(idInterpreter * interpreter,idProgram * program,int instructionPointer)73 void	DebuggerServerCheckBreakpoint( idInterpreter *interpreter, idProgram *program, int instructionPointer ) {}
74 
PDAEditorInit(const idDict * spawnArgs)75 void	PDAEditorInit( const idDict *spawnArgs ) { common->Printf( "The PDA editor only runs on Win32\n" ); }
76 
MaterialEditorInit()77 void	MaterialEditorInit() { common->Printf( "The Material editor only runs on Win32\n" ); }
MaterialEditorPrintConsole(const char * text)78 void	MaterialEditorPrintConsole( const char *text ) {}
79