-Moved test script to "scripts" directory
-Allow to add other scripts to this dir and run them too. --Cette ligne, et les suivantes ci-dessous, seront ignorées-- A trunk/scripts A + trunk/scripts/test.lua D trunk/test.lua M trunk/buttons.c M trunk/factory.c git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1125 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
7
scripts/test.lua
Normal file
7
scripts/test.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
w, h = getbrushsize()
|
||||
|
||||
for x = 0, w - 1, 1 do
|
||||
for y = 0, h - 1, 1 do
|
||||
putbrushpixel(x, y, (x+y)%256);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user