Skip to content

Commit

Permalink
Add headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapiz committed Sep 15, 2020
1 parent e42a932 commit 946850c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include "ai.h"
Expand Down
1 change: 1 addition & 0 deletions src/map.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "map.h"
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "helper.h"
#include "render.h"
#include "res.h"
Expand Down
1 change: 1 addition & 0 deletions src/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <SDL.h>
#include <stdlib.h>
#include <string.h>

#include "ai.h"
#include "game.h"
Expand Down
1 change: 1 addition & 0 deletions src/res.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "types.h"
#include "render.h"
#include "weapon.h"
Expand Down
2 changes: 2 additions & 0 deletions src/storage.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "storage.h"

#include <string.h>

void readScore(FILE* f, Score* score) {
fscanf(f, "%d %d %d %d\n", &score->damage, &score->stand, &score->killed,
&score->got);
Expand Down
2 changes: 2 additions & 0 deletions src/types.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "types.h"

#include <SDL_ttf.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>

#include "helper.h"
#include "render.h"
Expand Down

0 comments on commit 946850c

Please sign in to comment.