Add(MainForm,15261923,287,189)
{
Left=20
Top=105
Width=440
Height=421
Color=0
Caption="matrix cube"
BorderStyle=6
WindowsState=2
Point(onResize)
Point(Handle)
Point(onKeyDown)
Point(onMouseDown)
link(onCreate,11368830:doData,[(326,209)(326,160)])
link(onResize,16299401:doEvent1,[])
link(onKeyDown,11461895:doWork1,[(342,223)])
link(onMouseDown,11461895:doWork2,[])
}
Add(GL_Main,12986311,434,210)
{
Color=0
link(onInit,12198675:doInit,[])
link(onViewPort,14945863:doEvent1,[(489,223)(489,328)])
link(Handle,15261923:Handle,[(440,201)(353,201)(353,244)(293,244)])
}
Add(Timer,9506849,441,462)
{
Interval=3
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,581,462)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
link(onEvent,7411207:doNext,[])
}
Add(Hub,1049454,490,462)
{
OutCount=6
link(onEvent1,771925:doClear,[])
link(onEvent2,771925:doPushMatrix,[])
link(onEvent3,3680994:doEvent1,[(529,482)(529,685)])
link(onEvent4,9715162:doRotate,[(564,489)(564,531)])
link(onEvent5,771925:doPopMatrix,[(536,496)(536,482)])
link(onEvent6,12986311:doFlip,[(515,503)(515,383)(418,383)(418,230)])
}
Add(Hub,16299401,364,210)
{
OutCount=3
link(onEvent1,12986311:doInit,[])
link(onEvent2,12986311:doViewPort,[])
link(onEvent3,9506849:doTimer,[(395,230)(395,468)])
}
Add(GL_Perspective,3410847,553,371)
{
Fovy=90
zFar=30
link(Aspect,6811348:Result,[])
}
Add(GL_GluTools,12198675,497,210)
{
Texture=0
link(onInit,1101264:doEnabled,[])
}
Add(GL_Options,1101264,546,210)
{
link(onEvent,5851269:doEnabled,[])
}
Add(GL_Options,4378486,693,210)
{
Flag=3
}
Add(GL_Options,5809249,644,210)
{
Flag=2
link(onEvent,4378486:doEnabled,[])
}
Add(GL_Options,5851269,595,210)
{
Flag=10
link(onEvent,5809249:doEnabled,[])
}
Add(GL_Texture,14234746,749,686)
{
UseList=0
Index=1
link(Bitmap,3805009:Var3,[(755,628)])
}
Add(MultiElementEx,296993,924,525)
{
}
BEGIN_SDK
Add(EditMultiEx,4183434,0,0)
{
WorkCount=#7:doBegin|
EventCount=#7:onEvent|
Width=1056
Height=207
link(doBegin,7523016:doCallList,[(12,6)(12,27)])
}
Add(GL_VertexTexture,8410006,413,21)
{
T=1
link(onTexCoord,7164515:doVertex,[])
}
Add(GL_Vertex3D,7164515,462,21)
{
X=-10
Y=10
Z=10
link(onVertex,5978808:doTexCoord,[])
}
Add(GL_VertexTexture,4612391,315,21)
{
S=1
T=1
link(onTexCoord,10009330:doVertex,[])
}
Add(GL_Vertex3D,10009330,364,21)
{
X=10
Y=10
Z=10
link(onVertex,8410006:doTexCoord,[])
}
Add(GL_VertexTexture,4047880,217,21)
{
S=1
link(onTexCoord,14063594:doVertex,[])
}
Add(GL_Vertex3D,14063594,266,21)
{
X=10
Y=-10
Z=10
link(onVertex,4612391:doTexCoord,[])
}
Add(GL_VertexTexture,5832741,119,21)
{
link(onTexCoord,13234197:doVertex,[])
}
Add(GL_End,16226316,931,126)
{
link(onEnd,4183434:onEvent,[(970,132)(970,6)])
}
Add(GL_Begin,1397646,70,21)
{
BlockType=7
link(onBegin,5832741:doTexCoord,[])
}
Add(GL_Vertex3D,13234197,168,21)
{
X=-10
Y=-10
Z=10
link(onVertex,4047880:doTexCoord,[])
}
Add(GL_CallList,7523016,21,21)
{
Index=1
link(onCallList,1397646:doBegin,[])
}
Add(GL_VertexTexture,6752261,833,21)
{
S=1
link(onTexCoord,12696379:doVertex,[])
}
Add(GL_Vertex3D,11145609,588,21)
{
X=-10
Y=10
Z=-10
link(onVertex,1890786:doTexCoord,[])
}
Add(GL_VertexTexture,6860625,735,21)
{
S=1
T=1
link(onTexCoord,11547272:doVertex,[])
}
Add(GL_Vertex3D,12696379,889,21)
{
X=10
Y=10
Z=-10
link(onVertex,10655344:doTexCoord,[(928,27)(928,69)(109,69)(109,83)])
}
Add(GL_VertexTexture,1890786,637,21)
{
T=1
link(onTexCoord,15971436:doVertex,[])
}
Add(GL_Vertex3D,11547272,784,21)
{
X=10
Y=-10
Z=-10
link(onVertex,6752261:doTexCoord,[])
}
Add(GL_VertexTexture,5978808,539,21)
{
link(onTexCoord,11145609:doVertex,[])
}
Add(GL_Vertex3D,15971436,686,21)
{
X=-10
Y=-10
Z=-10
link(onVertex,6860625:doTexCoord,[])
}
Add(GL_VertexTexture,16365766,413,77)
{
S=1
link(onTexCoord,7033258:doVertex,[])
}
Add(GL_Vertex3D,7033258,462,77)
{
X=10
Y=10
Z=-10
link(onVertex,7926174:doTexCoord,[])
}
Add(GL_VertexTexture,224723,315,77)
{
S=1
T=1
link(onTexCoord,13986087:doVertex,[])
}
Add(GL_Vertex3D,13986087,364,77)
{
X=10
Y=10
Z=10
link(onVertex,16365766:doTexCoord,[])
}
Add(GL_VertexTexture,4885084,217,77)
{
T=1
link(onTexCoord,2661196:doVertex,[])
}
Add(GL_Vertex3D,2661196,266,77)
{
X=10
Y=-10
Z=10
link(onVertex,224723:doTexCoord,[])
}
Add(GL_VertexTexture,10655344,119,77)
{
link(onTexCoord,2788968:doVertex,[])
}
Add(GL_Vertex3D,2788968,168,77)
{
X=10
Y=-10
Z=-10
link(onVertex,4885084:doTexCoord,[])
}
Add(GL_VertexTexture,1296275,833,77)
{
S=1
link(onTexCoord,12065803:doVertex,[])
}
Add(GL_Vertex3D,12065803,882,77)
{
X=-10
Y=10
Z=-10
link(onVertex,5258170:doTexCoord,[(921,83)(921,118)(109,118)(109,132)])
}
Add(GL_VertexTexture,11101083,735,77)
{
S=1
T=1
link(onTexCoord,13156204:doVertex,[])
}
Add(GL_Vertex3D,13156204,784,77)
{
X=-10
Y=10
Z=10
link(onVertex,1296275:doTexCoord,[])
}
Add(GL_VertexTexture,7104660,637,77)
{
T=1
link(onTexCoord,14900418:doVertex,[])
}
Add(GL_Vertex3D,14900418,686,77)
{
X=-10
Y=-10
Z=10
link(onVertex,11101083:doTexCoord,[])
}
Add(GL_VertexTexture,7926174,539,77)
{
link(onTexCoord,9222573:doVertex,[])
}
Add(GL_Vertex3D,9222573,588,77)
{
X=-10
Y=-10
Z=-10
link(onVertex,7104660:doTexCoord,[])
}
Add(GL_VertexTexture,9956257,413,126)
{
T=1
link(onTexCoord,15192860:doVertex,[])
}
Add(GL_Vertex3D,15192860,462,126)
{
X=-10
Y=10
Z=10
link(onVertex,7009876:doTexCoord,[])
}
Add(GL_VertexTexture,5121236,315,126)
{
S=1
T=1
link(onTexCoord,8063761:doVertex,[])
}
Add(GL_Vertex3D,8063761,364,126)
{
X=10
Y=10
Z=10
link(onVertex,9956257:doTexCoord,[])
}
Add(GL_VertexTexture,6725240,217,126)
{
S=1
link(onTexCoord,4371584:doVertex,[])
}
Add(GL_Vertex3D,4371584,266,126)
{
X=10
Y=10
Z=-10
link(onVertex,5121236:doTexCoord,[])
}
Add(GL_VertexTexture,5258170,119,126)
{
link(onTexCoord,15183169:doVertex,[])
}
Add(GL_Vertex3D,15183169,168,126)
{
X=-10
Y=10
Z=-10
link(onVertex,6725240:doTexCoord,[])
}
Add(GL_VertexTexture,744870,833,126)
{
T=1
link(onTexCoord,10024947:doVertex,[])
}
Add(GL_Vertex3D,10024947,882,126)
{
X=-10
Y=-10
Z=10
link(onVertex,16226316:doEnd,[])
}
Add(GL_VertexTexture,16675529,735,126)
{
S=1
T=1
link(onTexCoord,4750747:doVertex,[])
}
Add(GL_Vertex3D,4750747,784,126)
{
X=10
Y=-10
Z=10
link(onVertex,744870:doTexCoord,[])
}
Add(GL_VertexTexture,4750058,637,126)
{
S=1
link(onTexCoord,6562168:doVertex,[])
}
Add(GL_Vertex3D,6562168,686,126)
{
X=10
Y=-10
Z=-10
link(onVertex,16675529:doTexCoord,[])
}
Add(GL_VertexTexture,7009876,539,126)
{
link(onTexCoord,16143108:doVertex,[])
}
Add(GL_Vertex3D,16143108,588,126)
{
X=-10
Y=-10
Z=-10
link(onVertex,4750058:doTexCoord,[])
}
END_SDK
Add(PaintBox,324295,693,581)
{
Left=-1000
Top=-1000
Width=512
Height=512
Color=0
Visible=1
Point(onMouseDown)
Point(doBringToFront)
}
Add(MultiElementEx,800294,693,637)
{
link(Bitmap,3805009:Var2,[])
}
BEGIN_SDK
Add(EditMultiEx,5032481,21,21)
{
WorkCount=#5:##add|
DataCount=#6:Bitmap|5:Index|
Width=1056
Height=508
VOffset=70
HOffset=350
Point(##add)
link(##add,4336738:doEvent1,[(50,97)(50,265)])
}
Add(LineBreakEx,8554824,329,343)
{
Caption="X"
Type=3
link(_Data,12095085:Result,[])
}
Add(LineBreakEx,6043661,259,343)
{
Caption="Y"
Type=3
link(_Data,6244430:Count,[])
}
Add(LineBreakEx,518403,798,210)
{
Caption="X"
Type=2
}
Add(LineBreakEx,498210,805,224)
{
Caption="Y"
Type=2
}
Add(MultiElementEx,13989938,721,196)
{
}
BEGIN_SDK
Add(EditMultiEx,4840818,14,14)
{
WorkCount=#8:doEvent1|8:doRandom|
VarCount=#5:Color|
DataCount=#5:Index|
Width=172
VOffset=70
HOffset=70
link(doEvent1,11467725:doEvent1,[])
link(Color,4062941:Color,[])
}
Add(RGB,4062941,84,147)
{
B=180
link(G,13774692:Random,[])
}
Add(Hub,11467725,28,84)
{
link(onEvent1,13774692:doRandom,[])
link(onEvent2,4062941:doRGB,[(74,97)(74,153)])
}
Add(Random,13774692,91,84)
{
Min=200
Max=255
}
END_SDK
Add(Hub,1834365,658,245)
{
OutCount=7
link(onEvent1,9092366:doDraw,[(690,251)(690,153)])
link(onEvent2,13989938:doEvent1,[(697,258)(697,202)])
link(onEvent3,5253420:doFont,[])
link(onEvent4,198922:doDraw,[(767,272)(767,258)])
link(onEvent6,4621440:doEvent1,[])
}
Add(CounterEx,6244430,259,280)
{
Max=1024
Step=16
Default=-16
Point(onThroughMax)
Point(doMax)
link(onNext,471333:doEvent1,[(344,286)(344,237)])
link(onThroughMax,15905774:doWork2,[])
}
Add(CounterEx,3674003,210,273)
{
Max=10
Point(onThroughMax)
Point(doMax)
link(onThroughMax,6244430:doNext,[])
}
Add(LineBreakEx,844315,665,371)
{
Caption="X"
Type=2
}
Add(Math,4861988,714,343)
{
OpType=1
Op2=512
ResultType=0
link(Op1,14895781:getVar,[])
link(Op2,12095085:Result1,[(727,334)(342,334)])
}
Add(Timer,11055183,105,273)
{
Interval=33
Enable=1
link(onTimer,3677299:doFor,[])
}
Add(For,3677299,154,273)
{
End=20
link(onEvent,3674003:doNext,[])
}
Add(Font,5253420,714,259)
{
Font=[Symbol,10,1,0,2]
link(onFont,198922:doFont,[])
link(Color,13989938:Color,[])
}
Add(Img_Text,198922,784,252)
{
Point(X)
Point(Y)
Point(doFont)
link(Bitmap,14413677:getVar,[])
link(Text,8934349:Var1,[(797,232)(545,232)])
link(X,518403:getVar,[])
link(Y,498210:getVar,[])
}
Add(Img_Rectangle,14469501,651,441)
{
Point2=1048592
Point2AsOffset=0
Style=1
BgColor=0
Point(Point1)
link(Bitmap,11392491:getVar,[])
link(Point1,3807810:Point,[])
}
Add(PointXY,3807810,665,399)
{
link(X,844315:getVar,[])
link(Y,4861988:Result,[(678,390)(720,390)])
}
Add(LineBreakEx,14895781,714,308)
{
Caption="Y"
Type=2
}
Add(Hub,4336738,70,259)
{
OutCount=3
link(onEvent1,15905774:doWork1,[(312,265)])
link(onEvent3,11055183:doTimer,[])
}
Add(Memory,7351177,504,238)
{
link(onData,14877015:doEvent1,[])
}
Add(MultiElementEx,12095085,329,287)
{
link(onRandom,3674003:doMax,[(370,293)(370,326)(200,326)(200,286)])
}
BEGIN_SDK
Add(EditMultiEx,9253230,21,21)
{
WorkCount=#8:doRandom|5:doMax|
EventCount=#8:onRandom|
VarCount=#6:Result|7:Result1|
Width=391
Height=144
link(doRandom,9916499:doRandom,[(60,27)(60,76)])
link(Result,3847005:Result,[(27,110)(125,110)])
link(Result1,9995693:Result,[(34,117)(237,117)])
}
Add(Random,9916499,70,70)
{
Max=32
Point(doMax)
link(onRandom,3847005:doOperation,[])
}
Add(Random,15274809,287,70)
{
@Hint=#8:скорость|
Min=30
Max=90
link(onRandom,9253230:onRandom,[(326,76)(326,27)])
AddHint(-20,62,62,13,@Hint)
}
Add(Math,3847005,119,70)
{
OpType=2
Op2=16
link(onResult,12138105:doRandom,[])
}
Add(Random,12138105,175,70)
{
@Hint=#13:длинна змейки|
Min=8
Max=15
link(onRandom,9995693:doOperation,[])
AddHint(-35,63,92,13,@Hint)
}
Add(Math,9995693,231,70)
{
OpType=2
Op2=16
link(onResult,15274809:doRandom,[])
}
END_SDK
Add(LineBreakEx,15080206,1015,245)
{
Caption="X"
Type=2
}
Add(MultiElementEx,10653342,938,231)
{
}
BEGIN_SDK
Add(EditMultiEx,1031962,14,14)
{
WorkCount=#8:doEvent1|
VarCount=#5:Color|
DataCount=#5:Index|
Width=165
Height=186
VOffset=70
HOffset=70
link(doEvent1,10917155:doEvent1,[])
link(Color,16125291:Color,[])
}
Add(RGB,16125291,84,140)
{
link(G,4246642:Random,[])
}
Add(Hub,10917155,42,84)
{
OutCount=3
link(onEvent1,4246642:doRandom,[])
link(onEvent2,16125291:doRGB,[(74,97)(74,146)])
}
Add(Random,4246642,91,84)
{
Min=40
Max=160
}
END_SDK
Add(Hub,4621440,861,280)
{
OutCount=5
link(onEvent1,10653342:doEvent1,[(914,286)(914,237)])
link(onEvent2,1440910:doFont,[])
link(onEvent3,12859257:doOperation,[(914,300)(914,363)])
link(onEvent4,5289275:doDraw,[(891,307)(891,468)])
link(onEvent5,8342332:doDraw,[(991,314)(991,286)])
}
Add(LineBreakEx,14704217,945,371)
{
Caption="X"
Type=2
}
Add(Math,12859257,1001,357)
{
OpType=1
Op2=16
ResultType=0
link(Op1,9021834:getVar,[])
}
Add(Font,1440910,931,287)
{
Font=[Symbol,10,1,0,2]
link(onFont,8342332:doFont,[])
link(Color,10653342:Color,[])
}
Add(Img_Text,8342332,1001,280)
{
Point(X)
Point(Y)
Point(doFont)
link(Bitmap,7960080:getVar,[])
link(Text,2050649:Value,[])
link(X,15080206:getVar,[])
link(Y,14950402:Var3,[(1028,271)(986,271)])
}
Add(Img_Rectangle,5289275,931,462)
{
Point2=1048592
Point2AsOffset=0
Style=1
BgColor=0
Point(Point1)
link(Bitmap,16429360:getVar,[(937,453)(902,453)])
link(Point1,10176199:Point,[])
}
Add(PointXY,10176199,945,413)
{
link(X,14704217:getVar,[])
link(Y,14950402:Var1,[(958,397)])
}
Add(LineBreakEx,9021834,1001,329)
{
Caption="Y"
Type=2
}
Add(GetDataEx,14950402,980,392)
{
Angle=1
link(Data,12859257:Result,[(1007,397)])
}
Add(Img_Rectangle,9092366,721,147)
{
Point2=1048592
Point2AsOffset=0
Style=1
BgColor=0
Point(Point1)
link(Bitmap,6596993:getVar,[])
link(Point1,7309819:Point,[])
}
Add(LineBreakEx,3550946,735,70)
{
Caption="X"
Type=2
}
Add(LineBreakEx,11103579,770,70)
{
Caption="Y"
Type=2
}
Add(PointXY,7309819,735,98)
{
link(X,3550946:getVar,[])
link(Y,11103579:getVar,[(748,89)(776,89)])
}
Add(LineBreakEx,12492403,371,35)
{
Caption="bmp"
Type=3
link(_Data,5032481:Bitmap,[])
}
Add(LineBreakEx,14413677,784,196)
{
Caption="bmp"
Type=2
}
Add(LineBreakEx,6596993,721,49)
{
Caption="bmp"
Type=2
}
Add(LineBreakEx,11392491,651,350)
{
Caption="bmp"
Type=2
}
Add(LineBreakEx,7960080,1001,224)
{
Caption="bmp"
Type=2
}
Add(LineBreakEx,16429360,896,427)
{
Caption="bmp"
Type=2
}
Add(Memory,2050649,1008,182)
{
}
Add(Hub,471333,357,231)
{
link(onEvent1,5992193:In,[(386,237)(386,216)])
link(onEvent2,10306143:doRandom,[])
}
Add(DoData,3891527,539,294)
{
link(onEventData,2050649:doValue,[(844,300)(844,188)])
link(Data,8934349:Var2,[])
}
Add(LineBreak,2992599,490,294)
{
Caption="old"
link(Out,3891527:doData,[])
Primary=[5992193,-91,-84]
}
Add(Random,10306143,392,238)
{
Min=97
Max=122
link(onRandom,15957358:doConvert,[])
}
Add(ConvertorEx,15957358,448,238)
{
Mode=4
link(onResult,7351177:doValue,[])
link(Data,10306143:Random,[(454,229)(436,229)(436,279)(398,279)])
}
Add(If_else,11451984,595,238)
{
Type=2
Op2=Integer(550)
link(onFalse,1834365:doEvent1,[])
link(Op1,12566877:getVar,[])
}
Add(LineBreakEx,12566877,595,203)
{
Caption="Y"
Type=2
}
Add(Hub,14877015,553,238)
{
link(onEvent1,11451984:doCompare,[])
link(onEvent2,12623104:doEvent1,[(585,251)(585,349)])
}
Add(GetDataEx,8934349,539,273)
{
Angle=3
link(Data,7351177:Value,[(510,278)])
}
Add(Hub,12623104,602,343)
{
link(onEvent1,4861988:doOperation,[])
link(onEvent2,14469501:doDraw,[(641,356)(641,447)])
}
Add(HubEx,15905774,308,287)
{
link(onEvent,12095085:doRandom,[])
}
END_SDK
Add(Timer,2852982,637,637)
{
Interval=100
AutoStop=100
link(onTimer,800294:##add,[])
}
Add(Hub,3680994,588,679)
{
link(onEvent1,324295:doRefresh,[(613,685)(613,587)])
link(onEvent2,14234746:doCreate,[])
}
Add(HubEx,11461895,338,224)
{
Angle=1
link(onEvent,15261923:doClose,[(342,251)(277,251)(277,216)])
}
Add(GL_Rotate,9543443,693,525)
{
Angle=10
Z=1
link(onRotate,9154779:doBegin,[])
link(Angle,7411207:Result1,[(699,516)(650,516)])
}
Add(GL_Rotate,9715162,637,525)
{
Angle=10
X=1
Y=1
link(onRotate,9543443:doRotate,[])
link(Angle,7411207:Result,[])
}
Add(MultiElementEx,7411207,637,462)
{
}
BEGIN_SDK
Add(EditMultiEx,12598926,21,21)
{
WorkCount=#6:doNext|
VarCount=#6:Result|7:Result1|5:Count|
Width=468
Height=193
link(doNext,14043551:doNext,[(46,27)(46,69)])
link(Result,3991328:Result,[(27,126)(111,126)])
link(Result1,15974973:Result,[(34,139)(216,139)])
link(Count,787764:Result,[(41,145)(321,145)])
}
Add(Math,15974973,210,63)
{
OpType=3
Op2=100
link(onResult,7822652:doNext,[])
}
Add(MultiElementEx,7650897,420,63)
{
link(onRandom,13619832:doStep,[(459,69)(459,55)(151,55)(151,76)])
}
BEGIN_SDK
Add(EditMultiEx,15863746,21,21)
{
WorkCount=#6:doNext|
EventCount=#8:onRandom|
Width=272
Height=158
link(doNext,4090736:doNext,[(81,27)(81,76)])
}
Add(Random,10751408,189,77)
{
Min=50
Max=500
Point(Max)
link(onRandom,4090736:doMax,[(228,83)(228,62)(88,62)(88,83)])
}
Add(CounterEx,4090736,98,70)
{
Max=200
Point(doMax)
Point(onThroughMax)
link(onThroughMax,4606173:doEvent1,[])
}
Add(Random,8184993,189,126)
{
Max=12
link(onRandom,15863746:onRandom,[(235,132)(235,27)])
}
Add(Hub,4606173,147,77)
{
link(onEvent1,10751408:doRandom,[])
link(onEvent2,8184993:doRandom,[(173,90)(173,132)])
}
END_SDK
Add(Hub,6647129,371,63)
{
OutCount=3
link(onEvent1,7650897:doNext,[])
link(onEvent2,5100766:doNext,[(410,76)(410,118)])
link(onEvent3,5763482:doNext,[(403,83)(403,160)])
}
Add(CounterEx,13619832,161,63)
{
Max=36000
Point(doStep)
link(onNext,15974973:doOperation,[])
}
Add(MultiElementEx,5100766,420,112)
{
link(onRandom,14043551:doStep,[(459,118)(459,104)(46,104)(46,76)])
}
BEGIN_SDK
Add(EditMultiEx,3187669,21,21)
{
WorkCount=#6:doNext|
EventCount=#8:onRandom|
Width=272
Height=158
link(doNext,12632046:doNext,[(81,27)(81,76)])
}
Add(Random,15047251,189,77)
{
Min=50
Max=500
Point(Max)
link(onRandom,12632046:doMax,[(228,83)(228,62)(88,62)(88,83)])
}
Add(CounterEx,12632046,98,70)
{
Max=200
Point(doMax)
Point(onThroughMax)
link(onThroughMax,13136590:doEvent1,[])
}
Add(Random,11187624,189,126)
{
Max=13
link(onRandom,3187669:onRandom,[(235,132)(235,27)])
}
Add(Hub,13136590,147,77)
{
link(onEvent1,15047251:doRandom,[])
link(onEvent2,11187624:doRandom,[(173,90)(173,132)])
}
END_SDK
Add(Math,3991328,105,63)
{
OpType=3
Op2=100
link(onResult,13619832:doNext,[])
}
Add(CounterEx,14043551,56,63)
{
Max=36000
Point(doStep)
link(onNext,3991328:doOperation,[])
}
Add(MultiElementEx,5763482,420,154)
{
link(onRandom,7822652:doStep,[(459,160)(459,153)(256,153)(256,76)])
}
BEGIN_SDK
Add(EditMultiEx,2735863,21,21)
{
WorkCount=#6:doNext|
EventCount=#8:onRandom|
Width=272
Height=158
link(doNext,5022765:doNext,[(81,27)(81,76)])
}
Add(Random,6621639,189,77)
{
Min=50
Max=500
Point(Max)
link(onRandom,5022765:doMax,[(228,83)(228,62)(88,62)(88,83)])
}
Add(CounterEx,5022765,98,70)
{
Max=200
Point(doMax)
Point(onThroughMax)
link(onThroughMax,7768630:doEvent1,[])
}
Add(Random,15314385,189,126)
{
Min=5
Max=30
link(onRandom,2735863:onRandom,[(235,132)(235,27)])
}
Add(Hub,7768630,147,77)
{
link(onEvent1,6621639:doRandom,[])
link(onEvent2,15314385:doRandom,[(173,90)(173,132)])
}
END_SDK
Add(Math,787764,315,63)
{
OpType=3
Op2=100
link(onResult,6647129:doEvent1,[])
}
Add(CounterEx,7822652,266,63)
{
Max=36000
Point(doStep)
link(onNext,787764:doOperation,[])
}
END_SDK
Add(GL_Fog,9700395,763,210)
{
Color=16711680
Density=0.03
}
Add(GL_Rotate,920913,812,525)
{
X=10
Y=15
link(onRotate,8642641:doScale,[])
link(Angle,7411207:Count,[(818,509)(657,509)])
}
Add(GL_Scale,8642641,868,525)
{
X=0.15
Y=0.15
Z=0.15
link(onScale,296993:doBegin,[])
}
Add(MultiElementEx,9154779,749,525)
{
link(onEvent,920913:doRotate,[])
}
BEGIN_SDK
Add(EditMultiEx,9356812,0,0)
{
WorkCount=#7:doBegin|
EventCount=#7:onEvent|
Width=1056
Height=207
link(doBegin,562923:doCallList,[(12,6)(12,27)])
}
Add(GL_VertexTexture,7196049,413,21)
{
T=1
link(onTexCoord,7870717:doVertex,[])
}
Add(GL_Vertex3D,7870717,462,21)
{
X=-10
Y=10
Z=10
link(onVertex,14084412:doTexCoord,[])
}
Add(GL_VertexTexture,3710782,315,21)
{
S=1
T=1
link(onTexCoord,10686518:doVertex,[])
}
Add(GL_Vertex3D,10686518,364,21)
{
X=10
Y=10
Z=10
link(onVertex,7196049:doTexCoord,[])
}
Add(GL_VertexTexture,12529042,217,21)
{
S=1
link(onTexCoord,7822066:doVertex,[])
}
Add(GL_Vertex3D,7822066,266,21)
{
X=10
Y=-10
Z=10
link(onVertex,3710782:doTexCoord,[])
}
Add(GL_VertexTexture,4100790,119,21)
{
link(onTexCoord,13323686:doVertex,[])
}
Add(GL_End,15720961,931,126)
{
link(onEnd,9356812:onEvent,[(970,132)(970,6)])
}
Add(GL_Begin,2382009,70,21)
{
BlockType=7
link(onBegin,4100790:doTexCoord,[])
}
Add(GL_Vertex3D,13323686,168,21)
{
X=-10
Y=-10
Z=10
link(onVertex,12529042:doTexCoord,[])
}
Add(GL_CallList,562923,21,21)
{
Index=1
link(onCallList,2382009:doBegin,[])
}
Add(GL_VertexTexture,9705593,833,21)
{
S=1
link(onTexCoord,5548728:doVertex,[])
}
Add(GL_Vertex3D,9556034,588,21)
{
X=-10
Y=10
Z=-10
link(onVertex,9379306:doTexCoord,[])
}
Add(GL_VertexTexture,12412741,735,21)
{
S=1
T=1
link(onTexCoord,3397546:doVertex,[])
}
Add(GL_Vertex3D,5548728,889,21)
{
X=10
Y=10
Z=-10
link(onVertex,5237791:doTexCoord,[(928,27)(928,69)(109,69)(109,83)])
}
Add(GL_VertexTexture,9379306,637,21)
{
T=1
link(onTexCoord,15516985:doVertex,[])
}
Add(GL_Vertex3D,3397546,784,21)
{
X=10
Y=-10
Z=-10
link(onVertex,9705593:doTexCoord,[])
}
Add(GL_VertexTexture,14084412,539,21)
{
link(onTexCoord,9556034:doVertex,[])
}
Add(GL_Vertex3D,15516985,686,21)
{
X=-10
Y=-10
Z=-10
link(onVertex,12412741:doTexCoord,[])
}
Add(GL_VertexTexture,1914337,413,77)
{
S=1
link(onTexCoord,7073964:doVertex,[])
}
Add(GL_Vertex3D,7073964,462,77)
{
X=10
Y=10
Z=-10
link(onVertex,2329263:doTexCoord,[])
}
Add(GL_VertexTexture,12864566,315,77)
{
S=1
T=1
link(onTexCoord,13103563:doVertex,[])
}
Add(GL_Vertex3D,13103563,364,77)
{
X=10
Y=10
Z=10
link(onVertex,1914337:doTexCoord,[])
}
Add(GL_VertexTexture,13437225,217,77)
{
T=1
link(onTexCoord,7116612:doVertex,[])
}
Add(GL_Vertex3D,7116612,266,77)
{
X=10
Y=-10
Z=10
link(onVertex,12864566:doTexCoord,[])
}
Add(GL_VertexTexture,5237791,119,77)
{
link(onTexCoord,10464265:doVertex,[])
}
Add(GL_Vertex3D,10464265,168,77)
{
X=10
Y=-10
Z=-10
link(onVertex,13437225:doTexCoord,[])
}
Add(GL_VertexTexture,14315983,833,77)
{
S=1
link(onTexCoord,3095983:doVertex,[])
}
Add(GL_Vertex3D,3095983,882,77)
{
X=-10
Y=10
Z=-10
link(onVertex,15248716:doTexCoord,[(921,83)(921,118)(109,118)(109,132)])
}
Add(GL_VertexTexture,2094115,735,77)
{
S=1
T=1
link(onTexCoord,5602255:doVertex,[])
}
Add(GL_Vertex3D,5602255,784,77)
{
X=-10
Y=10
Z=10
link(onVertex,14315983:doTexCoord,[])
}
Add(GL_VertexTexture,10127133,637,77)
{
T=1
link(onTexCoord,12617831:doVertex,[])
}
Add(GL_Vertex3D,12617831,686,77)
{
X=-10
Y=-10
Z=10
link(onVertex,2094115:doTexCoord,[])
}
Add(GL_VertexTexture,2329263,539,77)
{
link(onTexCoord,12898617:doVertex,[])
}
Add(GL_Vertex3D,12898617,588,77)
{
X=-10
Y=-10
Z=-10
link(onVertex,10127133:doTexCoord,[])
}
Add(GL_VertexTexture,321953,413,126)
{
T=1
link(onTexCoord,2017834:doVertex,[])
}
Add(GL_Vertex3D,2017834,462,126)
{
X=-10
Y=10
Z=10
link(onVertex,2191446:doTexCoord,[])
}
Add(GL_VertexTexture,14368110,315,126)
{
S=1
T=1
link(onTexCoord,14491812:doVertex,[])
}
Add(GL_Vertex3D,14491812,364,126)
{
X=10
Y=10
Z=10
link(onVertex,321953:doTexCoord,[])
}
Add(GL_VertexTexture,10899238,217,126)
{
S=1
link(onTexCoord,2539508:doVertex,[])
}
Add(GL_Vertex3D,2539508,266,126)
{
X=10
Y=10
Z=-10
link(onVertex,14368110:doTexCoord,[])
}
Add(GL_VertexTexture,15248716,119,126)
{
link(onTexCoord,2113195:doVertex,[])
}
Add(GL_Vertex3D,2113195,168,126)
{
X=-10
Y=10
Z=-10
link(onVertex,10899238:doTexCoord,[])
}
Add(GL_VertexTexture,8933048,833,126)
{
T=1
link(onTexCoord,4885759:doVertex,[])
}
Add(GL_Vertex3D,4885759,882,126)
{
X=-10
Y=-10
Z=10
link(onVertex,15720961:doEnd,[])
}
Add(GL_VertexTexture,9534070,735,126)
{
S=1
T=1
link(onTexCoord,14744618:doVertex,[])
}
Add(GL_Vertex3D,14744618,784,126)
{
X=10
Y=-10
Z=10
link(onVertex,8933048:doTexCoord,[])
}
Add(GL_VertexTexture,14314660,637,126)
{
S=1
link(onTexCoord,980681:doVertex,[])
}
Add(GL_Vertex3D,980681,686,126)
{
X=10
Y=-10
Z=-10
link(onVertex,9534070:doTexCoord,[])
}
Add(GL_VertexTexture,2191446,539,126)
{
link(onTexCoord,14549565:doVertex,[])
}
Add(GL_Vertex3D,14549565,588,126)
{
X=-10
Y=-10
Z=-10
link(onVertex,14314660:doTexCoord,[])
}
END_SDK
Add(DoData,11368830,378,154)
{
Data=Integer(0)
link(onEventData,2390478:doVisible,[(424,160)(424,174)])
}
Add(MouseEvent,2390478,434,154)
{
Point(doVisible)
}
Add(GetDataEx,3805009,693,623)
{
link(Data,324295:Bitmap,[])
}
Add(Screen,8227803,553,280)
{
}
Add(Hub,14945863,504,322)
{
link(onEvent1,6811348:doOperation,[])
link(onEvent2,3410847:doPerspective,[(543,335)(543,377)])
}
Add(Math,6811348,553,322)
{
OpType=3
link(Op1,8227803:Width,[])
link(Op2,8227803:Height,[])
}
Поправил.