Conform to "standard" SDL2 including

This commit is contained in:
Linus Probert 2018-02-21 00:29:21 +01:00
parent 076d97f738
commit c02d674618
19 changed files with 21 additions and 21 deletions

View File

@ -19,7 +19,7 @@
#ifndef ACTIONTEXT_H_ #ifndef ACTIONTEXT_H_
#define ACTIONTEXT_H_ #define ACTIONTEXT_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdbool.h> #include <stdbool.h>
#include "position.h" #include "position.h"

View File

@ -19,7 +19,7 @@
#ifndef CAMERA_H_ #ifndef CAMERA_H_
#define CAMERA_H_ #define CAMERA_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "position.h" #include "position.h"

View File

@ -19,7 +19,7 @@
#ifndef COLLISIONS_H_ #ifndef COLLISIONS_H_
#define COLLISIONS_H_ #define COLLISIONS_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdbool.h> #include <stdbool.h>
#include "position.h" #include "position.h"

View File

@ -19,7 +19,7 @@
#ifndef GLOBALS_H_ #ifndef GLOBALS_H_
#define GLOBALS_H_ #define GLOBALS_H_
#include <SDL2/SDL_ttf.h> #include <SDL_ttf.h>
TTF_Font *gFontLarge = NULL; TTF_Font *gFontLarge = NULL;
TTF_Font *gFontSmall = NULL; TTF_Font *gFontSmall = NULL;

View File

@ -19,7 +19,7 @@
#ifndef GUI_BUTTON_H_ #ifndef GUI_BUTTON_H_
#define GUI_BUTTON_H_ #define GUI_BUTTON_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "pointer.h" #include "pointer.h"
#include "sprite.h" #include "sprite.h"
#include "linkedlist.h" #include "linkedlist.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdlib.h> #include <stdlib.h>
#include "item_builder.h" #include "item_builder.h"

View File

@ -19,7 +19,7 @@
#ifndef KEYBOARD_H_ #ifndef KEYBOARD_H_
#define KEYBOARD_H_ #define KEYBOARD_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdbool.h> #include <stdbool.h>
typedef enum Direction_t { typedef enum Direction_t {

View File

@ -19,8 +19,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <SDL2/SDL.h> #include <SDL.h>
#include <SDL2/SDL_image.h> #include <SDL_image.h>
#include "linkedlist.h" #include "linkedlist.h"
#include "player.h" #include "player.h"

View File

@ -19,7 +19,7 @@
#ifndef MAP_H_ #ifndef MAP_H_
#define MAP_H_ #define MAP_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdbool.h> #include <stdbool.h>
#include "hashtable.h" #include "hashtable.h"

View File

@ -19,7 +19,7 @@
#ifndef MENU_H_ #ifndef MENU_H_
#define MENU_H_ #define MENU_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "camera.h" #include "camera.h"
#include "linkedlist.h" #include "linkedlist.h"
#include "texture.h" #include "texture.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <SDL2/SDL_mixer.h> #include <SDL_mixer.h>
#include "mixer.h" #include "mixer.h"
#include "util.h" #include "util.h"

View File

@ -19,7 +19,7 @@
#ifndef MONSTER_H_ #ifndef MONSTER_H_
#define MONSTER_H_ #define MONSTER_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "sprite.h" #include "sprite.h"
#include "stats.h" #include "stats.h"
#include "actiontext.h" #include "actiontext.h"

View File

@ -19,7 +19,7 @@
#ifndef PARTICLE_ENGINE_H_ #ifndef PARTICLE_ENGINE_H_
#define PARTICLE_ENGINE_H_ #define PARTICLE_ENGINE_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "position.h" #include "position.h"
#include "dimension.h" #include "dimension.h"
#include "camera.h" #include "camera.h"

View File

@ -19,7 +19,7 @@
#ifndef PLAYER_H_ #ifndef PLAYER_H_
#define PLAYER_H_ #define PLAYER_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "sprite.h" #include "sprite.h"
#include "stats.h" #include "stats.h"
#include "actiontext.h" #include "actiontext.h"

View File

@ -19,7 +19,7 @@
#ifndef POINTER_H_ #ifndef POINTER_H_
#define POINTER_H_ #define POINTER_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include "sprite.h" #include "sprite.h"
#include "camera.h" #include "camera.h"

View File

@ -19,7 +19,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <SDL2/SDL_ttf.h> #include <SDL_ttf.h>
#include "gui.h" #include "gui.h"
#include "stats.h" #include "stats.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <SDL2/SDL_image.h> #include <SDL_image.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "texture.h" #include "texture.h"

View File

@ -19,8 +19,8 @@
#ifndef TEXTURE_H_ #ifndef TEXTURE_H_
#define TEXTURE_H_ #define TEXTURE_H_
#include <SDL2/SDL.h> #include <SDL.h>
#include <SDL2/SDL_ttf.h> #include <SDL_ttf.h>
#include "dimension.h" #include "dimension.h"
#include "position.h" #include "position.h"
#include "camera.h" #include "camera.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <SDL2/SDL.h> #include <SDL.h>
#include <stdlib.h> #include <stdlib.h>
#include "util.h" #include "util.h"
#include "timer.h" #include "timer.h"