![]() |
nSnake
A ncurses implementation of the classic Snake game
|
Declaration of the functions and structures related to high scores. More...

Go to the source code of this file.
Functions | |
| void | hscore_clean () |
| Restore the Highscores to the default. | |
| void | hscore_init () |
| Creates/reads from the High Score file. | |
| void | hscore_store () |
| Records the player High Score. | |
Variables | |
| int | HIGH_SCORE_BORDERS |
| HighScore of the game mode with borders. | |
| int | HIGH_SCORE_BORDERS_OFF |
| HighScore of the game mode without borders. | |
Declaration of the functions and structures related to high scores.
| void hscore_clean | ( | ) |
Restore the Highscores to the default.
| void hscore_init | ( | ) |
Creates/reads from the High Score file.
First, we try to open for reading. If it doesn't exist, then we open it for writing, effectively creating it.
1.7.6.1