Searched refs:ball_dia (Results 1 – 7 of 7) sorted by relevance
/dports/games/lbreakout2/lbreakout2-2.6.5/game/ |
H A D | balls.c | 34 int ball_dia = 12; variable 252 if ( ball->x + ball_dia >= 640 - BRICK_WIDTH ) { in ball_handle_paddle_contact() 253 ball->cur.x = 640 - BRICK_WIDTH - ball_dia; in ball_handle_paddle_contact() 259 ball->cur.y = 480 - BRICK_HEIGHT - 1 - ball_dia; in ball_handle_paddle_contact() 912 y = cur_game->paddles[i]->y - ball_dia; in balls_update() 943 y = cur_game->paddles[i]->y - ball_dia; in balls_update() 1007 if ( ball->y + ball_dia >= ball->paddle->y ) in balls_update() 1013 ball->cur.y = ball->paddle->y - ball_dia; in balls_update() 1079 ball->x + ball_dia < 0 || in balls_update() 1081 ball->y + ball_dia < 0 ) { in balls_update() [all …]
|
H A D | bricks.c | 25 extern int ball_dia; 133 if ( mx == (ball->x + ball_dia) / BRICK_WIDTH ) in brick_grow() 137 if ( my == (ball->y + ball_dia) / BRICK_HEIGHT ) in brick_grow() 139 if ( mx == (ball->x + ball_dia) / BRICK_WIDTH ) in brick_grow() 140 if ( my == (ball->y + ball_dia) / BRICK_HEIGHT ) in brick_grow() 316 if ( i == (ball->x + ball_dia) / BRICK_WIDTH ) in bricks_move_barrier() 320 if ( j == (ball->y + ball_dia) / BRICK_HEIGHT ) in bricks_move_barrier() 322 if ( i == (ball->x + ball_dia) / BRICK_WIDTH ) in bricks_move_barrier() 323 if ( j == (ball->y + ball_dia) / BRICK_HEIGHT ) in bricks_move_barrier() 341 ball->x = (BRICK_WIDTH*MAP_WIDTH-ball_dia)/2; in attach_ball_to_ceiling()
|
H A D | game.c | 30 extern int ball_w, ball_dia; 211 ball = ball_create((game->paddles[i]->w - ball_w) / 2, -ball_dia ); in game_init()
|
H A D | extras.c | 26 extern int ball_w, ball_dia; 121 paddle->y + ((paddle->type == PADDLE_TOP)?paddle->h:-ball_dia) ); in extra_use()
|
/dports/games/lbreakout/lbreakout-010315/lbreakout/ |
H A D | breakout.cpp | 131 ball_dia = 11; in BreakOut() 1320 b->y + ball_dia - 1 < club.y || in Club_CheckBallReflection() 1323 … (club.v_x > 0 && b->cur_x + ball_dia - 1 < club.x && b->cur_x + ball_dia - 1 < old_x)) ) { in Club_CheckBallReflection() 1348 cx_off = ceil( sqrt( Square(ball_dia + 1) - Square(by - cy + 1) ) ) + 1; in Club_CheckBallReflection() 1479 if (b->x + ball_dia >= sdl.scr->w - brick_w) { in Club_HandleContact() 1480 b->cur_x = sdl.scr->w - brick_w - ball_dia; in Club_HandleContact() 1693 …_con || bl->ign_club || bl->y + ball_dia < club.y || (bl->y >= club.y + club.h - 4 && old_y > club… in Ball_CheckClubReflection() 2237 b = Ball_Create((club.w - ball_w) / 2, -ball_dia, (rand() % 120) - 60, ball_v); in Balls_Reset() 2257 DR_SETDST(sdl.scr, bx, by, ball_dia, ball_dia); in Balls_Hide() 2260 AddRefreshRect(bx, by, ball_dia, ball_dia); in Balls_Hide() [all …]
|
H A D | breakout.h | 332 int ball_dia; // diameter // variable
|
/dports/games/lbreakout2/lbreakout2-2.6.5/client/ |
H A D | extras.c | 32 extern int ball_w, ball_dia;
|