]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/headers.h
Update copyrights.
[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 #include <libintl.h>
46 #define _(string) gettext(string)
47
48 #if !defined(OpenBSD) && !defined(FreeBSD)
49 #define strlcat(dest, src, n) strncat((dest), (src), (n) - 1)
50 #define strlcpy(dest, src, n) do {strncpy((dest), (src), (n)); (dest)[(n) - 1] = 0;} while(false)
51 #endif
52
53 #include "defs.h"
54
55 #include "CMath.h"
56
57 #include "CGameObject.h"
58 #include "CList.h"
59
60 #include "CSprite.h"
61 #include "CData.h"
62 #include "CParticle.h"
63 #include "CWeapon.h"
64 #include "CEntity.h"
65 #include "CBoss.h"
66 #include "CTrain.h"
67 #include "CSpawnPoint.h"
68 #include "CSwitch.h"
69 #include "CEffect.h"
70 #include "CObjective.h"
71 #include "CTeleporter.h"
72 #include "CLineDef.h"
73 #include "CTrap.h"
74
75 #include "CPersistData.h"
76 #include "CPersistant.h"
77
78 #include "CMap.h"
79
80 #include "CCollision.h"
81
82 #include "CWidget.h"
83
84 #include "CFileData.h"
85 #include "CPak.h"
86
87 #include "CJoystick.h"
88 #include "CKeyboard.h"
89
90 #include "CEngine.h"
91 #include "CGraphics.h"
92 #include "CAudio.h"
93
94 #include "CGame.h"
95 #include "CGameData.h"
96
97 #include "CHub.h"
98 #include "CRadarBlip.h"
99
100 #include "CCutscene.h"
101
102 #include "CReplayDataHeader.h"
103 #include "CReplayData.h"
104 #include "CConfig.h"
105 #include "CMedalServer.h"