Pages: [1]
  Print  
Author Topic: PATCH: fix a few icons for r_picmip  (Read 6146 times)
andrewj
Member


Cakes 24
Posts: 584



« on: June 21, 2008, 02:50:53 AM »

The following patch adds "nopicmip" shaders for the NoAmmo icon (the red cross on the weapons bar) and the bot skill icons so that they are visible when r_picmip is set high.

Code:
diff -r -u scripts_orig/iconsprites.shader scripts/iconsprites.shader
--- scripts_orig/iconsprites.shader     2008-06-21 18:43:20.000000000 +1000
+++ scripts/iconsprites.shader  2008-06-21 13:42:22.000000000 +1000
@@ -170,6 +170,14 @@
        }
 }
 
+icons/noammo
+{
+  nopicmip
+  {
+    map icons/noammo.tga
+    blendFunc blend
+  }
+}
 
 icons/iconw_gauntlet
 {
diff -r -u scripts_orig/newmenu.shader scripts/newmenu.shader
--- scripts_orig/newmenu.shader 2008-06-21 18:43:08.000000000 +1000
+++ scripts/newmenu.shader      2008-06-21 13:42:22.000000000 +1000
@@ -79,3 +79,48 @@
        }
 }
 
+menu/art/skill1
+{
+  nopicmip
+  {
+               map menu/art/skill1.tga
+               blendfunc blend
+  }
+}
+
+menu/art/skill2
+{
+  nopicmip
+  {
+               map menu/art/skill2.tga
+               blendfunc blend
+  }
+}
+
+menu/art/skill3
+{
+  nopicmip
+  {
+               map menu/art/skill3.tga
+               blendfunc blend
+  }
+}
+
+menu/art/skill4
+{
+  nopicmip
+  {
+               map menu/art/skill4.tga
+               blendfunc blend
+  }
+}
+
+menu/art/skill5
+{
+  nopicmip
+  {
+               map menu/art/skill5.tga
+               blendfunc blend
+  }
+}
+
Logged
Pages: [1]
  Print  
 
Jump to: