s/GtkRadiant/NetRadiant/
git-svn-id: svn://svn.icculus.org/netradiant/trunk@81 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
867591c067
commit
4eeb89d4b2
|
|
@ -7,7 +7,7 @@
|
||||||
<img src="../images/gtkr_splash.jpg" align="right" hspace="2" vspace="2">
|
<img src="../images/gtkr_splash.jpg" align="right" hspace="2" vspace="2">
|
||||||
\section intro Introduction
|
\section intro Introduction
|
||||||
|
|
||||||
This documentation was generated from GtkRadiant source code using Doxygen.<br>
|
This documentation was generated from NetRadiant source code using Doxygen.<br>
|
||||||
Generated from source in: +target+
|
Generated from source in: +target+
|
||||||
|
|
||||||
\section links Links
|
\section links Links
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<table width="95%" cellpadding="0" cellspacing="0" border="0">
|
<table width="95%" cellpadding="0" cellspacing="0" border="0">
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<a href="../html/index.html">GtkRadiant Doxygen Documentation</a>
|
<a href="../html/index.html">NetRadiant Doxygen Documentation</a>
|
||||||
|
|
||||||
<a name="top"></a>
|
<a name="top"></a>
|
||||||
<h1>Doxygen Quick Reference</h1>
|
<h1>Doxygen Quick Reference</h1>
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ static const char *PLUGIN_COMMANDS = "About...,Colour Changer...,Swap Light Colo
|
||||||
// globals
|
// globals
|
||||||
GtkWidget *g_pRadiantWnd=NULL;
|
GtkWidget *g_pRadiantWnd=NULL;
|
||||||
|
|
||||||
static const char *PLUGIN_ABOUT = "ctfToolz for GtkRadiant\n"
|
static const char *PLUGIN_ABOUT = "ctfToolz for NetRadiant\n"
|
||||||
"by djbob\n"
|
"by djbob\n"
|
||||||
"http://www.planetquake.com/toolz\n\n";
|
"http://www.planetquake.com/toolz\n\n";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -304,7 +304,7 @@ bool ExportDataAsWavefront::WriteToFile(const std::string& path, collapsemode mo
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
outMtl << "# Wavefront material file exported with GtkRadiants brushexport plugin.\n";
|
outMtl << "# Wavefront material file exported with NetRadiants brushexport plugin.\n";
|
||||||
outMtl << "# Material Count: " << (const Unsigned)materials.size() << "\n\n";
|
outMtl << "# Material Count: " << (const Unsigned)materials.size() << "\n\n";
|
||||||
for(std::set<std::string>::const_iterator it(materials.begin()); it != materials.end(); ++it)
|
for(std::set<std::string>::const_iterator it(materials.begin()); it != materials.end(); ++it)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ int g_iEditMode = 0; // 0: editting points 1: adding points
|
||||||
int g_iActiveTarget = -1;
|
int g_iActiveTarget = -1;
|
||||||
int g_iPreviewRunning = 0; // 0: no preview 1: start preview 2: preview in progress
|
int g_iPreviewRunning = 0; // 0: no preview 1: start preview 2: preview in progress
|
||||||
|
|
||||||
static const char *PLUGIN_ABOUT = "Camera v1.0 for GtkRadiant\n"
|
static const char *PLUGIN_ABOUT = "Camera v1.0 for NetRadiant\n"
|
||||||
"by Arnout van Meer (rr2do2@splashdamage.com)\n\n"
|
"by Arnout van Meer (rr2do2@splashdamage.com)\n\n"
|
||||||
"This product contains software technology\n"
|
"This product contains software technology\n"
|
||||||
"from id Software, Inc. ('id Technology').\n"
|
"from id Software, Inc. ('id Technology').\n"
|
||||||
|
|
@ -84,7 +84,7 @@ const char* QERPlug_Init(void* hApp, void* pMainWidget)
|
||||||
|
|
||||||
GetFileTypeRegistry()->addType("camera", "", filetype_t("Camera file", "*.camera"));
|
GetFileTypeRegistry()->addType("camera", "", filetype_t("Camera file", "*.camera"));
|
||||||
|
|
||||||
return "Camera for GtkRadiant";
|
return "Camera for NetRadiant";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* QERPlug_GetName()
|
const char* QERPlug_GetName()
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@ void DoSaveCamera() {
|
||||||
break;
|
break;
|
||||||
} else if( !strcmp( fullpathtofile, checkCam->GetFileName() ) ) {
|
} else if( !strcmp( fullpathtofile, checkCam->GetFileName() ) ) {
|
||||||
char error[PATH_MAX+64];
|
char error[PATH_MAX+64];
|
||||||
sprintf( error, "Camera file \'%s\' is currently loaded by GtkRadiant.\nPlease select a different filename.", fullpathtofile );
|
sprintf( error, "Camera file \'%s\' is currently loaded by NetRadiant.\nPlease select a different filename.", fullpathtofile );
|
||||||
g_FuncTable.m_pfnMessageBox( (GtkWidget *)g_pRadiantWnd, error, "Save error", eMB_OK );
|
g_FuncTable.m_pfnMessageBox( (GtkWidget *)g_pRadiantWnd, error, "Save error", eMB_OK );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ void DoAboutDlg ()
|
||||||
label = gtk_label_new ("Version 1.000\n\n"
|
label = gtk_label_new ("Version 1.000\n\n"
|
||||||
"Gtk port by Leonardo Zide\nleo@lokigames.com\n\n"
|
"Gtk port by Leonardo Zide\nleo@lokigames.com\n\n"
|
||||||
"Written by Geoffrey DeWan\ngdewan@prairienet.org\n\n"
|
"Written by Geoffrey DeWan\ngdewan@prairienet.org\n\n"
|
||||||
"Built against GtkRadiant " RADIANT_VERSION "\n"
|
"Built against NetRadiant " RADIANT_VERSION "\n"
|
||||||
__DATE__
|
__DATE__
|
||||||
);
|
);
|
||||||
gtk_widget_show (label);
|
gtk_widget_show (label);
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,7 @@ void about_plugin_window()
|
||||||
vbox = gtk_vbox_new(FALSE, 10); // create a box to arrange new objects vertically
|
vbox = gtk_vbox_new(FALSE, 10); // create a box to arrange new objects vertically
|
||||||
gtk_container_add(GTK_CONTAINER(window), vbox); // add the box to the window
|
gtk_container_add(GTK_CONTAINER(window), vbox); // add the box to the window
|
||||||
|
|
||||||
label = gtk_label_new("SunPlug v1.0 for GtkRadiant 1.5\nby Topsun"); // create a label
|
label = gtk_label_new("SunPlug v1.0 for NetRadiant 1.5\nby Topsun"); // create a label
|
||||||
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); // text align left
|
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); // text align left
|
||||||
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 2); // insert the label in the box
|
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 2); // insert the label in the box
|
||||||
|
|
||||||
|
|
@ -459,4 +459,4 @@ void MapCoordinator()
|
||||||
|
|
||||||
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); // center the window
|
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); // center the window
|
||||||
gtk_widget_show_all(window); // show the window and all subelements
|
gtk_widget_show_all(window); // show the window and all subelements
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ enum EMessageBoxReturn
|
||||||
|
|
||||||
// simple Message Box, see above for the 'type' flags
|
// simple Message Box, see above for the 'type' flags
|
||||||
|
|
||||||
typedef EMessageBoxReturn (* PFN_QERAPP_MESSAGEBOX) (GtkWidget *parent, const char* text, const char* caption/* = "GtkRadiant"*/, EMessageBoxType type/* = eMB_OK*/, EMessageBoxIcon icon/* = eMB_ICONDEFAULT*/);
|
typedef EMessageBoxReturn (* PFN_QERAPP_MESSAGEBOX) (GtkWidget *parent, const char* text, const char* caption/* = "NetRadiant"*/, EMessageBoxType type/* = eMB_OK*/, EMessageBoxIcon icon/* = eMB_ICONDEFAULT*/);
|
||||||
|
|
||||||
// file and directory selection functions return null if the user hits cancel
|
// file and directory selection functions return null if the user hits cancel
|
||||||
// - 'title' is the dialog title (can be null)
|
// - 'title' is the dialog title (can be null)
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
typedef struct _GtkWidget GtkWidget;
|
typedef struct _GtkWidget GtkWidget;
|
||||||
/// \brief Shows a modal message-box.
|
/// \brief Shows a modal message-box.
|
||||||
EMessageBoxReturn gtk_MessageBox(GtkWidget *parent, const char* text, const char* title = "GtkRadiant", EMessageBoxType type = eMB_OK, EMessageBoxIcon icon = eMB_ICONDEFAULT);
|
EMessageBoxReturn gtk_MessageBox(GtkWidget *parent, const char* text, const char* title = "NetRadiant", EMessageBoxType type = eMB_OK, EMessageBoxIcon icon = eMB_ICONDEFAULT);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ void Sys_LogFile(bool enable)
|
||||||
time_t localtime;
|
time_t localtime;
|
||||||
time(&localtime);
|
time(&localtime);
|
||||||
globalOutputStream() << "Today is: " << ctime(&localtime)
|
globalOutputStream() << "Today is: " << ctime(&localtime)
|
||||||
<< "This is GtkRadiant '" RADIANT_VERSION "' compiled " __DATE__ "\n" RADIANT_ABOUTMSG "\n";
|
<< "This is NetRadiant '" RADIANT_VERSION "' compiled " __DATE__ "\n" RADIANT_ABOUTMSG "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gtk_MessageBox (0, "Failed to create log file, check write permissions in Radiant directory.\n",
|
gtk_MessageBox (0, "Failed to create log file, check write permissions in Radiant directory.\n",
|
||||||
|
|
|
||||||
|
|
@ -474,7 +474,7 @@ void DoAbout()
|
||||||
ModalDialog dialog;
|
ModalDialog dialog;
|
||||||
ModalDialogButton ok_button(dialog, eIDOK);
|
ModalDialogButton ok_button(dialog, eIDOK);
|
||||||
|
|
||||||
GtkWindow* window = create_modal_dialog_window(MainFrame_getWindow(), "About GtkRadiant", dialog);
|
GtkWindow* window = create_modal_dialog_window(MainFrame_getWindow(), "About NetRadiant", dialog);
|
||||||
|
|
||||||
{
|
{
|
||||||
GtkVBox* vbox = create_dialog_vbox(4, 4);
|
GtkVBox* vbox = create_dialog_vbox(4, 4);
|
||||||
|
|
@ -499,15 +499,15 @@ void DoAbout()
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
GtkLabel* label = GTK_LABEL(gtk_label_new("GtkRadiant " RADIANT_VERSION "\n"
|
GtkLabel* label = GTK_LABEL(gtk_label_new("NetRadiant " RADIANT_VERSION "\n"
|
||||||
__DATE__ "\n\n"
|
__DATE__ "\n\n"
|
||||||
RADIANT_ABOUTMSG "\n\n"
|
RADIANT_ABOUTMSG "\n\n"
|
||||||
"By qeradiant.com\n\n"
|
"By alientrap.org\n\n"
|
||||||
"This program is free software\n"
|
"This program is free software\n"
|
||||||
"licensed under the GNU GPL.\n\n"
|
"licensed under the GNU GPL.\n\n"
|
||||||
"GtkRadiant is unsupported, however\n"
|
"NetRadiant is unsupported, however\n"
|
||||||
"you may report your problems at\n"
|
"you may report your problems at\n"
|
||||||
"http://zerowing.idsoftware.com/bugzilla"
|
"http://www.alientrap.org/forum/" // FIXME real URL
|
||||||
));
|
));
|
||||||
|
|
||||||
gtk_widget_show(GTK_WIDGET(label));
|
gtk_widget_show(GTK_WIDGET(label));
|
||||||
|
|
|
||||||
|
|
@ -1957,7 +1957,7 @@ GtkMenuItem* create_file_menu()
|
||||||
menu_separator(menu);
|
menu_separator(menu);
|
||||||
MRU_constructMenu(menu);
|
MRU_constructMenu(menu);
|
||||||
menu_separator(menu);
|
menu_separator(menu);
|
||||||
create_menu_item_with_mnemonic(menu, "Check for GtkRadiant update (web)", "CheckForUpdate");
|
create_menu_item_with_mnemonic(menu, "Check for NetRadiant update (web)", "CheckForUpdate"); // FIXME
|
||||||
create_menu_item_with_mnemonic(menu, "E_xit", "Exit");
|
create_menu_item_with_mnemonic(menu, "E_xit", "Exit");
|
||||||
|
|
||||||
return file_menu_item;
|
return file_menu_item;
|
||||||
|
|
|
||||||
|
|
@ -751,7 +751,7 @@ GtkWindow* PrefsDlg::BuildDialog()
|
||||||
PreferencesDialog_addInterfacePreferences(FreeCaller1<PreferencesPage&, Interface_constructPreferences>());
|
PreferencesDialog_addInterfacePreferences(FreeCaller1<PreferencesPage&, Interface_constructPreferences>());
|
||||||
Mouse_registerPreferencesPage();
|
Mouse_registerPreferencesPage();
|
||||||
|
|
||||||
GtkWindow* dialog = create_floating_window("GtkRadiant Preferences", m_parent);
|
GtkWindow* dialog = create_floating_window("NetRadiant Preferences", m_parent);
|
||||||
|
|
||||||
{
|
{
|
||||||
GtkWidget* mainvbox = gtk_vbox_new(FALSE, 5);
|
GtkWidget* mainvbox = gtk_vbox_new(FALSE, 5);
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
|
@ -558,7 +558,7 @@ int main (int argc, char **argv)
|
||||||
|
|
||||||
// using GtkRadiant's versioning next to Id's versioning
|
// using GtkRadiant's versioning next to Id's versioning
|
||||||
printf ("Q3Data - (c) 1999 Id Software Inc.\n");
|
printf ("Q3Data - (c) 1999 Id Software Inc.\n");
|
||||||
printf ("GtkRadiant - v" RADIANT_VERSION " " __DATE__ "\n");
|
printf ("NetRadiant - v" RADIANT_VERSION " " __DATE__ "\n");
|
||||||
|
|
||||||
ExpandWildcards (&argc, &argv);
|
ExpandWildcards (&argc, &argv);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -674,7 +674,7 @@ int main( int argc, char **argv )
|
||||||
|
|
||||||
Sys_Printf( "Q3Map - v1.0r (c) 1999 Id Software Inc.\n" );
|
Sys_Printf( "Q3Map - v1.0r (c) 1999 Id Software Inc.\n" );
|
||||||
Sys_Printf( "Q3Map (ydnar) - v" Q3MAP_VERSION "\n" );
|
Sys_Printf( "Q3Map (ydnar) - v" Q3MAP_VERSION "\n" );
|
||||||
Sys_Printf( "GtkRadiant - v" RADIANT_VERSION " " __DATE__ " " __TIME__ "\n" );
|
Sys_Printf( "NetRadiant - v" RADIANT_VERSION " " __DATE__ " " __TIME__ "\n" );
|
||||||
Sys_Printf( "%s\n", Q3MAP_MOTD );
|
Sys_Printf( "%s\n", Q3MAP_MOTD );
|
||||||
|
|
||||||
/* ydnar: new path initialization */
|
/* ydnar: new path initialization */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user