cleaned up include directives

This commit is contained in:
Christian Kroll 2011-06-02 14:00:51 +00:00
parent a528246e33
commit 53fbefd70a
8 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,8 @@
#ifndef BEARING_H_ #ifndef BEARING_H_
#define BEARING_H_ #define BEARING_H_
#include <stdint.h>
enum tetris_bearing enum tetris_bearing
{ {
TETRIS_BEARING_0, TETRIS_BEARING_0,

View File

@ -2,6 +2,8 @@
#define BUCKET_H_ #define BUCKET_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h> #include <limits.h>
#include "../../config.h" #include "../../config.h"
#include "piece.h" #include "piece.h"

View File

@ -4,9 +4,7 @@
#include <assert.h> #include <assert.h>
#include "../../compat/pgmspace.h" #include "../../compat/pgmspace.h"
#include "../../joystick/joystick.h" #include "../../joystick/joystick.h"
#include "../../scrolltext/scrolltext.h"
#include "../../util.h" #include "../../util.h"
#include "../../config.h"
#include "bearing.h" #include "bearing.h"
#include "input.h" #include "input.h"

View File

@ -2,6 +2,8 @@
#define INPUT_H_ #define INPUT_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include "bearing.h" #include "bearing.h"
/** /**

View File

@ -2,6 +2,7 @@
#define TETRIS_PIECE_H_ #define TETRIS_PIECE_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h>
#include <assert.h> #include <assert.h>
/** /**

View File

@ -2,7 +2,6 @@
#define VARIANT_FP_H_ #define VARIANT_FP_H_
#include <stdint.h> #include <stdint.h>
#include "bearing.h"
#include "highscore.h" #include "highscore.h"
#include "variants.h" #include "variants.h"
#include "input.h" #include "input.h"

View File

@ -2,7 +2,6 @@
#define VARIANT_STD_H_ #define VARIANT_STD_H_
#include <stdint.h> #include <stdint.h>
#include "../../config.h"
#include "piece.h" #include "piece.h"
#include "bearing.h" #include "bearing.h"
#include "input.h" #include "input.h"

View File

@ -3,7 +3,6 @@
#include <stdint.h> #include <stdint.h>
#include "bearing.h" #include "bearing.h"
#include "piece.h"
#include "bucket.h" #include "bucket.h"
#include "variants.h" #include "variants.h"