Lines Matching refs:tglyph
832 static struct tmp_glyph *tglyph = (struct tmp_glyph *)0; local
839 if (!tglyph)
843 tmp->prev = tglyph;
844 tglyph = tmp;
845 tglyph->sidx = 0;
846 tglyph->style = x;
847 tglyph->glyph = y;
852 while (tglyph) {
853 tmp = tglyph->prev;
854 if (tglyph != &tgfirst) free((genericptr_t)tglyph);
855 tglyph = tmp;
863 if (!tglyph) panic("tmp_at: tglyph not initialized");
867 tglyph->glyph = y;
871 if (tglyph->style == DISP_BEAM) {
875 for (i = 0; i < tglyph->sidx; i++)
876 newsym(tglyph->saved[i].x, tglyph->saved[i].y);
878 if (tglyph->sidx) /* been called at least once */
879 newsym(tglyph->saved[0].x, tglyph->saved[0].y);
882 tmp = tglyph->prev;
883 if (tglyph != &tgfirst) free((genericptr_t)tglyph);
884 tglyph = tmp;
888 if (tglyph->style == DISP_BEAM) {
891 tglyph->saved[tglyph->sidx].x = x;
892 tglyph->saved[tglyph->sidx].y = y;
893 tglyph->sidx += 1;
895 if (tglyph->sidx) { /* not first call, so reset previous pos */
896 newsym(tglyph->saved[0].x, tglyph->saved[0].y);
897 tglyph->sidx = 0; /* display is presently up to date */
899 if (!cansee(x,y) && tglyph->style != DISP_ALWAYS) break;
900 tglyph->saved[0].x = x;
901 tglyph->saved[0].y = y;
902 tglyph->sidx = 1;
905 show_glyph(x, y, tglyph->glyph); /* show it */