cell_size 22 modules/games/gui_mastermind.c int cell_size = 20; cell_size 38 modules/games/gui_mastermind.c x = camera_screen.disp_left+FONT_WIDTH+(x*cell_size); cell_size 39 modules/games/gui_mastermind.c y = FONT_HEIGHT+FONT_HEIGHT/2+(y*cell_size); cell_size 40 modules/games/gui_mastermind.c draw_rectangle(x+5, y+5, x+cell_size-5, y+cell_size-5, cl, RECT_BORDER1|DRAW_FILLED); cell_size 45 modules/games/gui_mastermind.c int x = camera_screen.disp_left+4*cell_size+10+(pos+2)*(FONT_WIDTH+2); cell_size 46 modules/games/gui_mastermind.c int y = FONT_HEIGHT+FONT_HEIGHT/2+(curr_y*cell_size) + cell_size/2 - FONT_WIDTH/2 + 1; cell_size 136 modules/games/gui_mastermind.c cell_size = 8 * (camera_screen.height - FONT_HEIGHT * 2) / (9 * 9); cell_size 140 modules/games/gui_mastermind.c cell_size = (camera_screen.height - FONT_HEIGHT * 2) / 10; cell_size 152 modules/games/gui_mastermind.c draw_hline(camera_screen.disp_left + FONT_WIDTH / 2, FONT_HEIGHT * 2 + 8 * cell_size, 4 * cell_size + FONT_WIDTH, COLOR_WHITE); cell_size 153 modules/games/gui_mastermind.c draw_vline(camera_screen.disp_left + 4 * cell_size + FONT_WIDTH * 2, FONT_HEIGHT, 8 * cell_size, COLOR_WHITE); cell_size 154 modules/games/gui_mastermind.c draw_vline(camera_screen.disp_left + 4 * cell_size + FONT_WIDTH * 2 + 3, FONT_HEIGHT, 8 * cell_size, COLOR_WHITE); cell_size 41 modules/games/gui_reversi.c static unsigned short field_size, field_x, field_y, cell_size; cell_size 70 modules/games/gui_reversi.c draw_rectangle(field_x+cell_size*x, field_y+cell_size*y, cell_size 71 modules/games/gui_reversi.c field_x+cell_size*(x+1), field_y+cell_size*(y+1), cell_size 78 modules/games/gui_reversi.c draw_ellipse(field_x+cell_size*x+(cell_size>>1), field_y+cell_size*y+(cell_size>>1), cell_size 79 modules/games/gui_reversi.c (cell_size>>1)-4, (cell_size>>1)-4, COLOR_WHITE, DRAW_FILLED); cell_size 82 modules/games/gui_reversi.c draw_ellipse(field_x+cell_size*x+(cell_size>>1), field_y+cell_size*y+(cell_size>>1), cell_size 83 modules/games/gui_reversi.c (cell_size>>1)-4, (cell_size>>1)-4, COLOR_BLACK, DRAW_FILLED); cell_size 238 modules/games/gui_reversi.c cell_size = field_size >> 3; cell_size 324 modules/games/gui_reversi.c draw_rectangle(field_x+cell_size*xPos, field_y+cell_size*yPos, field_x+cell_size*(xPos+1), cell_size 325 modules/games/gui_reversi.c field_y+cell_size*(yPos+1), MAKE_COLOR(COLOR_RED,COLOR_RED), RECT_BORDER1); cell_size 333 modules/games/gui_reversi.c draw_ellipse(x+FONT_WIDTH*1.5+(cell_size>>1), y+FONT_HEIGHT*3+(cell_size>>1), cell_size 334 modules/games/gui_reversi.c (cell_size>>1)-4, (cell_size>>1)-4, COLOR_WHITE, DRAW_FILLED); cell_size 338 modules/games/gui_reversi.c draw_ellipse(x+FONT_WIDTH*1.5+(cell_size>>1), y+FONT_HEIGHT*7+(cell_size>>1), cell_size 339 modules/games/gui_reversi.c (cell_size>>1)-4, (cell_size>>1)-4, COLOR_BLACK, DRAW_FILLED); cell_size 391 modules/games/gui_reversi.c if ((sx >= field_x) && (sx < field_x+cell_size*8) && (sy >= field_y) && (sy < field_x+cell_size*8)) cell_size 393 modules/games/gui_reversi.c sx = (sx - field_x) / cell_size; cell_size 394 modules/games/gui_reversi.c sy = (sy - field_y) / cell_size; cell_size 76 modules/games/gui_sokoban.c static int cell_size; cell_size 274 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, cl, RECT_BORDER1|DRAW_FILLED); cell_size 275 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size, camera_screen.disp_left+x*cell_size+2, y*cell_size+cell_size-1, FG_COLOR(cl)); cell_size 276 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+cell_size-1, FG_COLOR(cl)); cell_size 277 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size+2, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+2, FG_COLOR(cl)); cell_size 278 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size+cell_size-1-2, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+cell_size-1-2, FG_COLOR(cl)); cell_size 342 modules/games/gui_sokoban.c cell_size = 8*camera_screen.height/(9*FIELD_HEIGHT); cell_size 345 modules/games/gui_sokoban.c cell_size = camera_screen.height/FIELD_HEIGHT; cell_size 416 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, MAKE_COLOR(WALL_COLOR_1, WALL_COLOR_2), RECT_BORDER1|DRAW_FILLED); cell_size 422 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); cell_size 423 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size+4, y*cell_size+4, camera_screen.disp_left+x*cell_size+cell_size-1-4, y*cell_size+cell_size-1-4, MAKE_COLOR(PLACE_COLOR_1, PLACE_COLOR_2), RECT_BORDER1|DRAW_FILLED); cell_size 430 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); cell_size 431 modules/games/gui_sokoban.c draw_ellipse(camera_screen.disp_left+x*cell_size+(cell_size>>1)-1, y*cell_size+(cell_size>>1)-1, (cell_size>>1)-3, (cell_size>>1)-3, PLAYER_COLOR_1, DRAW_FILLED); cell_size 435 modules/games/gui_sokoban.c draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); cell_size 441 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+cell_size*FIELD_WIDTH, 0, camera_screen.disp_left+cell_size*FIELD_WIDTH, camera_screen.height-1, COLOR_WHITE); cell_size 442 modules/games/gui_sokoban.c draw_line(camera_screen.disp_left+cell_size*FIELD_WIDTH+1, 0, camera_screen.disp_left+cell_size*FIELD_WIDTH+1, camera_screen.height-1, COLOR_BLACK); cell_size 445 modules/games/gui_sokoban.c draw_string(camera_screen.disp_left+cell_size*FIELD_WIDTH+2, 8, str, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); cell_size 447 modules/games/gui_sokoban.c draw_string(camera_screen.disp_left+cell_size*FIELD_WIDTH+2, 8+FONT_HEIGHT, str, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));