| 1 |
root |
1.1 |
/* |
| 2 |
root |
1.14 |
* This file is part of Deliantra, the Roguelike Realtime MMORPG. |
| 3 |
pippijn |
1.10 |
* |
| 4 |
root |
1.15 |
* Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
| 5 |
root |
1.12 |
* Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
| 6 |
|
|
* Copyright (©) 1992,2007 Frank Tore Johansen |
| 7 |
pippijn |
1.10 |
* |
| 8 |
root |
1.16 |
* Deliantra is free software: you can redistribute it and/or modify it under |
| 9 |
|
|
* the terms of the Affero GNU General Public License as published by the |
| 10 |
|
|
* Free Software Foundation, either version 3 of the License, or (at your |
| 11 |
|
|
* option) any later version. |
| 12 |
pippijn |
1.10 |
* |
| 13 |
root |
1.13 |
* This program is distributed in the hope that it will be useful, |
| 14 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
|
|
* GNU General Public License for more details. |
| 17 |
pippijn |
1.10 |
* |
| 18 |
root |
1.16 |
* You should have received a copy of the Affero GNU General Public License |
| 19 |
|
|
* and the GNU General Public License along with this program. If not, see |
| 20 |
|
|
* <http://www.gnu.org/licenses/>. |
| 21 |
root |
1.12 |
* |
| 22 |
root |
1.14 |
* The authors can be reached via e-mail to <support@deliantra.net> |
| 23 |
pippijn |
1.10 |
*/ |
| 24 |
root |
1.1 |
|
| 25 |
|
|
#ifndef INCLUDES_H |
| 26 |
|
|
#define INCLUDES_H |
| 27 |
|
|
|
| 28 |
root |
1.5 |
// we want those macros, rewriting too much code is annoying |
| 29 |
|
|
#define __STDC_LIMIT_MACROS |
| 30 |
|
|
#define __STDC_FORMAT_MACROS |
| 31 |
root |
1.11 |
#define __STDC_CONSTANT_MACROS |
| 32 |
root |
1.1 |
|
| 33 |
root |
1.5 |
/* Include this first, because it lets us know what we are missing */ |
| 34 |
|
|
#include <autoconf.h> |
| 35 |
root |
1.1 |
|
| 36 |
root |
1.5 |
using namespace std; |
| 37 |
root |
1.1 |
|
| 38 |
root |
1.5 |
#include <cstddef> |
| 39 |
|
|
#include <cstdlib> |
| 40 |
|
|
#include <cstdio> |
| 41 |
|
|
#include <cstring> |
| 42 |
|
|
#include <csignal> |
| 43 |
|
|
#include <csetjmp> |
| 44 |
|
|
#include <cmath> |
| 45 |
root |
1.1 |
|
| 46 |
|
|
#include <ctype.h> |
| 47 |
root |
1.5 |
#include <stdint.h> |
| 48 |
|
|
#include <inttypes.h> |
| 49 |
|
|
#include <stdint.h> |
| 50 |
|
|
#include <limits.h> |
| 51 |
root |
1.1 |
#include <errno.h> |
| 52 |
|
|
|
| 53 |
root |
1.5 |
#include <unistd.h> |
| 54 |
root |
1.1 |
#include <fcntl.h> |
| 55 |
|
|
#include <sys/time.h> |
| 56 |
|
|
#include <sys/types.h> |
| 57 |
|
|
#include <sys/stat.h> |
| 58 |
|
|
|
| 59 |
root |
1.6 |
#include <vector> |
| 60 |
root |
1.1 |
|
| 61 |
|
|
#endif /* INCLUDES_H */ |
| 62 |
|
|
|