Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/freesc/fwmff.scm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations) (download)
Mon Feb 26 13:50:55 2007 UTC (17 years, 3 months ago) by tmurakam
File size: 2197 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
30 IfVarAnd( :B9 282 00FF )
31 IfVarAnd( :B5 282 000F )
32 IfVarAnd( :B3 282 0003 )
33 IfVarAnd( :P2 282 0001 )
34 :P1
35 Bitmap( fw1.bmp 0 0 0 0 )
36 Jump( :Draw )
37 :P2
38 Bitmap( fw4.bmp 0 0 0 0 )
39 Jump( :Draw )
40
41 :B3
42 IfVarAnd( :P4 282 0004 )
43 :P3
44 Bitmap( fw7.bmp 0 0 0 0 )
45 Jump( :Draw )
46 :P4
47 Bitmap( fw10.bmp 0 0 0 0 )
48 Jump( :Draw )
49
50 :B5
51 IfVarAnd( :B7 282 0030 )
52 IfVarAnd( :P6 282 0010 )
53 :P5
54 Bitmap( fw13.bmp 0 0 0 0 )
55 Jump( :Draw )
56 :P6
57 Bitmap( fw16.bmp 0 0 0 0 )
58 Jump( :Draw )
59
60 :B7
61 IfVarAnd( :P8 282 0040 )
62 :P7
63 Bitmap( fw2.bmp 0 0 0 0 )
64 Jump( :Draw )
65 :P8
66 Bitmap( fw5.bmp 0 0 0 0 )
67 Jump( :Draw )
68
69 :B9
70 IfVarAnd( :B13 282 0F00 )
71 IfVarAnd( :B11 282 0300 )
72 IfVarAnd( :P10 282 0100 )
73 :P9
74 Bitmap( fw8.bmp 0 0 0 0 )
75 Jump( :Draw )
76 :P10
77 Bitmap( fw11.bmp 0 0 0 0 )
78 Jump( :Draw )
79
80 :B11
81 IfVarAnd( :P12 282 0400 )
82 :P11
83 Bitmap( fw14.bmp 0 0 0 0 )
84 Jump( :Draw )
85 :P12
86 Bitmap( fw3.bmp 0 0 0 0 )
87 Jump( :Draw )
88
89 :B13
90 IfVarAnd( :B15 282 3000 )
91 IfVarAnd( :P14 282 1000 )
92 :P13
93 Bitmap( fw6.bmp 0 0 0 0 )
94 Jump( :Draw )
95 :P14
96 Bitmap( fw9.bmp 0 0 0 0 )
97 Jump( :Draw )
98
99 :B15
100 IfVarAnd( :P16 282 4000 )
101 :P15
102 Bitmap( fw12.bmp 0 0 0 0 )
103 Jump( :Draw )
104 :P16
105 Bitmap( fw15.bmp 0 0 0 0 )
106
107 :Draw
108 RotatedCall( :Set1 0 0 0 )
109 RotatedCall( :Set1 0 0 90 )
110 RotatedCall( :Set1 0 0 180 )
111 RotatedCall( :Set1 0 0 270 )
112 :end
113 Return
114
115 :Set1
116 Points( 0
117 -20 0 0 ; 0
118 -20 40 0 ; 1
119 20 40 0 ; 2
120 20 0 0 ; 3
121 )
122
123 ConcavePoly
124 BitmapMode( 1 )
125 Inst_7D
126 ShadedTexPoly( ai
127 0 0 0
128 1 0 255
129 2 255 255
130 3 255 0
131 )
132 BitmapMode( 0 )
133 Return
134 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