remove comments of old code

This commit is contained in:
2024-12-20 18:02:50 +03:00
parent b52169a376
commit 76feab4879

View File

@@ -161,18 +161,6 @@ void expose_cell(Minefield* mf, int r, int c){
expose_cell(mf, i, j);
}
}
/* if (r - 1 >= 0 && !(get_cell(mf, r - 1, c) & EXPOSED)){ */
/* expose_cell(mf, r - 1, c); */
/* } */
/* if (c - 1 >= 0 && !(get_cell(mf, r, c - 1) & EXPOSED)){ */
/* expose_cell(mf, r, c - 1); */
/* } */
/* if (r + 1 < mf->row && !(get_cell(mf, r + 1, c) & EXPOSED)){ */
/* expose_cell(mf, r + 1, c); */
/* } */
/* if (c + 1 < mf->col && !(get_cell(mf, r, c + 1) & EXPOSED)){ */
/* expose_cell(mf, r, c + 1); */
/* } */
}
}
@@ -246,9 +234,3 @@ int main(){
return 0;
}
/* if (IsKeyPressed(KEY_A)){ */
/* for (int i = 0; i < mf.row * mf.col; i++){ */
/* mf.cells[i] ^= EXPOSED; */
/* } */
/* } */