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;
144 if(
map[
ib].maps_done[num] <=0)
149 for(hh=0;hh<20;hh++) {
151 if(wfo_in_use[hh] == -1)
154 if(
map[
ib].owner==wfo_in_use[hh])
159 if(wfo_in_use[hh]==-1)
203 if(
map[
ib].zones[1] !=1 &&
204 map[
ib].zones[2] !=1 &&
205 map[
ib].zones[3] !=1 && rsmode==1) {
223 if(mapvalue > .01 || mapvalue < -.01) {
236 line_style=LineSolid;
238 join_style=JoinMiter;
240 XSetLineAttributes(
display,
gc,line_width,line_style,cap_style,
289 if(ix < 0 || iy < 0 || ix >= maxx-1 || iy >= maxy-1) {
328 mpoint[4].x=mpoint[0].x;
329 mpoint[4].y=mpoint[0].y;
347 if(mapvalue <= 0.01 && mapvalue >= -0.01)
369 if(mapvalue <= 0.01 && mapvalue >= -0.01)
375 if(mapvalue < -99.98)
388 if(
spf->
value[ix][iy] * 10 - dmvalue <
398 XFillPolygon(
display,pixm,
gc,mpoint,5,Convex,CoordModeOrigin);
403 line_style=LineSolid;
405 join_style=JoinMiter;
407 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