nxtetris/game/game.c
// todo: add check to ignore falling tetrominoes
add check to ignore falling tetrominoes
add check to ignore falling tetrominoes
unsigned int check_full_lines(Game* game) {
    unsigned int i, removed = 0;
    for (i = game->bounds.height - 1; i >= 0; --i) {
        if (is_line_full(game, i)) {
            ++removed;
        }
    }
    return removed;
}
unsigned int check_full_lines ( Game * game ) { unsigned int i , removed = 0 ; for ( i = game -> bounds . height - 1 ; i >= 0 ; -- i ) { if ( is_line_full ( game , i ) ) { ++ removed ; } } return removed ; }
todo: add check to ignore falling tetrominoes
todo : add check to ignore falling tetrominoes
/*
     Iterate rows, starting from the bottom.
     */