Home
last modified time | relevance | path

Searched refs:MENUHEIGHT (Results 1 – 24 of 24) sorted by relevance

/dports/games/atanks/atanks-6.5/src/
H A Dmissile.cpp271 if (y >= MENUHEIGHT) { in applyPhysics()
322 y = MENUHEIGHT + 1; in applyPhysics()
334 else if ( (y + yv) <= MENUHEIGHT) { in applyPhysics()
385 if (!hitSomething && (y > MENUHEIGHT) in applyPhysics()
402 if (hitSomething && (y <= MENUHEIGHT)) in applyPhysics()
403 y = MENUHEIGHT + 1; in applyPhysics()
434 if (y < MENUHEIGHT) { in draw()
442 y = MENUHEIGHT + (height / 2); in draw()
826 if (y < (y_rad + MENUHEIGHT) ) in trigger()
966 && (y <= MENUHEIGHT) in triggerTest()
[all …]
H A DgfxData.cpp150 topbar = create_bitmap (env.screenWidth, MENUHEIGHT); in first_init()
154 for (int32_t i = 0; i < MENUHEIGHT; ++i) { in first_init()
155 float adjCount = (100. / MENUHEIGHT) * i; in first_init()
161 for (int32_t y = 0; y < MENUHEIGHT; ++y) { in first_init()
162 float adjY = (100.0 / MENUHEIGHT) * y; in first_init()
H A Dsky.cpp385 ; (!lcr || lcr->can_work()) && (y < (env.screenHeight - MENUHEIGHT)) in generate_sky()
394 * (static_cast<double>(env.screenHeight - MENUHEIGHT) in generate_sky()
401 || ( (y + offset + 1) > (env.screenHeight - MENUHEIGHT) ) ) in generate_sky()
407 gradientColorPoint(grad, env.screenHeight - MENUHEIGHT, in generate_sky()
413 draw_moons (lcr, env.screenWidth, env.screenHeight - MENUHEIGHT); in generate_sky()
H A Ddecor.cpp161 if ( ( (y - radius) > MENUHEIGHT) in applyPhysics()
253 || (y < (MENUHEIGHT - calcRadius)) in applyPhysics()
287 if (y > MENUHEIGHT) { in draw()
326 if (y <= MENUHEIGHT) in isOnFloor()
341 int32_t top = std::max(MENUHEIGHT, round_y - radius); in isOnFloor()
H A Dgameloop.cpp925 MENUHEIGHT + (env.isBoxed ? 1 : 0), in do_naturals()
948 MENUHEIGHT + (env.isBoxed ? 1 : 0), mxv, myv, in do_naturals()
966 MENUHEIGHT + (env.isBoxed ? 1 : 0), mxv, myv, in do_naturals()
1000 global.make_update(FPS_pos - 1, MENUHEIGHT + 5, in draw_FPS_Counter()
1001 FPS_pos + 60, MENUHEIGHT + 20); in draw_FPS_Counter()
1011 set_clip_rect (global.canvas, 0, MENUHEIGHT, in draw_objects()
1045 int32_t line = MENUHEIGHT + 2; in draw_mini_scoreboard()
1099 global.make_update(0, MENUHEIGHT, 300, line); in draw_mini_scoreboard()
1221 global.make_update (0, 0, env.screenWidth, MENUHEIGHT); in draw_top_bar()
1567 int32_t bottom = env.screenHeight - MENUHEIGHT; in set_level_settings()
[all …]
H A Dglobaldata.cpp355 int32_t min_y = env.isBoxed ? MENUHEIGHT + 1 : MENUHEIGHT; in get_avg_bgcolor()
597 env.isBoxed ? MENUHEIGHT + 1 : MENUHEIGHT); in isDirtInBox()
604 if (bottom <= MENUHEIGHT) in isDirtInBox()
954 if ((lastUpdates[i].y + lastUpdates[i].h) > MENUHEIGHT) { in replace_canvas()
955 blit (env.sky, canvas, lastUpdates[i].x, lastUpdates[i].y - MENUHEIGHT, in replace_canvas()
966 int32_t t = MENUHEIGHT; in replace_canvas()
1033 int32_t row = MENUHEIGHT + (env.isBoxed ? 1 : 0); in slideLand()
1107 int32_t max_top = MENUHEIGHT + (env.isBoxed ? 1 : 0); in slideLand()
H A Dphysobj.cpp111 int32_t top = MENUHEIGHT + (hasTop ? 1 : 0); in applyPhysics()
396 double top = MENUHEIGHT + (hasTop ? 1 : 0); in checkPixelsBetweenTwoPoints()
479 int32_t start_y = std::max(min_y, MENUHEIGHT); in getDirtBounceReact()
484 && (min_y < env.screenHeight) && (max_y > MENUHEIGHT) in getDirtBounceReact()
H A Dfloattext.cpp13 if ( (pos_x > -1) && (pos_y > MENUHEIGHT) in FLOATTEXT()
15 sky_col = getpixel(env.sky, pos_x, pos_y - MENUHEIGHT); in FLOATTEXT()
244 if ( (left > -1) && (top > MENUHEIGHT) in set_color()
246 sky_col = getpixel(env.sky, left, top - MENUHEIGHT); in set_color()
H A Dsatellite.h46 int32_t y = MENUHEIGHT + 5;
H A Dtank.cpp196 int32_t bottom = env.screenHeight - (tank_dia * 2) - MENUHEIGHT; in activateCurrentSelection()
198 int32_t new_y = (rand() % bottom) + tank_dia + MENUHEIGHT; in activateCurrentSelection()
268 int32_t bottom = env.screenHeight - (tank_dia * 2) - MENUHEIGHT; in activateCurrentSelection()
274 int32_t new_y = (rand() % bottom) + tank_dia + MENUHEIGHT; in activateCurrentSelection()
1645 if ( (ypos <= MENUHEIGHT) in shootClearance()
1662 && ( ( env.isBoxed && (ypos <= MENUHEIGHT) in shootClearance()
H A Dbeam.cpp305 && (ty > MENUHEIGHT) in createBeamPath()
416 && (startY > MENUHEIGHT) in traceBeamPath()
H A Dteleport.cpp90 if ( ( (destinationY > (MENUHEIGHT + (objRadius * 2)) ) in TELEPORT()
H A Denvironment.cpp422 sky = create_bitmap (screenWidth, screenHeight - MENUHEIGHT); in first_init()
1563 if (window.y < MENUHEIGHT) in window_update()
1564 window.y = MENUHEIGHT; in window_update()
H A Dclient.cpp380 || (env.sky->h != (env.screenHeight - MENUHEIGHT) ) ) ) { in Create_Sky()
387 env.screenHeight - MENUHEIGHT); in Create_Sky()
H A Dmain.h222 #define MENUHEIGHT 40 macro
H A Dexplosion.cpp84 int32_t minHeightMiss = MENUHEIGHT + (env.isBoxed ? 1 : 0); in EXPLOSION()
H A Dplayer.cpp877 global.make_update (0, MENUHEIGHT, 300, in controlTank()
879 global.make_bgupdate(0, MENUHEIGHT, 300, in controlTank()
H A Daicore.cpp3534 startY = MENUHEIGHT + 20; in traceCluster()
/dports/cad/graywolf/graywolf-0.1.6-4-gf47937b/src/Ylib/
H A Dmenus.c278 wattr.height -= 2 * MENUHEIGHT ; in TWrestoreState()
514 (j+1) * MENUHEIGHT,
664 stepsizeS-2, MENUHEIGHT-4 ) ; in checkwindow_lights()
871 0,0,menuptr->width,MENUHEIGHT ) ; in TWcheckMouse()
1489 winheight -= 2 * MENUHEIGHT ; in TWcheckReconfig()
1532 winwidth, MENUHEIGHT ) ; in resize_windows()
1537 1, winheight + MENUHEIGHT, in resize_windows()
1538 winwidth, MENUHEIGHT ) ; in resize_windows()
1556 stepsizeS, MENUHEIGHT ) ; in resize_windows()
1562 (j+1) * MENUHEIGHT, in resize_windows()
[all …]
H A Dinfo.h22 #define MENUHEIGHT 20 /* give menu extra pixels in width */ macro
H A Ddraw.c607 0, MENUHEIGHT, winwidthS, winheightS - 2*MENUHEIGHT,
663 winheightS = infoBoxS.winheight = wattr.height - 2 * MENUHEIGHT ;
666 bottomS = MENUHEIGHT ;
/dports/x11-toolkits/fltk/fltk-1.3.8/fluid/
H A Dfluid.cxx1153 #define MENUHEIGHT 25 macro
1154 #define WINHEIGHT (BROWSERHEIGHT+MENUHEIGHT)
1246 o = make_widget_browser(0,MENUHEIGHT,BROWSERWIDTH,BROWSERHEIGHT); in make_main_window()
1250 main_menubar = new Fl_Menu_Bar(0,0,BROWSERWIDTH,MENUHEIGHT); in make_main_window()
/dports/x11-toolkits/ntk/ntk/fluid/
H A Dfluid.cxx1734 #define MENUHEIGHT 25 macro
1735 #define WINHEIGHT (BROWSERHEIGHT+MENUHEIGHT)
1807 o = make_widget_browser(0,MENUHEIGHT,BROWSERWIDTH,BROWSERHEIGHT); in make_main_window()
1811 main_menubar = new Fl_Menu_Bar(0,0,BROWSERWIDTH,MENUHEIGHT); in make_main_window()
/dports/math/giacxcas/fltk-1.3.0/fluid/
H A Dfluid.cxx1734 #define MENUHEIGHT 25 macro
1735 #define WINHEIGHT (BROWSERHEIGHT+MENUHEIGHT)
1824 o = make_widget_browser(0,MENUHEIGHT,BROWSERWIDTH,BROWSERHEIGHT); in make_main_window()
1828 main_menubar = new Fl_Menu_Bar(0,0,BROWSERWIDTH,MENUHEIGHT); in make_main_window()