snake_head         34 modules/games/gui_snake.c unsigned short snake_head;
snake_head        263 modules/games/gui_snake.c       if(i == snake_head) break;
snake_head        277 modules/games/gui_snake.c   snake_head = 3;
snake_head        281 modules/games/gui_snake.c   for(i=snake_tail;i<snake_head;i++){
snake_head        335 modules/games/gui_snake.c     new_head = (snake_head+1)%SNAKE_MAX_LENGTH;
snake_head        340 modules/games/gui_snake.c       new_cord = (snake[snake_head][0]+1)%RING_WIDTH;
snake_head        342 modules/games/gui_snake.c       snake[new_head][1] = snake[snake_head][1];
snake_head        345 modules/games/gui_snake.c       new_cord = snake[snake_head][0]-1;
snake_head        348 modules/games/gui_snake.c       snake[new_head][1] = snake[snake_head][1];
snake_head        351 modules/games/gui_snake.c       new_cord = snake[snake_head][1]-1;
snake_head        353 modules/games/gui_snake.c       snake[new_head][0] = snake[snake_head][0];
snake_head        357 modules/games/gui_snake.c       new_cord = (snake[snake_head][1]+1)%RING_HEIGHT;
snake_head        358 modules/games/gui_snake.c       snake[new_head][0] = snake[snake_head][0];
snake_head        368 modules/games/gui_snake.c       if(i == snake_head) break;
snake_head        390 modules/games/gui_snake.c       new_cord = snake_head-1;
snake_head        392 modules/games/gui_snake.c       if(snake[new_cord][0] > snake[new_head][0] && snake[new_cord][1] > snake[new_head][1] && direction == DIR_UP) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,2);
snake_head        393 modules/games/gui_snake.c       else if(snake[new_cord][0] > snake[new_head][0] && snake[new_cord][1] > snake[new_head][1] && direction == DIR_LEFT) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,0);
snake_head        394 modules/games/gui_snake.c       else if(snake[new_cord][0] < snake[new_head][0] && snake[new_cord][1] > snake[new_head][1] && direction == DIR_UP) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,4);
snake_head        395 modules/games/gui_snake.c       else if(snake[new_cord][0] < snake[new_head][0] && snake[new_cord][1] > snake[new_head][1] && direction == DIR_RIGHT) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,3);
snake_head        396 modules/games/gui_snake.c       else if(snake[new_cord][0] < snake[new_head][0] && snake[new_cord][1] < snake[new_head][1] && direction == DIR_RIGHT) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,2);
snake_head        397 modules/games/gui_snake.c       else if(snake[new_cord][0] < snake[new_head][0] && snake[new_cord][1] < snake[new_head][1] && direction == DIR_DOWN) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,0);
snake_head        398 modules/games/gui_snake.c       else if(snake[new_cord][0] > snake[new_head][0] && snake[new_cord][1] < snake[new_head][1] && direction == DIR_LEFT) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,4);
snake_head        399 modules/games/gui_snake.c       else if(snake[new_cord][0] > snake[new_head][0] && snake[new_cord][1] < snake[new_head][1] && direction == DIR_DOWN) draw_element(snake[snake_head][0],snake[snake_head][1],tail2,3);
snake_head        400 modules/games/gui_snake.c       else if(prevdir == direction && (direction == DIR_RIGHT || direction == DIR_LEFT)) draw_element(snake[snake_head][0],snake[snake_head][1],tail,0);
snake_head        401 modules/games/gui_snake.c       else if(prevdir == direction && (direction == DIR_UP || direction == DIR_DOWN)) draw_element(snake[snake_head][0],snake[snake_head][1],tail,1);
snake_head        410 modules/games/gui_snake.c     snake_head = new_head;