]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bkgrnd2d/plugin.cpp
Radiant:
[xonotic/netradiant.git] / contrib / bkgrnd2d / plugin.cpp
index 6e92d33b328228c0a3dd757a51767a2f803d4406..35fb072071286131eff680f1ea983cd2e79c63b2 100644 (file)
@@ -1,6 +1,5 @@
 /*
-   Copyright (C) 1999-2007 id Software, Inc. and contributors.
-   For a list of contributors, see the accompanying CONTRIBUTORS file.
+   Copyright (C) 2003 Reed Mideke.
 
    This file is part of GtkRadiant.
 
     v0.25
       - tooltips, follow gtkradiant coding conventions
 
+    Why ?
+    -----
+      http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=88
+
+
     How ?
     -----
      - textures 'n widgets 'n stuff.
@@ -103,28 +107,28 @@ struct toolbar_button_info_s
 struct toolbar_button_info_s toolbar_buttons[NUM_TOOLBAR_BUTTONS] =
 {
        {
-               "bkgrnd2d_xy_toggle.bmp",
+               "bkgrnd2d_xy_toggle.png",
                "xy background",
                "Toggle xy background image",
                DoBkgrndToggleXY,
                IToolbarButton::eToggleButton
        },
        {
-               "bkgrnd2d_xz_toggle.bmp",
+               "bkgrnd2d_xz_toggle.png",
                "xz background",
                "Toggle xz background image",
                DoBkgrndToggleXZ,
                IToolbarButton::eToggleButton
        },
        {
-               "bkgrnd2d_yz_toggle.bmp",
+               "bkgrnd2d_yz_toggle.png",
                "yz background",
                "Toggle yz background image",
                DoBkgrndToggleYZ,
                IToolbarButton::eToggleButton
        },
        {
-               "bkgrnd2d_conf.bmp",
+               "bkgrnd2d_conf.png",
                "Configure",
                "Configure background images",
                ShowBackgroundDialog,
@@ -241,13 +245,7 @@ void DoBkgrndToggleYZ(){
 CSynapseServer* g_pSynapseServer = NULL;
 CSynapseClientBkgrnd2d g_SynapseClient;
 
-#if __GNUC__ >= 4
-#pragma GCC visibility push(default)
-#endif
-extern "C" CSynapseClient * SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const char *version, CSynapseServer *pServer ) {
-#if __GNUC__ >= 4
-#pragma GCC visibility pop
-#endif
+extern "C" CSynapseClient * SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const char *version, CSynapseServer *pServer ){
        if ( strcmp( version, SYNAPSE_VERSION ) ) {
                Syn_Printf( "ERROR: synapse API version mismatch: should be '" SYNAPSE_VERSION "', got '%s'\n", version );
                return NULL;