Skip to content
Snippets Groups Projects
Commit a0a6ae11 authored by neil's avatar neil
Browse files

Centralize SDL headers to centralize Mac port ifdefs

git-svn-id: http://svn.net-core.org/repos/t-engine4@607 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4b163a6d
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
#include "SFMT.h"
#include "mzip.h"
#include "main.h"
#include <SDL_ttf.h>
#include "tSDL.h"
/******************************************************************
******************************************************************
......
......@@ -18,7 +18,6 @@
Nicolas Casalini "DarkGod"
darkgod@te4.org
*/
#include "SDL.h"
#include "display_sdl.h"
#include <stdlib.h>
......
......@@ -21,7 +21,7 @@
#ifndef DISPLAY_SDL_H
#define DISPLAY_SDL_H
#include <SDL.h>
#include "tSDL.h"
#include <gl.h>
#include <glu.h>
#include <glext.h>
......
......@@ -5,7 +5,7 @@
Feel free to customize this file to suit your needs
*/
#import "SDL.h"
#import <SDL/SDL.h>
#import "SDLMain.h"
#import <sys/param.h> /* for MAXPATHLEN */
#import <unistd.h>
......
......@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <SDL_mixer.h>
#include "tSDL.h"
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
......
......@@ -25,8 +25,7 @@
#include "types.h"
#include "map.h"
#include "script.h"
#include <SDL.h>
#include <SDL_ttf.h>
#include "tSDL.h"
// Minimap defines
#define MM_FLOOR 1
......
......@@ -25,8 +25,7 @@
#include "types.h"
#include "music.h"
#include "script.h"
#include <SDL.h>
#include <SDL_mixer.h>
#include "tSDL.h"
bool sound_active = TRUE;
......
......@@ -26,8 +26,7 @@
#include "particles.h"
#include "script.h"
#include <math.h>
#include <SDL.h>
#include <SDL_ttf.h>
#include "tSDL.h"
#define rng(x, y) (x + rand_div(1 + y - x))
......
#ifdef __APPLE__
#include <SDL/SDL.h>
#include <SDL_ttf/SDL_ttf.h>
#include <SDL_mixer/SDL_mixer.h>
#else
#include <SDL.h>
#include <SDL_ttf.h>
#include <SDL_mixer.h>
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment