/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/ |
H A D | inform.c | 76 if (my + 5 * W_Textheight + 2 > windowHeight) in inform() 77 my = windowHeight - 5 * W_Textheight - 2; in inform() 79 infow = W_MakeWindow("info", mx, my, 23 * W_Textwidth, 6 * W_Textheight, in inform() 97 W_WriteText(infow, W_Textwidth, W_Textheight * line++, playerColor(j), "WAR", 3, in inform() 106 W_WriteText(infow, W_Textwidth, W_Textheight * line++, playerColor(j), in inform() 113 if (my + 10 * W_Textheight + 2 > windowHeight) in inform() 114 my = windowHeight - 10 * W_Textheight - 2; in inform() 116 infow = W_MakeWindow("info", mx, my, 24 * W_Textwidth, 10 * W_Textheight, in inform() 210 if (my + 3 * W_Textheight + 2 > windowHeight) in inform() 211 my = windowHeight - 3 * W_Textheight - 2; in inform() [all …]
|
H A D | dashboard3.c | 145 y + h - W_Textheight - 2, in db_bar() 159 x, y + W_Textheight + 2, in db_bar() 165 x, y + W_Textheight + 2, in db_bar() 200 y + h - W_Textheight - 2, in db_bar() 207 y + h - W_Textheight - 2, in db_bar() 231 x, y + W_Textheight + 2, in db_bar() 237 x, y + W_Textheight + 2, in db_bar() 558 W_ClearArea(tstatw, 402, 4 + W_Textheight, 98, W_Textheight); in db_redraw_lab2() 575 402, 4 + W_Textheight, in db_redraw_lab2() 581 402, 4 + W_Textheight, in db_redraw_lab2() [all …]
|
H A D | lagmeter.c | 21 #define L_HEIGHT ((((W_Textheight+L_TSP) * L_NMARKS)+\ 22 W_Textheight+L_TSP)+2*L_IBORDER) 25 #define L_BHEIGHT (L_HEIGHT-(W_Textheight+L_TSP)-2*L_IBORDER+3) 50 W_WriteText(lMeter, L_IBORDER, i + (i * (W_Textheight + L_TSP)) + L_TSP + 2 /* X in redrawLMeter() 58 L_HEIGHT - L_IBORDER - W_Textheight / 2 - 3, textColor, "TOT", 3, W_RegularFont); in redrawLMeter() 61 L_HEIGHT - L_IBORDER - W_Textheight / 2 - 3, textColor, "SLS", 3, W_RegularFont); in redrawLMeter() 64 L_HEIGHT - L_IBORDER - W_Textheight / 2 - 3, textColor, "NF", 3, W_RegularFont); in redrawLMeter()
|
H A D | docwin.c | 58 W_WriteText(docwin, center, W_Textheight, textColor, in showdocs() 63 W_WriteText(docwin, center, 3 * W_Textheight, textColor, in showdocs() 111 W_WriteText(docwin, 20, i * W_Textheight, textColor, data->data, in showdocs() 221 W_WriteText(xtrekrcwin, center, W_Textheight, textColor, in showxtrekrc() 226 W_WriteText(xtrekrcwin, center, 3 * W_Textheight, textColor, in showxtrekrc() 274 W_WriteText(xtrekrcwin, 20, i * W_Textheight, textColor, data->data, in showxtrekrc()
|
H A D | x11window.c | 556 W_BigTextheight = W_Textheight; in GetFonts() 1106 MENU_PAD + y * W_Textheight, in W_FillArea() 1170 MENU_PAD + y * W_Textheight, in W_ClearArea() 1176 MENU_PAD + y * W_Textheight, width * W_Textwidth, height * W_Textheight, False); in W_ClearArea() 1287 W_Textheight + MENU_PAD * 2) in W_SpNextEvent() 1985 sz_hints->height_inc = W_Textheight; in W_MakeTextWindow() 2105 MENU_PAD * 2 + height * W_Textheight, 2113 sz_hints->height_inc = W_Textheight; 2255 y -= W_Textheight, 2453 win->width * W_Textwidth, W_Textheight); in redrawMenuItem() [all …]
|
H A D | smessage.c | 34 W_Textwidth * (n), W_Textheight); 79 W_Textwidth * (len), W_Textheight); in BlankChar() 83 W_Textwidth * (len), W_Textheight); in BlankChar() 118 HUDoffset = W_WindowHeight(w) - W_Textheight - 5; in smessage()
|
H A D | map.c | 85 const int tHeight = W_Textheight * GWIDTH / GWINSIDE; in initPlanets() 152 const int tHeight = W_Textheight * GWIDTH / GWINSIDE; in showRegions() 662 dy - W_Textheight / 2, unColor, cloakChars, in map() 668 dy - W_Textheight / 2, playerColor(j), j->p_mapchars, 2, in map() 698 mclearzone[1][i] = dy - W_Textheight / 2; in map() 700 mclearzone[3][i] = W_Textheight; in map()
|
H A D | newwin.c | 295 YOFF + GWINSIDE + 4 * BORDER + 2 * MESSAGESIZE + 10 * W_Textheight + 8, in newwin() 298 YOFF + GWINSIDE + 5 * BORDER + 2 * MESSAGESIZE + 15 * W_Textheight + 16, in newwin() 301 YOFF + GWINSIDE + 6 * BORDER + 2 * MESSAGESIZE + 19 * W_Textheight + 24, in newwin() 304 YOFF + GWINSIDE + 3 * BORDER + 2 * MESSAGESIZE + 15 * W_Textheight + 16, in newwin() 1275 W_WriteText(w, center, line * W_Textheight, colour, in show_motd_heading() 1291 W_WriteText(w, center, W_Textheight, W_Cyan, buf, length, W_BoldFont); in showMotd() 1334 W_WriteText(w, 20, i * W_Textheight, textColor, data->data, in showMotd() 1339 W_WriteText(w, 20, i * W_Textheight, textColor, data->data, in showMotd() 1369 W_WriteText(mapw, 20, 14 * W_Textheight, textColor, msg, in showValues() 1373 int y = i * W_Textheight * 15 / 10; in showValues() [all …]
|
H A D | death.c | 104 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in death() 115 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in death()
|
H A D | myf.c | 31 W_ClearArea(w, x, y, TWINSIDE-x, W_Textheight); in myc()
|
H A D | pingstats.c | 14 #define BY_OFF(line) ((line) * (W_Textheight + S_IBORDER) + S_IBORDER) 29 #define SL_HEI (W_Textheight)
|
H A D | stats.c | 14 #define BY_OFF(line) ((line) * (W_Textheight + S_IBORDER) + S_IBORDER) 27 #define SL_HEI (W_Textheight)
|
H A D | warning.c | 26 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in warning()
|
/dports/games/xgalaga/xgalaga-2.1.1.0/ |
H A D | title.c | 82 center_text("Ships in convoy are worth 50 points", ty, W_Green); ty += W_Textheight; 189 …center_text (chLBuf, top+lines*W_Textheight + ((pagetimer-1) % (W_Textheight*SPEEDFACTOR))/SPEEDFA… in undo_credits() 215 j = top + lines*W_Textheight + ((pagetimer-1) % (W_Textheight*SPEEDFACTOR))/SPEEDFACTOR ; in show_credits() 222 WINWIDTH, W_Textheight); in show_credits() 224 0, top+(VISIBLELINES+1)*W_Textheight, in show_credits() 225 WINWIDTH, W_Textheight); in show_credits() 251 center_text("Copyright (c) 1995-1998 Joe Rumsey", ty, W_Green); ty+= W_Textheight; in do_title() 252 center_text("Maintenance 2008 by Hermann Riedel", ty, W_Green); ty+= 2*W_Textheight; in do_title() 254 center_text("XGalaga: Hyperspace 0.9", ty, W_Green); ty+= W_Textheight; in do_title() 272 center_text("Or q to quit", WINHEIGHT - W_Textheight, W_Yellow); in do_title() [all …]
|
H A D | highscore.c | 64 (40*W_Textwidth), W_Textheight*2); in undo_name() 79 center_text(buf, 250 + W_Textheight, W_Cyan); in do_name() 375 center_text(buf, 112+i*W_Textheight, (i==thisplace ? color : W_Grey)); in show_scores() 379 center_text("Your high scores", 112+NUM_GLOBAL_SCORES*W_Textheight, W_Yellow); in show_scores() 381 center_text(buf, 112+(NUM_GLOBAL_SCORES+1)*W_Textheight, W_Yellow); in show_scores() 382 …MakeLine(baseWin, WINWIDTH/2-((strlen(buf)*W_Textwidth)/2), 123+(NUM_GLOBAL_SCORES+1)*W_Textheight, in show_scores() 383 WINWIDTH/2 + ((strlen(buf)*W_Textwidth)/2), 123+(NUM_GLOBAL_SCORES+1)*W_Textheight, W_Red); in show_scores() 387 center_text(buf, 124+(NUM_GLOBAL_SCORES+1)*W_Textheight + i*W_Textheight, in show_scores()
|
H A D | score.c | 53 W_ClearArea(shellWin, 0, 0, WINWIDTH, W_Textheight + 1); in do_score()
|
/dports/games/xgalaga/xgalaga-2.1.1.0/libsprite/ |
H A D | text.c | 13 W_FillArea(window, x, y, len * W_Textwidth, W_Textheight, DARK_GREY); 45 win->width * W_Textwidth, (win->height - 1) * W_Textheight, 46 WIN_EDGE, MENU_PAD+W_Textheight); 49 W_Textwidth * win->width,(unsigned) W_Textheight, False); 56 colortable[W_White].contexts[0], WIN_EDGE, MENU_PAD + W_Textheight, 57 win->width * W_Textwidth, (win->height - 1) * W_Textheight, 60 WIN_EDGE,(int)(MENU_PAD+W_Textheight*(win->height-1)), 61 W_Textwidth * win->width, (unsigned)W_Textheight, False); 65 (int)(MENU_PAD + W_Textheight * (win->height-1) 78 x * W_Textwidth + WIN_EDGE, MENU_PAD + y * W_Textheight + addr, [all …]
|
H A D | menu.c | 26 WIN_EDGE, n * (W_Textheight + MENU_PAD * 2 + MENU_BAR) + MENU_PAD, 27 win->width * W_Textwidth, (unsigned)W_Textheight); 33 n * (W_Textheight + MENU_PAD * 2 + MENU_BAR) + MENU_PAD + addr, 47 0, count * (W_Textheight + MENU_PAD * 2) + (count - 1) * MENU_BAR, 87 newh * (W_Textheight + MENU_PAD * 2) + (newh - 1) * MENU_BAR);
|
H A D | scroll.c | 66 y = (win->height - count) * W_Textheight + fonts[1].baseline; 74 y = y + W_Textheight; 96 win->height = (height - MENU_PAD * 2) / W_Textheight; 99 win->height * W_Textheight + MENU_PAD * 2);
|
H A D | fill.c | 24 WIN_EDGE + x * W_Textwidth, MENU_PAD + y * W_Textheight, 25 width * W_Textwidth, height * W_Textheight);
|
H A D | cleararea.c | 69 MENU_PAD + y * W_Textheight, width * W_Textwidth, 70 W_Textheight * height);
|
H A D | event.c | 121 if (key->y % (W_Textheight + MENU_PAD * 2 + MENU_BAR) >= 122 W_Textheight + MENU_PAD * 2) 124 key->y = key->y / (W_Textheight + MENU_PAD * 2 + MENU_BAR);
|
H A D | init.c | 47 W_Textheight = fontinfo->max_bounds.descent + fontinfo->max_bounds.ascent; in GetFonts() 69 if (fontinfo->max_bounds.descent + fontinfo->max_bounds.ascent > W_Textheight) in GetFonts() 70 W_Textheight = fontinfo->max_bounds.descent + fontinfo->max_bounds.ascent; in GetFonts() 91 if (fontinfo->max_bounds.descent + fontinfo->max_bounds.ascent > W_Textheight) in GetFonts() 92 W_Textheight = fontinfo->max_bounds.descent + fontinfo->max_bounds.ascent; in GetFonts()
|
H A D | scale.c | 12 *y = (*y - MENU_PAD) / W_Textheight;
|
H A D | data.c | 81 int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight; variable
|