]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/headers.h
Update copyrights to 2011.
[quix0rs-blobwars.git] / src / headers.h
1 /*
2 Copyright (C) 2004-2011 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 <errno.h>
22 #include <stdlib.h>
23 #include <string.h>
24 #include <math.h>
25
26 #include <zlib.h>
27
28 #ifdef FRAMEWORK_SDL
29 #include <SDL/SDL.h>
30 #include <SDL_image/SDL_image.h>
31 #include <SDL_mixer/SDL_mixer.h>
32 #include <SDL_ttf/SDL_ttf.h>
33 #include <CoreFoundation/CoreFoundation.h>
34 extern C_LINKAGE void openHelpURL();
35 #ifndef SDL_GetGamma
36 extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue);
37 #endif
38 #else
39 #include "SDL/SDL.h"
40 #include "SDL/SDL_image.h"
41 #include "SDL/SDL_mixer.h"
42 #include "SDL/SDL_ttf.h"
43 #include "SDL/SDL_net.h"
44 #endif
45
46 #ifndef WIN32
47 #include <libintl.h>
48 #define _(string) gettext(string)
49 #else
50 #define _(x) (x)
51 #define gettext(x) (x)
52 #define bindtextdomain(x, y) while(false)
53 #define textdomain(x) while(false)
54 #endif
55
56 #if !defined(OpenBSD) && !defined(FreeBSD)
57 #define strlcat(dest, src, n) strncat((dest), (src), (n) - 1)
58 #define strlcpy(dest, src, n) do {strncpy((dest), (src), (n)); (dest)[(n) - 1] = 0;} while(false)
59 #endif
60
61 #include "defs.h"
62
63 #include "CMath.h"
64
65 #include "CGameObject.h"
66 #include "CList.h"
67
68 #include "CSprite.h"
69 #include "CData.h"
70 #include "CParticle.h"
71 #include "CWeapon.h"
72 #include "CEntity.h"
73 #include "CBoss.h"
74 #include "CTrain.h"
75 #include "CSpawnPoint.h"
76 #include "CSwitch.h"
77 #include "CEffect.h"
78 #include "CObjective.h"
79 #include "CTeleporter.h"
80 #include "CLineDef.h"
81 #include "CTrap.h"
82
83 #include "CPersistData.h"
84 #include "CPersistant.h"
85
86 #include "CMap.h"
87
88 #include "CCollision.h"
89
90 #include "CWidget.h"
91
92 #include "CFileData.h"
93 #include "CPak.h"
94
95 #include "CJoystick.h"
96 #include "CKeyboard.h"
97
98 #include "CEngine.h"
99 #include "CGraphics.h"
100 #include "CAudio.h"
101
102 #include "CGame.h"
103 #include "CGameData.h"
104
105 #include "CHub.h"
106 #include "CRadarBlip.h"
107
108 #include "CCutscene.h"
109
110 #include "CReplayDataHeader.h"
111 #include "CReplayData.h"
112 #include "CConfig.h"
113 #include "CMedalServer.h"