]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texwindow.cpp
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / radiant / texwindow.cpp
index 7d85894918c18c8fbd0c25a13ad44ba5d9781065..9e30e2d23d3e3c65b5aa077e2500a9523085e932 100644 (file)
@@ -41,7 +41,6 @@ Clean up texture menu.
 #include <dirent.h>
 #endif
 #include <gtk/gtk.h>
-#include <glib/gi18n.h>
 #include <assert.h>
 #include <sys/stat.h>
 #include "stdafx.h"
@@ -264,6 +263,8 @@ void Texture_SetMode(int iMenu)
     iMode = -1;
     texturing = false;
     break;
+  default:
+    return;
   }
 
   g_qeglobals.d_savedinfo.iTexMenu = iMenu;
@@ -509,7 +510,6 @@ void BuildShaderList()
     if (!vfsGetFullPath(filename, 0, 0))
     {
       Sys_FPrintf(SYS_ERR, "Couldn't find full path for '%s'\n", g_pGameDescription->mShaderlist.GetBuffer());
-      Sys_FPrintf(SYS_ERR, "did you hit bug http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=130 ?\n");
       return;
     }
     Sys_Printf("Parsing shader files from %s\n", vfsGetFullPath(filename, 0, 0));
@@ -1024,7 +1024,6 @@ void Texture_ShowStartupShaders()
     if (!vfsGetFullPath(filename, 0, 0))
     {
       Sys_FPrintf(SYS_ERR, "Couldn't find full path for '%s'\n", g_pGameDescription->mShaderlist.GetBuffer());
-      Sys_FPrintf(SYS_ERR, "did you hit bug http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=130 ?\n");
       return;
     }
 
@@ -1791,7 +1790,6 @@ void TexWnd::OnMButtonDown (guint32 flags, int pointx, int pointy)
 void TexWnd::OnLButtonUp (guint32 flags, int pointx, int pointy)
 {
   ReleaseCapture ();
-  // NOTE TTimo http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=23
   DragDropTexture (flags, pointx, pointy);
 }
 
@@ -1865,8 +1863,6 @@ void TexWnd::OnMouseWheel(bool bUp)
   RedrawWindow();
 }
 
-// NOTE TTimo
-// http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=23
 void TexWnd::DragDropTexture (guint32 flags, int pointx, int pointy)
 {
   // This gets called from leftmouse up event. We see if the mouseup is above
@@ -1901,7 +1897,6 @@ void TexWnd::DragDropTexture (guint32 flags, int pointx, int pointy)
     return;
 
   // check if the camwindow isn't being partially hidden by another window at this point
-  // http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=187
   m_ptXcheck = m_ptX;
   m_ptYcheck = m_ptY;