Comment cleanup, semantic types, information hiding.
This commit is contained in:
parent
b27f767cc6
commit
a3c159660b
5 changed files with 26 additions and 36 deletions
2
score.c
2
score.c
|
@ -120,7 +120,7 @@ void terminate(enum termination mode)
|
|||
if (points + game.saved + 1 >= mxscor && game.saved != 0)
|
||||
rspeak(WITHOUT_SUSPENDS);
|
||||
rspeak(TOTAL_SCORE, points, mxscor, game.turns, game.turns);
|
||||
for (long i = 1; i <= (long)NCLASSES; i++) {
|
||||
for (int i = 1; i <= (long)NCLASSES; i++) {
|
||||
if (classes[i].threshold >= points) {
|
||||
speak(classes[i].message);
|
||||
i = classes[i].threshold + 1 - points;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue