15 extern int wfo_in_use[20];
16 extern struct map map[1500];
24 extern unsigned long xmap[16];
25 extern unsigned long qmap[16];
27 extern float delim[][16];
42 int l,line_width,line_style,cap_style,join_style;
46 int minx,miny,ix,iy,maxx,maxy;
48 float uz,mz,lz,gz,fx,fy;
147 if(
map[
ib].maps_done[num] <=0)
152 for(hh=0;hh<20;hh++) {
154 if(wfo_in_use[hh] == -1)
157 if(
map[
ib].owner==wfo_in_use[hh])
162 if(wfo_in_use[hh]==-1)
206 if(
map[
ib].zones[1] !=1 &&
207 map[
ib].zones[2] !=1 &&
208 map[
ib].zones[3] !=1 && rsmode==1) {
226 if(mapvalue > .01 || mapvalue < -.01) {
239 line_style=LineSolid;
241 join_style=JoinMiter;
243 XSetLineAttributes(
display,
gc,line_width,line_style,cap_style,
292 if(ix < 0 || iy < 0 || ix >= maxx-1 || iy >= maxy-1) {
332 mpoint[4].x=mpoint[0].x;
333 mpoint[4].y=mpoint[0].y;
349 if(mapvalue <= 0.01 && mapvalue >= -0.01)
372 if(mapvalue <= 0.01 && mapvalue >= -0.01)
378 if(mapvalue < -99.98)
391 if((
spf->
value[ix][iy] * 10 - dmvalue <
402 XFillPolygon(
display,pixm,
gc,mpoint,5,Convex,CoordModeOrigin);
407 line_style=LineSolid;
409 join_style=JoinMiter;
411 XSetLineAttributes(
display,
gc,line_width,line_style,cap_style,
void read_file(char *, int, struct pcp *)
void plot_map(Pixmap pixm, int h, int display_flag, int num)
struct hrap_grid * hrap_grid
struct hrap_data * hrap_data