Detect if the input file cannot be opened
This commit is contained in:
@@ -62,7 +62,7 @@ void showStartScreen(game_state *gs);
|
||||
void startGame(game_state *gs, hitfeed *hf);
|
||||
void showHelp(game_state *gs);
|
||||
int centerDiff(int coordinate, char *str);
|
||||
void readRandomLine(char *file, char *result);
|
||||
int readRandomLine(char *file, char *result);
|
||||
void trollHitScreen(game_state *gs, hitfeed *hf, int hits);
|
||||
void addHitToFeed(hitfeed *hf, char *streak, int hit);
|
||||
void trollHandleImpressive(hitfeed *hf, game_state *gs, int hits);
|
||||
|
Reference in New Issue
Block a user