X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Ftexwindow.cpp;h=9e30e2d23d3e3c65b5aa077e2500a9523085e932;hb=88cea027e6e647250b1f19862393306948801fca;hp=7d85894918c18c8fbd0c25a13ad44ba5d9781065;hpb=e4b1c1a55c5db801601ce3459bc061dd3f3a4ebd;p=xonotic%2Fnetradiant.git diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index 7d858949..9e30e2d2 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -41,7 +41,6 @@ Clean up texture menu. #include #endif #include -#include #include #include #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;