From 47a9efa2e6c264a720cfb8985c94fd5b47d9cfa6 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 15 Jan 2011 19:16:53 +0000 Subject: [PATCH] Remove outdated scripts. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1680 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- .../grafx2/scripts/pic_ni_Colorspace12bit.lua | 18 ------------------ .../grafx2/scripts/pic_ni_Colorspace15bit.lua | 18 ------------------ .../grafx2/scripts/pic_ni_Colorspace18bit.lua | 18 ------------------ share/grafx2/scripts/pic_ni_Grid8.lua | 18 ------------------ share/grafx2/scripts/pic_ni_Grid8red.lua | 19 ------------------- share/grafx2/scripts/pic_ni_GridIso.lua | 18 ------------------ share/grafx2/scripts/pic_ni_PaletteX1.lua | 14 -------------- share/grafx2/scripts/pic_ni_PaletteX8.lua | 16 ---------------- 8 files changed, 139 deletions(-) delete mode 100644 share/grafx2/scripts/pic_ni_Colorspace12bit.lua delete mode 100644 share/grafx2/scripts/pic_ni_Colorspace15bit.lua delete mode 100644 share/grafx2/scripts/pic_ni_Colorspace18bit.lua delete mode 100644 share/grafx2/scripts/pic_ni_Grid8.lua delete mode 100644 share/grafx2/scripts/pic_ni_Grid8red.lua delete mode 100644 share/grafx2/scripts/pic_ni_GridIso.lua delete mode 100644 share/grafx2/scripts/pic_ni_PaletteX1.lua delete mode 100644 share/grafx2/scripts/pic_ni_PaletteX8.lua diff --git a/share/grafx2/scripts/pic_ni_Colorspace12bit.lua b/share/grafx2/scripts/pic_ni_Colorspace12bit.lua deleted file mode 100644 index fe88ff56..00000000 --- a/share/grafx2/scripts/pic_ni_Colorspace12bit.lua +++ /dev/null @@ -1,18 +0,0 @@ --- 12bit colour space from palette --- - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y1=0,3,1 do - for x1=0,3,1 do - for y2=0,15,1 do - for x2=0,15,1 do - putpicturepixel(x1*16+x2,y1*16+y2,matchcolor((y2*255)/15, -((y1*4+x1)*255)/15,(x2*255)/15)) - end;end;end;end diff --git a/share/grafx2/scripts/pic_ni_Colorspace15bit.lua b/share/grafx2/scripts/pic_ni_Colorspace15bit.lua deleted file mode 100644 index 9a82a611..00000000 --- a/share/grafx2/scripts/pic_ni_Colorspace15bit.lua +++ /dev/null @@ -1,18 +0,0 @@ --- 15bit colour space from palette --- - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y1=0,3,1 do - for x1=0,7,1 do - for y2=0,31,1 do - for x2=0,31,1 do - putpicturepixel(x1*32+x2,y1*32+y2,matchcolor((y2*255)/31, -((y1*8+x1)*255)/31,(x2*255)/31)) - end;end;end;end diff --git a/share/grafx2/scripts/pic_ni_Colorspace18bit.lua b/share/grafx2/scripts/pic_ni_Colorspace18bit.lua deleted file mode 100644 index 595dd09c..00000000 --- a/share/grafx2/scripts/pic_ni_Colorspace18bit.lua +++ /dev/null @@ -1,18 +0,0 @@ --- 18bit colour space from palette --- - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y1=0,7,1 do - for x1=0,7,1 do - for y2=0,63,1 do - for x2=0,63,1 do - putpicturepixel(x1*64+x2,y1*64+y2,matchcolor((y2*255)/64, -((y1*8+x1)*255)/64,(x2*255)/64)) - end;end;end;end diff --git a/share/grafx2/scripts/pic_ni_Grid8.lua b/share/grafx2/scripts/pic_ni_Grid8.lua deleted file mode 100644 index 29a9e925..00000000 --- a/share/grafx2/scripts/pic_ni_Grid8.lua +++ /dev/null @@ -1,18 +0,0 @@ --- Draw 8x8 grid - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y=0,h-1,1 do - for x=0,w-1,8 do - putpicturepixel(x,y,1); - end;end -for y=0,h-1,8 do - for x=0,w-1,1 do - putpicturepixel(x,y,1); - end;end diff --git a/share/grafx2/scripts/pic_ni_Grid8red.lua b/share/grafx2/scripts/pic_ni_Grid8red.lua deleted file mode 100644 index 70172aea..00000000 --- a/share/grafx2/scripts/pic_ni_Grid8red.lua +++ /dev/null @@ -1,19 +0,0 @@ --- Draw red 8x8 grid - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -c=matchcolor(0xFF,0x00,0x00) -for y=0,h-1,1 do - for x=0,w-1,8 do - putpicturepixel(x,y,c); - end;end -for y=0,h-1,8 do - for x=0,w-1,1 do - putpicturepixel(x,y,c); - end;end diff --git a/share/grafx2/scripts/pic_ni_GridIso.lua b/share/grafx2/scripts/pic_ni_GridIso.lua deleted file mode 100644 index 89e3ad22..00000000 --- a/share/grafx2/scripts/pic_ni_GridIso.lua +++ /dev/null @@ -1,18 +0,0 @@ --- Draw isometric grid - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y=0,h-1,8 do - for x=0,w-1,1 do - putpicturepixel(x,y+(x/2)%8,1); - end;end -for y=0,h-1,8 do - for x=0,w-1,1 do - putpicturepixel(x+3,y+7-((x/2)%8),1); - end;end diff --git a/share/grafx2/scripts/pic_ni_PaletteX1.lua b/share/grafx2/scripts/pic_ni_PaletteX1.lua deleted file mode 100644 index 78e97752..00000000 --- a/share/grafx2/scripts/pic_ni_PaletteX1.lua +++ /dev/null @@ -1,14 +0,0 @@ --- x1 palette to picture - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -w,h=getpicturesize(); -for y1=0,7,1 do - for x1=0,31,1 do - putpicturepixel(x1,y1,y1+x1*8) - end;end diff --git a/share/grafx2/scripts/pic_ni_PaletteX8.lua b/share/grafx2/scripts/pic_ni_PaletteX8.lua deleted file mode 100644 index 1e4c5466..00000000 --- a/share/grafx2/scripts/pic_ni_PaletteX8.lua +++ /dev/null @@ -1,16 +0,0 @@ --- x8 palette to picture - --- Copyright 2010 Paulo Silva --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; version 2 --- of the License. See - -setpicturesize(256,64); -for y1=0,7,1 do - for x1=0,31,1 do - for y2=0,7,1 do - for x2=0,7,1 do - putpicturepixel(x1*8+x2,y1*8+y2,y1+x1*8) - end;end;end;end