Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,16 +1,16 @@
|
|||
File_Open("|(USER_MACRO)\dragon.bmp", OVERWRITE+NOEVENT)
|
||||
BOF Del_Char(ALL)
|
||||
|
||||
#11 = 640 // width of the image
|
||||
#12 = 480 // height of the image
|
||||
#11 = 640 // width of the image
|
||||
#12 = 480 // height of the image
|
||||
Call("CREATE_BMP")
|
||||
|
||||
#1 = 384 // dx
|
||||
#2 = 0 // dy
|
||||
#3 = 6 // depth of recursion
|
||||
#4 = 1 // flip
|
||||
#5 = 150 // x
|
||||
#6 = 300 // y
|
||||
#1 = 384 // dx
|
||||
#2 = 0 // dy
|
||||
#3 = 6 // depth of recursion
|
||||
#4 = 1 // flip
|
||||
#5 = 150 // x
|
||||
#6 = 300 // y
|
||||
Call("DRAGON")
|
||||
Buf_Close(NOMSG)
|
||||
|
||||
|
|
@ -29,15 +29,15 @@ if (#3 == 0) {
|
|||
#2 /= 2
|
||||
#3--
|
||||
if (#4) {
|
||||
Num_Push(1,4) #4=1; #7=#1; #1=#2; #2=-#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; #7=#1; #1=-#2; #2=#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; #7=#1; #1=#2; #2=-#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; #7=#1; #1=-#2; #2=#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; Call("DRAGON") Num_Pop(1,4)
|
||||
} else {
|
||||
Num_Push(1,4) #4=1; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; #7=#1; #1=-#2; #2=#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; #7=#1; #1=#2; #2=-#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; #7=#1; #1=-#2; #2=#7; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=1; Call("DRAGON") Num_Pop(1,4)
|
||||
Num_Push(1,4) #4=0; #7=#1; #1=#2; #2=-#7; Call("DRAGON") Num_Pop(1,4)
|
||||
}
|
||||
}
|
||||
return
|
||||
|
|
@ -53,7 +53,7 @@ while (#1 || #2 ) {
|
|||
#5 += #21; #1 -= #21
|
||||
#6 += #22; #2 -= #22
|
||||
Goto_Pos(1078 + #5 + #6*#11)
|
||||
IC(255, OVERWRITE) // plot a pixel
|
||||
IC(255, OVERWRITE) // plot a pixel
|
||||
}
|
||||
return
|
||||
|
||||
|
|
@ -64,19 +64,19 @@ return
|
|||
:CREATE_BMP:
|
||||
|
||||
// BITMAPFILEHEADER:
|
||||
IT("BM") // bfType
|
||||
#10 = 1078+#11*#12 // file size
|
||||
IT("BM") // bfType
|
||||
#10 = 1078+#11*#12 // file size
|
||||
Call("INS_4BYTES")
|
||||
IC(0, COUNT, 4) // reserved
|
||||
#10 = 1078; Call("INS_4BYTES") // offset to bitmap data
|
||||
IC(0, COUNT, 4) // reserved
|
||||
#10 = 1078; Call("INS_4BYTES") // offset to bitmap data
|
||||
|
||||
// BITMAPINFOHEADER:
|
||||
#10 = 40; Call("INS_4BYTES") // size of BITMAPINFOHEADER
|
||||
#10 = #11; Call("INS_4BYTES") // width of image
|
||||
#10 = #12; Call("INS_4BYTES") // height of image
|
||||
IC(1) IC(0) // number of bitplanes = 1
|
||||
IC(8) IC(0) // bits/pixel = 8
|
||||
IC(0, COUNT, 24) // compression, number of colors etc.
|
||||
#10 = 40; Call("INS_4BYTES") // size of BITMAPINFOHEADER
|
||||
#10 = #11; Call("INS_4BYTES") // width of image
|
||||
#10 = #12; Call("INS_4BYTES") // height of image
|
||||
IC(1) IC(0) // number of bitplanes = 1
|
||||
IC(8) IC(0) // bits/pixel = 8
|
||||
IC(0, COUNT, 24) // compression, number of colors etc.
|
||||
|
||||
// Color table - create greyscale palette
|
||||
for (#1 = 0; #1 < 256; #1++) {
|
||||
|
|
@ -96,5 +96,5 @@ return
|
|||
for (#1 = 0; #1 < 4; #1++) {
|
||||
Ins_Char(#10 & 0xff)
|
||||
#10 = #10 >> 8
|
||||
}
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue