Rename surface_ufoai to surface_idtech2. This plugin should be used for all Quake1 / Quake2 derived games. Updated game packs to be checked in shortly.

This commit is contained in:
jdolan 2013-07-08 22:20:13 -04:00
parent 4ecd0a3991
commit 1019199749
27 changed files with 49 additions and 266 deletions

View File

@ -113,9 +113,7 @@ class Config:
'plugins/mapxml/mapxml.vcproj',
'plugins/shaders/shaders.vcproj',
'plugins/surface/surface.vcproj',
'plugins/surface_ufoai/surface_ufoai.vcproj',
'plugins/surface_quake2/surface_quake2.vcproj',
'plugins/surface_heretic2/surface_heretic2.vcproj',
'plugins/surface_idtech2/surface_idtech2.vcproj',
'contrib/camera/camera.vcproj',
'contrib/prtview/prtview.vcproj',
'contrib/hydratoolz/hydratoolz.vcproj',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 B

View File

@ -0,0 +1,7 @@
; surface_idtech2.def : Declares the module parameters for the DLL.
LIBRARY "SURFACE_IDTECH2"
EXPORTS
; Explicit exports can go here
Synapse_EnumerateInterfaces @1

View File

@ -2,7 +2,7 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="surface_ufoai"
Name="surface_idtech2"
ProjectGUID="{F400371F-455F-4B6C-9F13-A2E57110E725}"
Keyword="Win32Proj"
TargetFrameworkVersion="0"
@ -40,7 +40,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)\libs&quot;;&quot;$(SolutionDir)\include&quot;;&quot;$(SolutionDir)\..\STLport-5.2.1\stlport&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\glib-2.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\lib\glib-2.0\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\gtk-2.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\lib\gtk-2.0\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\cairo&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\pango-1.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\atk-1.0&quot;;&quot;$(SolutionDir)\..\libxml2-2.7.3\include\libxml2&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -63,7 +63,7 @@
AdditionalOptions="/STACK:8388608"
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib gtk-win32-2.0.lib libxml2.lib synapse.lib"
AdditionalLibraryDirectories="&quot;$(SolutionDir)\..\gtk-2.16.6\lib&quot;;&quot;$(SolutionDir)\..\libxml2-2.7.3\lib&quot;;&quot;$(SolutionDir)\build\$(ConfigurationName)\libs&quot;"
ModuleDefinitionFile="surface_ufoai.def"
ModuleDefinitionFile="surface_idtech2.def"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
@ -114,7 +114,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)\libs&quot;;&quot;$(SolutionDir)\include&quot;;&quot;$(SolutionDir)\..\STLport-5.2.1\stlport&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\glib-2.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\lib\glib-2.0\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\gtk-2.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\lib\gtk-2.0\include&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\cairo&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\pango-1.0&quot;;&quot;$(SolutionDir)\..\gtk-2.16.6\include\atk-1.0&quot;;&quot;$(SolutionDir)\..\libxml2-2.7.3\include\libxml2&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@ -135,7 +135,7 @@
AdditionalOptions="/STACK:8388608"
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib gtk-win32-2.0.lib libxml2.lib synapse.lib"
AdditionalLibraryDirectories="&quot;$(SolutionDir)\..\gtk-2.16.6\lib&quot;;&quot;$(SolutionDir)\..\libxml2-2.7.3\lib&quot;;&quot;$(SolutionDir)\build\$(ConfigurationName)\libs&quot;"
ModuleDefinitionFile="surface_ufoai.def"
ModuleDefinitionFile="surface_idtech2.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@ -173,7 +173,7 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
>
<File
RelativePath=".\surface_ufoai.def"
RelativePath=".\surface_idtech2.def"
>
</File>
<File
@ -181,7 +181,7 @@
>
</File>
<File
RelativePath=".\surfaceflagsdialog_ufoai.cpp"
RelativePath=".\surfaceflagsdialog_idtech2.cpp"
>
</File>
<File

View File

