11 extern unsigned long cmap[16];
17 int i,mapno,ind,xc,yc,text_width,length,no;
18 int x1,y1,xadd,yadd,
color,izoom,
MY=10;
27 int line_width,line_style,cap_style,join_style;
40 XSetLineAttributes(
display,
gc,line_width,line_style,cap_style,
67 for(mapno=0;mapno < 100;mapno++) {
103 if(
zoom==1 && izoom==1) {
171 if(
zoom==1 && izoom==1) {
193 XDrawLine(
display,pix,
gc,x1+1,y1+1,x1+1,y1-1);
194 XDrawLine(
display,pix,
gc,x1+1,y1-1,x1-1,y1-1);
195 XDrawLine(
display,pix,
gc,x1-1,y1-1,x1-1,y1+1);
196 XDrawLine(
display,pix,
gc,x1-1,y1+1,x1+1,y1-1);
204 XDrawLine(
display,pix,
gc,x1,y1-offset,x1-offset,y1+offset);
205 XDrawLine(
display,pix,
gc,x1,y1-offset,x1+offset,y1+offset);
206 XDrawLine(
display,pix,
gc,x1-offset,y1+offset,x1+offset,y1+offset);
XFontStruct * info_font[10]
void draw_map(Drawable pix, int h, int display_flag)
struct maplayer * smaplayer[100]
struct maplayer * nextseg
struct mappoints * points