2 Copyright (C) 2004-2011 Parallel Realities
3 Copyright (C) 2011-2015 Perpendicular Dimensions
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 #include <SDL_image/SDL_image.h>
33 #include <SDL_mixer/SDL_mixer.h>
34 #include <SDL_ttf/SDL_ttf.h>
35 #include <SDL_net/SDL_net.h>
36 #include <CoreFoundation/CoreFoundation.h>
37 extern C_LINKAGE void openHelpURL();
39 extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue);
43 #include "SDL2/SDL_image.h"
44 #include "SDL2/SDL_mixer.h"
45 #include "SDL2/SDL_ttf.h"
46 #include "SDL2/SDL_net.h"
49 #if !defined(_WIN32) && !defined(__APPLE__)
51 #define _(string) gettext(string)
54 #define gettext(x) (x)
55 #define bindtextdomain(x, y) while(false)
56 #define textdomain(x) while(false)
59 #if !defined(OpenBSD) && !defined(FreeBSD) && !defined(__APPLE__)
60 static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); }
61 static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; }
68 #include "CGameObject.h"
73 #include "CParticle.h"
78 #include "CSpawnPoint.h"
81 #include "CObjective.h"
82 #include "CTeleporter.h"
86 #include "CPersistData.h"
87 #include "CPersistant.h"
91 #include "CCollision.h"
95 #include "CFileData.h"
98 #include "CJoystick.h"
99 #include "CKeyboard.h"
102 #include "CGraphics.h"
106 #include "CGameData.h"
109 #include "CRadarBlip.h"
111 #include "CCutscene.h"
113 #include "CReplayDataHeader.h"
114 #include "CReplayData.h"
116 #include "CMedalServer.h"