@ -72,7 +72,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(SolutionDir)\libs;$(SolutionDir)\include;$(SolutionDir)\..\STLport-5.2.1\stlport;$(SolutionDir)\..\gtk-2.24.10\include\glib-2.0;$(SolutionDir)\..\gtk-2.24.10\include\gdk-pixbuf-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\glib-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include;$(SolutionDir)\..\gtk-2.24.10\include\gtk-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\gtk-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include\cairo;$(SolutionDir)\..\gtk-2.24.10\include\pango-1.0;$(SolutionDir)\..\gtk-2.24.10\include\atk-1.0;$(SolutionDir)\..\libxml2-2.9.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@ -85,7 +85,7 @@
<AdditionalOptions>/STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>ws2_32.lib;glib-2.0.lib;gobject-2.0.lib;intl.lib;gtk-win32-2.0.lib;libxml2.lib;synapse.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\..\gtk-2.24.10\lib;$(SolutionDir)\..\libxml2-2.9.1\lib\$(Configuration)\$(Platform);$(SolutionDir)\build\$(Configuration)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>surface_ufoai.def</ModuleDefinitionFile>
<ModuleDefinitionFile>surface_idtech2.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
@ -95,7 +95,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(SolutionDir)\libs;$(SolutionDir)\include;$(SolutionDir)\..\STLport-5.2.1\stlport;$(SolutionDir)\..\gtk-2.24.10\include\glib-2.0;$(SolutionDir)\..\gtk-2.24.10\include\gdk-pixbuf-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\glib-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include;$(SolutionDir)\..\gtk-2.24.10\include\gtk-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\gtk-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include\cairo;$(SolutionDir)\..\gtk-2.24.10\include\pango-1.0;$(SolutionDir)\..\gtk-2.24.10\include\atk-1.0;$(SolutionDir)\..\libxml2-2.9.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
@ -108,7 +108,7 @@
<AdditionalOptions>/STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>ws2_32.lib;glib-2.0.lib;gobject-2.0.lib;intl.lib;gtk-win32-2.0.lib;libxml2.lib;synapse.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\..\gtk-2.24.10\lib;$(SolutionDir)\..\libxml2-2.9.1\lib\$(Configuration)\$(Platform);$(SolutionDir)\build\$(Configuration)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>surface_ufoai.def</ModuleDefinitionFile>
<ModuleDefinitionFile>surface_idtech2.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
@ -116,7 +116,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)\libs;$(SolutionDir)\include;$(SolutionDir)\..\STLport-5.2.1\stlport;$(SolutionDir)\..\gtk-2.24.10\include\glib-2.0;$(SolutionDir)\..\gtk-2.24.10\include\gdk-pixbuf-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\glib-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include;$(SolutionDir)\..\gtk-2.24.10\include\gtk-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\gtk-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include\cairo;$(SolutionDir)\..\gtk-2.24.10\include\pango-1.0;$(SolutionDir)\..\gtk-2.24.10\include\atk-1.0;$(SolutionDir)\..\libxml2-2.9.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
@ -127,7 +127,7 @@
<AdditionalOptions>/STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>ws2_32.lib;glib-2.0.lib;gobject-2.0.lib;intl.lib;gtk-win32-2.0.lib;libxml2.lib;synapse.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\..\gtk-2.24.10\lib;$(SolutionDir)\..\libxml2-2.9.1\lib\$(Configuration)\$(Platform);$(SolutionDir)\build\$(Configuration)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>surface_ufoai.def</ModuleDefinitionFile>
<ModuleDefinitionFile>surface_idtech2.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@ -138,7 +138,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)\libs;$(SolutionDir)\include;$(SolutionDir)\..\STLport-5.2.1\stlport;$(SolutionDir)\..\gtk-2.24.10\include\glib-2.0;$(SolutionDir)\..\gtk-2.24.10\include\gdk-pixbuf-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\glib-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include;$(SolutionDir)\..\gtk-2.24.10\include\gtk-2.0;$(SolutionDir)\..\gtk-2.24.10\lib\gtk-2.0\include;$(SolutionDir)\..\gtk-2.24.10\include\cairo;$(SolutionDir)\..\gtk-2.24.10\include\pango-1.0;$(SolutionDir)\..\gtk-2.24.10\include\atk-1.0;$(SolutionDir)\..\libxml2-2.9.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_UFOAI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SURFACE_IDTECH2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
@ -150,7 +150,7 @@
<AdditionalOptions>/STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>ws2_32.lib;glib-2.0.lib;gobject-2.0.lib;intl.lib;gtk-win32-2.0.lib;libxml2.lib;synapse.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\..\gtk-2.24.10\lib;$(SolutionDir)\..\libxml2-2.9.1\lib\$(Configuration)\$(Platform);$(SolutionDir)\build\$(Configuration)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>surface_ufoai.def</ModuleDefinitionFile>
<ModuleDefinitionFile>surface_idtech2.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@ -158,11 +158,11 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="surface_ufoai.def" />
<None Include="surface_idtech2.def" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="surfacedialog.cpp" />
<ClCompile Include="surfaceflagsdialog_ufoai.cpp" />
<ClCompile Include="surfaceflagsdialog_idtech2.cpp" />
<ClCompile Include="surfdlg_plugin.cpp" />
</ItemGroup>
<ItemGroup>

View File

@ -7,7 +7,7 @@
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="surface_ufoai.def">
<None Include="surface_idtech2.def">
<Filter>src</Filter>
</None>
</ItemGroup>
@ -15,7 +15,7 @@
<ClCompile Include="surfacedialog.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="surfaceflagsdialog_ufoai.cpp">
<ClCompile Include="surfaceflagsdialog_idtech2.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="surfdlg_plugin.cpp">

View File

@ -23,19 +23,12 @@
// Surface Dialog Module
//
//
// Nurail: Implemented to Module from the main Radiant Surface Dialog code
//
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
#include "surfdlg_plugin.h"
#ifdef _DEBUG
//#define DBG_SI 1
#endif
@ -75,10 +68,10 @@ void DoSnapTToGrid( float hscale, float vscale );
// called to perform a fitting from the outside (shortcut key)
void SurfaceDialogFitAll();
// UFOAI Flags Functions
void SetFlagButtons_UFOAI( texdef_to_face_t *texdef_face_list, bool b_isListEmpty );
void SetChangeInFlags_Face_UFOAI( texdef_to_face_t *texdef_face_list );
GtkWidget* Create_UFOAIFlagsDialog( GtkWidget* surfacedialog_widget );
// IDTECH2 Flags Functions
void SetFlagButtons_IDTECH2( texdef_to_face_t *texdef_face_list, bool b_isListEmpty );
void SetChangeInFlags_Face_IDTECH2( texdef_to_face_t *texdef_face_list );
GtkWidget* Create_IDTECH2FlagsDialog( GtkWidget* surfacedialog_widget );
// Dialog Data
@ -344,10 +337,10 @@ static void GetTexdefInfo_from_Radiant(){
IsFaceConflicting();
PopulateTextureComboList();
if ( texdef_face_list_empty() ) {
SetFlagButtons_UFOAI( get_texdef_face_list(), TRUE );
SetFlagButtons_IDTECH2( get_texdef_face_list(), TRUE );
}
else{
SetFlagButtons_UFOAI( get_texdef_face_list(), FALSE );
SetFlagButtons_IDTECH2( get_texdef_face_list(), FALSE );
}
}
@ -541,7 +534,7 @@ void GetTexMods( bool b_SetUndoPoint ){
if ( !texdef_face_list_empty() ) {
g_bListenUpdate = FALSE;
SetChangeInFlags_Face_UFOAI( get_texdef_face_list() );
SetChangeInFlags_Face_IDTECH2( get_texdef_face_list() );
SetTexdef_FaceList( get_texdef_face_list(), b_SetUndoPoint, FALSE );
g_bListenUpdate = TRUE;
@ -813,7 +806,7 @@ GtkWidget* create_SurfaceInspector( void ){
(GtkAttachOptions) ( 0 ), 0, 0 );
// Add the SURF_ and CONTENTS_ flags frame
Create_UFOAIFlagsDialog( vbox1 );
Create_IDTECH2FlagsDialog( vbox1 );
g_signal_connect( (gpointer) SurfaceInspector,
"delete_event",

View File

@ -26,7 +26,7 @@
#include "surfdlg_plugin.h"
#include "surfaceflagsdialog_ufoai.h"
#include "surfaceflagsdialog_idtech2.h"
GtkWidget *notebook1;
@ -80,7 +80,7 @@ void clear_all_buttons_and_values(){
gtk_entry_set_text( (GtkEntry *)value_entry, "" );
}
void SetFlagButtons_UFOAI( texdef_to_face_t *texdef_face_list, bool b_isListEmpty ){
void SetFlagButtons_IDTECH2( texdef_to_face_t *texdef_face_list, bool b_isListEmpty ){
int contents = 0;
int flags = 0;
int value = 0;
@ -167,7 +167,7 @@ void SetFlagButtons_UFOAI( texdef_to_face_t *texdef_face_list, bool b_isListEmpt
setup_buttons = FALSE;
}
void SetChangeInFlags_Face_UFOAI( texdef_to_face_t *faces ){
void SetChangeInFlags_Face_IDTECH2( texdef_to_face_t *faces ){
texdef_to_face_t *face;
texdef_t *tex;
@ -281,9 +281,9 @@ void on_contentbutton_clicked( GtkButton *button, gpointer user_data ){
gtk_notebook_set_page( GTK_NOTEBOOK( notebook1 ), 1 );
}
#define UFOAI_FLAG_BUTTON_BORDER 3
#define IDTECH2_FLAG_BUTTON_BORDER 3
GtkWidget* Create_UFOAIFlagsDialog( GtkWidget* surfacedialog_widget ){
GtkWidget* Create_IDTECH2FlagsDialog( GtkWidget* surfacedialog_widget ){
GtkWidget *frame1;
GtkWidget *vbox1;
GtkWidget *vbox2;

View File

@ -19,7 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _SURFACEFLAGSDIALOG_UFOAI_H
#define _SURFACEFLAGSDIALOG_UFOAI_H
#ifndef _SURFACEFLAGSDIALOG_IDTECH2_H
#define _SURFACEFLAGSDIALOG_IDTECH2_H
#endif // _SURFACEFLAGSDIALOG_UFOAI_H
#endif // _SURFACEFLAGSDIALOG_IDTECH2_H

View File

@ -76,12 +76,12 @@ extern "C" CSynapseClient * SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( cons
g_pSynapseServer->IncRef();
Set_Syn_Printf( g_pSynapseServer->Get_Syn_Printf() );
g_SynapseClient.AddAPI( SURFACEDIALOG_MAJOR, "ufoai", sizeof( _QERPlugSurfaceTable ) );
g_SynapseClient.AddAPI( SURFACEDIALOG_MAJOR, "idtech2", sizeof( _QERPlugSurfaceTable ) );
g_SynapseClient.AddAPI( RADIANT_MAJOR, NULL, sizeof( _QERFuncTable_1 ), SYN_REQUIRE, &g_FuncTable );
g_SynapseClient.AddAPI( UNDO_MAJOR, NULL, sizeof( _QERUndoTable ), SYN_REQUIRE, &g_UndoTable );
g_SynapseClient.AddAPI( APPSURFACEDIALOG_MAJOR, NULL, sizeof( _QERAppSurfaceTable ), SYN_REQUIRE, &g_AppSurfaceTable );
g_SynapseClient.AddAPI( SELECTEDFACE_MAJOR, NULL, sizeof( _QERSelectedFaceTable ), SYN_REQUIRE, &g_SelectedFaceTable );
g_SynapseClient.AddAPI( SHADERS_MAJOR, "ufoai", sizeof( _QERShadersTable ), SYN_REQUIRE, &g_ShadersTable );
g_SynapseClient.AddAPI( SHADERS_MAJOR, "idtech2", sizeof( _QERShadersTable ), SYN_REQUIRE, &g_ShadersTable );
g_SynapseClient.AddAPI( APPSHADERS_MAJOR, NULL, sizeof( _QERAppShadersTable ), SYN_REQUIRE, &g_AppShadersTable );
g_SynapseClient.AddAPI( DATA_MAJOR, NULL, sizeof( _QERAppDataTable ), SYN_REQUIRE, &g_AppDataTable );
@ -91,7 +91,7 @@ extern "C" CSynapseClient * SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( cons
bool CSynapseClient_SurfDLG::RequestAPI( APIDescriptor_t *pAPI ){
if ( !strcmp( pAPI->major_name, SURFACEDIALOG_MAJOR ) ) {
_QERPlugSurfaceTable* pSurfDialogTable = static_cast<_QERPlugSurfaceTable*>( pAPI->mpTable );
if ( !strcmp( pAPI->minor_name, "ufoai" ) ) {
if ( !strcmp( pAPI->minor_name, "idtech2" ) ) {
pSurfDialogTable->m_pfnToggleSurface = &ToggleSurface;
pSurfDialogTable->m_pfnDoSurface = &DoSurface;
pSurfDialogTable->m_pfnUpdateSurfaceDialog = &UpdateSurfaceDialog;
@ -108,7 +108,7 @@ bool CSynapseClient_SurfDLG::RequestAPI( APIDescriptor_t *pAPI ){
#include "version.h"
const char* CSynapseClient_SurfDLG::GetInfo(){
return "Surface Dialog (UFO: Alien Invasion) module built " __DATE__ " " RADIANT_VERSION;
return "Surface Dialog (idTech2) module built " __DATE__ " " RADIANT_VERSION;
}
const char* CSynapseClient_SurfDLG::GetName(){

View File

@ -1,7 +0,0 @@
; surface_ufoai.def : Declares the module parameters for the DLL.
LIBRARY "SURFACE_UFOAI"
EXPORTS
; Explicit exports can go here
Synapse_EnumerateInterfaces @1

104
po/de.po
View File

@ -37,110 +37,6 @@ msgstr ""
msgid "Select Inside"
msgstr ""
#: contrib/ufoai/plugin.cpp:48
msgid "UFO: Alien Invasion plugin "
msgstr "UFO: Alien Invasion plugin "
#: contrib/ufoai/plugin.cpp:64
msgid "Filter actorclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:65
msgid "Actorclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:71
msgid "Filter weaponclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:72
msgid "Weaponclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:78
msgid "Filter nodraw"
msgstr ""
#: contrib/ufoai/plugin.cpp:79
msgid "NoDraw"
msgstr ""
#: contrib/ufoai/plugin.cpp:85
msgid "Filter stepon"
msgstr ""
#: contrib/ufoai/plugin.cpp:86
msgid "Stepon"
msgstr ""
#: contrib/ufoai/plugin.cpp:92
msgid "Filter level1"
msgstr "Filter level1"
#: contrib/ufoai/plugin.cpp:93
msgid "Level 1"
msgstr "Level 1"
#: contrib/ufoai/plugin.cpp:99
msgid "Filter level2"
msgstr "Filter level2"
#: contrib/ufoai/plugin.cpp:100
msgid "Level 2"
msgstr "Level 2"
#: contrib/ufoai/plugin.cpp:106
msgid "Filter level3"
msgstr "Filter level3"
#: contrib/ufoai/plugin.cpp:107
msgid "Level 3"
msgstr "Level 3"
#: contrib/ufoai/plugin.cpp:113
msgid "Filter level4"
msgstr "Filter level4"
#: contrib/ufoai/plugin.cpp:114
msgid "Level 4"
msgstr "Level 4"
#: contrib/ufoai/plugin.cpp:120
msgid "Filter level5"
msgstr "Filter level5"
#: contrib/ufoai/plugin.cpp:121
msgid "Level 5"
msgstr "Level 5"
#: contrib/ufoai/plugin.cpp:127
msgid "Filter level6"
msgstr "Filter level6"
#: contrib/ufoai/plugin.cpp:128
msgid "Level 6"
msgstr "Level 6"
#: contrib/ufoai/plugin.cpp:134
msgid "Filter level7"
msgstr "Filter level7"
#: contrib/ufoai/plugin.cpp:135
msgid "Level 7"
msgstr "Level 7"
#: contrib/ufoai/plugin.cpp:141
msgid "Filter level8"
msgstr "Filter level8"
#: contrib/ufoai/plugin.cpp:142
msgid "Level 8"
msgstr "Level 8"
#: contrib/ufoai/plugin.cpp:210
msgid "About"
msgstr "Über"
#: radiant/mainframe.cpp:939
#: radiant/mainframe.cpp:934
msgid "_File"

View File

@ -17,110 +17,6 @@ msgstr ""
msgid "Select Inside"
msgstr ""
#: contrib/ufoai/plugin.cpp:48
msgid "UFO: Alien Invasion plugin "
msgstr ""
#: contrib/ufoai/plugin.cpp:64
msgid "Filter actorclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:65
msgid "Actorclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:71
msgid "Filter weaponclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:72
msgid "Weaponclip"
msgstr ""
#: contrib/ufoai/plugin.cpp:78
msgid "Filter nodraw"
msgstr ""
#: contrib/ufoai/plugin.cpp:79
msgid "NoDraw"
msgstr ""
#: contrib/ufoai/plugin.cpp:85
msgid "Filter stepon"
msgstr ""
#: contrib/ufoai/plugin.cpp:86
msgid "Stepon"
msgstr ""
#: contrib/ufoai/plugin.cpp:92
msgid "Filter level1"
msgstr ""
#: contrib/ufoai/plugin.cpp:93
msgid "Level 1"
msgstr ""
#: contrib/ufoai/plugin.cpp:99
msgid "Filter level2"
msgstr ""
#: contrib/ufoai/plugin.cpp:100
msgid "Level 2"
msgstr ""
#: contrib/ufoai/plugin.cpp:106
msgid "Filter level3"
msgstr ""
#: contrib/ufoai/plugin.cpp:107
msgid "Level 3"
msgstr ""
#: contrib/ufoai/plugin.cpp:113
msgid "Filter level4"
msgstr ""
#: contrib/ufoai/plugin.cpp:114
msgid "Level 4"
msgstr ""
#: contrib/ufoai/plugin.cpp:120
msgid "Filter level5"
msgstr ""
#: contrib/ufoai/plugin.cpp:121
msgid "Level 5"
msgstr ""
#: contrib/ufoai/plugin.cpp:127
msgid "Filter level6"
msgstr ""
#: contrib/ufoai/plugin.cpp:128
msgid "Level 6"
msgstr ""
#: contrib/ufoai/plugin.cpp:134
msgid "Filter level7"
msgstr ""
#: contrib/ufoai/plugin.cpp:135
msgid "Level 7"
msgstr ""
#: contrib/ufoai/plugin.cpp:141
msgid "Filter level8"
msgstr ""
#: contrib/ufoai/plugin.cpp:142
msgid "Level 8"
msgstr ""
#: contrib/ufoai/plugin.cpp:210
msgid "About"
msgstr ""
#: radiant/mainframe.cpp:939 radiant/mainframe.cpp:934
msgid "_File"
msgstr ""

View File

@ -59,7 +59,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "spritemodel", "plugins\spri
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "textool", "plugins\textool\textool.vcxproj", "{4F52DED4-285A-4E99-9C78-734D59E8ACD6}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "surface_ufoai", "plugins\surface_ufoai\surface_ufoai.vcxproj", "{F400371F-455F-4B6C-9F13-A2E57110E725}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "surface_idtech2", "plugins\surface_idtech2\surface_idtech2.vcxproj", "{F400371F-455F-4B6C-9F13-A2E57110E725}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "surface_quake2", "plugins\surface_quake2\surface_quake2.vcxproj", "{32AB82AA-C781-4E5E-83A0-A164D371306F}"
EndProject
@ -73,7 +73,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bobtoolz", "contrib\bobtool
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtkgensurf", "contrib\gtkgensurf\gtkgensurf.vcxproj", "{E37A9846-84FC-48F8-9880-954C5D9F8ED0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ufoai", "contrib\ufoai\ufoai.vcxproj", "{850DD97C-B457-497D-B5F5-DA1904FAC5F9}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "idtech2", "contrib\idtech2\idtech2.vcxproj", "{850DD97C-B457-497D-B5F5-DA1904FAC5F9}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bkgrnd2d", "contrib\bkgrnd2d\bkgrnd2d.vcxproj", "{D43C13B9-35AC-4EC1-8A90-DF6D7132B9BD}"
EndProject