Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/freesc/fwmff2.scm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations) (download)
Mon Feb 26 13:50:55 2007 UTC (17 years, 1 month ago) by tmurakam
File size: 2196 byte(s)
file moved

1 ;
2 ; Fireworks macro
3 ;
4 ; original macro made by Yuji Hamada(GGD03161@niftyserve.or.jp)
5 ; modified by Takuya Murakami
6
7 ; %1 = Latitude
8 ; %2 = Longitude
9 ; %3 = Range
10 ; %4 = Scale
11 ; %5 = Height (MSL)
12
13 Area( 5 %1 %2 %3 )
14
15 ; available after 20:00
16 IfVarAnd( : 362 10 )
17 IfVarAnd( : 362 04 )
18
19 PerspectiveCall( :Start )
20 Jump( : )
21
22 :Start
23 Perspective
24 mif( %5 )
25 RefPoint( 2 :end %4 %1 %2 E= %5 )
26 melse
27 RefPoint( 7 :end %4 %1 %2 )
28 mifend
29 IfVarAnd( :B9 282 00FF )
30 IfVarAnd( :B5 282 000F )
31 IfVarAnd( :B3 282 0003 )
32 IfVarAnd( :P2 282 0001 )
33 :P1
34 Bitmap( fw8.bmp 0 0 0 0 )
35 Jump( :Draw )
36 :P2
37 Bitmap( fw11.bmp 0 0 0 0 )
38 Jump( :Draw )
39
40 :B3
41 IfVarAnd( :P4 282 0004 )
42 :P3
43 Bitmap( fw14.bmp 0 0 0 0 )
44 Jump( :Draw )
45 :P4
46 Bitmap( fw3.bmp 0 0 0 0 )
47 Jump( :Draw )
48
49 :B5
50 IfVarAnd( :B7 282 0030 )
51 IfVarAnd( :P6 282 0010 )
52 :P5
53 Bitmap( fw6.bmp 0 0 0 0 )
54 Jump( :Draw )
55 :P6
56 Bitmap( fw9.bmp 0 0 0 0 )
57 Jump( :Draw )
58
59 :B7
60 IfVarAnd( :P8 282 0040 )
61 :P7
62 Bitmap( fw12.bmp 0 0 0 0 )
63 Jump( :Draw )
64 :P8
65 Bitmap( fw15.bmp 0 0 0 0 )
66 Jump( :Draw )
67
68 :B9
69 IfVarAnd( :B13 282 0F00 )
70 IfVarAnd( :B11 282 0300 )
71 IfVarAnd( :P10 282 0100 )
72 :P9
73 Bitmap( fw1.bmp 0 0 0 0 )
74 Jump( :Draw )
75 :P10
76 Bitmap( fw4.bmp 0 0 0 0 )
77 Jump( :Draw )
78
79 :B11
80 IfVarAnd( :P12 282 0400 )
81 :P11
82 Bitmap( fw7.bmp 0 0 0 0 )
83 Jump( :Draw )
84 :P12
85 Bitmap( fw10.bmp 0 0 0 0 )
86 Jump( :Draw )
87
88 :B13
89 IfVarAnd( :B15 282 3000 )
90 IfVarAnd( :P14 282 1000 )
91 :P13
92 Bitmap( fw13.bmp 0 0 0 0 )
93 Jump( :Draw )
94 :P14
95 Bitmap( fw16.bmp 0 0 0 0 )
96 Jump( :Draw )
97
98 :B15
99 IfVarAnd( :P16 282 4000 )
100 :P15
101 Bitmap( fw2.bmp 0 0 0 0 )
102 Jump( :Draw )
103 :P16
104 Bitmap( fw5.bmp 0 0 0 0 )
105
106 :Draw
107 RotatedCall( :Set1 0 0 0 )
108 RotatedCall( :Set1 0 0 90 )
109 RotatedCall( :Set1 0 0 180 )
110 RotatedCall( :Set1 0 0 270 )
111 :end
112 Return
113
114 :Set1
115 Points( 0
116 -20 0 0 ; 0
117 -20 40 0 ; 1
118 20 40 0 ; 2
119 20 0 0 ; 3
120 )
121
122 ConcavePoly
123 BitmapMode( 1 )
124 Inst_7D
125 ShadedTexPoly( ai
126 0 0 255
127 1 0 0
128 2 255 0
129 3 255 255
130 )
131 BitmapMode( 0 )
132 Return
133 EndA

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26