]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/headers.h
be319310c91bf23395f637d0b0ab10ffd7b8004d
[quix0rs-blobwars.git] / src / headers.h
1 /*
2 Copyright (C) 2004-2010 Parallel Realities
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13 See the GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
19 */
20
21 #include <stdlib.h>
22 #include <string.h>
23 #include <math.h>
24
25 #include <zlib.h>
26
27 #ifdef FRAMEWORK_SDL
28 #include <SDL/SDL.h>
29 #include <SDL_image/SDL_image.h>
30 #include <SDL_mixer/SDL_mixer.h>
31 #include <SDL_ttf/SDL_ttf.h>
32 #include <CoreFoundation/CoreFoundation.h>
33 extern C_LINKAGE void openHelpURL();
34 #ifndef SDL_GetGamma
35 extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue);
36 #endif
37 #else
38 #include "SDL/SDL.h"
39 #include "SDL/SDL_image.h"
40 #include "SDL/SDL_mixer.h"
41 #include "SDL/SDL_ttf.h"
42 #include "SDL/SDL_net.h"
43 #endif
44
45 #ifndef WIN32
46 #include <libintl.h>
47 #define _(string) gettext(string)
48 #else
49 #define _(x) (x)
50 #define gettext(x) (x)
51 #define bindtextdomain(x, y) while(false)
52 #define textdomain(x) while(false)
53 #endif
54
55 #if !defined(OpenBSD) && !defined(FreeBSD)
56 #define strlcat(dest, src, n) strncat((dest), (src), (n) - 1)
57 #define strlcpy(dest, src, n) do {strncpy((dest), (src), (n)); (dest)[(n) - 1] = 0;} while(false)
58 #endif
59
60 #include "defs.h"
61
62 #include "CMath.h"
63
64 #include "CGameObject.h"
65 #include "CList.h"
66
67 #include "CSprite.h"
68 #include "CData.h"
69 #include "CParticle.h"
70 #include "CWeapon.h"
71 #include "CEntity.h"
72 #include "CBoss.h"
73 #include "CTrain.h"
74 #include "CSpawnPoint.h"
75 #include "CSwitch.h"
76 #include "CEffect.h"
77 #include "CObjective.h"
78 #include "CTeleporter.h"
79 #include "CLineDef.h"
80 #include "CTrap.h"
81
82 #include "CPersistData.h"
83 #include "CPersistant.h"
84
85 #include "CMap.h"
86
87 #include "CCollision.h"
88
89 #include "CWidget.h"
90
91 #include "CFileData.h"
92 #include "CPak.h"
93
94 #include "CJoystick.h"
95 #include "CKeyboard.h"
96
97 #include "CEngine.h"
98 #include "CGraphics.h"
99 #include "CAudio.h"
100
101 #include "CGame.h"
102 #include "CGameData.h"
103
104 #include "CHub.h"
105 #include "CRadarBlip.h"
106
107 #include "CCutscene.h"
108
109 #include "CReplayDataHeader.h"
110 #include "CReplayData.h"
111 #include "CConfig.h"
112 #include "CMedalServer.h"