Lines Matching refs:yy
178 eat(int xx, int yy) in eat() argument
188 if ((item[xx - 1][yy] != OWALL) || (item[xx - 2][yy] != OWALL)) in eat()
190 item[xx - 1][yy] = item[xx - 2][yy] = 0; in eat()
191 eat(xx - 2, yy); in eat()
197 if ((item[xx + 1][yy] != OWALL) || (item[xx + 2][yy] != OWALL)) in eat()
199 item[xx + 1][yy] = item[xx + 2][yy] = 0; in eat()
200 eat(xx + 2, yy); in eat()
204 if (yy <= 2) in eat()
206 if ((item[xx][yy - 1] != OWALL) || (item[xx][yy - 2] != OWALL)) in eat()
208 item[xx][yy - 1] = item[xx][yy - 2] = 0; in eat()
209 eat(xx, yy - 2); in eat()
213 if (yy >= MAXY - 3) in eat()
215 if ((item[xx][yy + 1] != OWALL) || (item[xx][yy + 2] != OWALL)) in eat()
217 item[xx][yy + 1] = item[xx][yy + 2] = 0; in eat()
218 eat(xx, yy + 2); in eat()