30 BasePointsCount: Longword; |
30 BasePointsCount: Longword; |
31 FillPoints: PPointArray; |
31 FillPoints: PPointArray; |
32 FillPointsCount: Longword; |
32 FillPointsCount: Longword; |
33 BezierizeCount: Longword; |
33 BezierizeCount: Longword; |
34 RandPassesCount: Longword; |
34 RandPassesCount: Longword; |
35 canMirror, canFlip: boolean; |
35 TemplateHeight, TemplateWidth: LongInt; |
|
36 canMirror, canFlip, isNegative, canInvert: boolean; |
36 end; |
37 end; |
37 |
38 |
38 ////////////////////////////////////////////////////////////////////////////// |
39 ////////////////////////////////////////////////////////////////////////////// |
39 /////////////////// MIRRORED FOUR TIMES ////////////////////////////////////// |
40 /////////////////// MIRRORED FOUR TIMES ////////////////////////////////////// |
40 ////////////////////////////////////////////////////////////////////////////// |
41 ////////////////////////////////////////////////////////////////////////////// |
84 ); |
85 ); |
85 Template0FPoints: array[0..0] of TPoint = |
86 Template0FPoints: array[0..0] of TPoint = |
86 ( |
87 ( |
87 (x: 2047; y: 0) |
88 (x: 2047; y: 0) |
88 ); |
89 ); |
|
90 const Template1Points: array[0..4] of TSDL_Rect = |
|
91 ( |
|
92 (x: 100; y: 100; w: 1; h: 1), |
|
93 (x: 100; y: 100; w: 3000; h: 1500), |
|
94 (x: 500; y: 500; w: 2000; h: 1000), |
|
95 (x: 4000; y: 2000; w: 1; h: 1), |
|
96 (x: NTPX; y: 0; w: 1; h: 1) |
|
97 ); |
|
98 Template1FPoints: array[0..0] of TPoint = |
|
99 ( |
|
100 (x: 2047; y: 0) |
|
101 ); |
89 |
102 |
90 ////////////////////////////////////////////////////////////////////////////// |
103 ////////////////////////////////////////////////////////////////////////////// |
91 /////////////////// END MIRRORED TWO TIMES /////////////////////////////////// |
104 /////////////////// END MIRRORED TWO TIMES /////////////////////////////////// |
92 ////////////////////////////////////////////////////////////////////////////// |
105 ////////////////////////////////////////////////////////////////////////////// |
93 |
106 |
94 const EdgeTemplates: array[0..0] of TEdgeTemplate = |
107 const EdgeTemplates: array[0..1] of TEdgeTemplate = |
95 ( |
108 ( |
96 (BasePoints: @Template0Points; |
109 (BasePoints: @Template0Points; |
97 BasePointsCount: Succ(High(Template0Points)); |
110 BasePointsCount: Succ(High(Template0Points)); |
98 FillPoints: @Template0FPoints; |
111 FillPoints: @Template0FPoints; |
99 FillPointsCount: Succ(High(Template0FPoints)); |
112 FillPointsCount: Succ(High(Template0FPoints)); |
100 BezierizeCount: 3; |
113 BezierizeCount: 3; |
101 RandPassesCount: 8; |
114 RandPassesCount: 8; |
102 canMirror: true; canFlip: false; |
115 TemplateHeight: 1024; TemplateWidth: 4096; |
|
116 canMirror: true; canFlip: false; isNegative: false; canInvert: true; |
|
117 // Yes. I know this isn't a good map to invert, just testing |
|
118 ), |
|
119 (BasePoints: @Template1Points; |
|
120 BasePointsCount: Succ(High(Template1Points)); |
|
121 FillPoints: @Template0FPoints; |
|
122 FillPointsCount: Succ(High(Template1FPoints)); |
|
123 BezierizeCount: 6; |
|
124 RandPassesCount: 8; |
|
125 TemplateHeight: 2048; TemplateWidth: 4096; |
|
126 canMirror: true; canFlip: false; isNegative: true; canInvert: false; |
|
127 // make a decent cave about one time in, oh, 5 or 6 :-/ |
103 ) |
128 ) |
104 ); |
129 ); |
105 |
130 |
106 |
131 |
107 |
132 |