mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Add types.h to a bunch of files
This commit is contained in:
parent
89b16512d5
commit
045125d328
@ -1,6 +1,8 @@
|
|||||||
#ifndef CLIENTVERSIONS_H
|
#ifndef CLIENTVERSIONS_H
|
||||||
#define CLIENTVERSIONS_H
|
#define CLIENTVERSIONS_H
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
static const uint32 BIT_Client62 = 1;
|
static const uint32 BIT_Client62 = 1;
|
||||||
static const uint32 BIT_Titanium = 2;
|
static const uint32 BIT_Titanium = 2;
|
||||||
static const uint32 BIT_SoF = 4;
|
static const uint32 BIT_SoF = 4;
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
#define __CONDITION_H
|
#define __CONDITION_H
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#include "mutex.h"
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -38,9 +38,9 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../common/mutex.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
#define EQ_CONSTANTS_H
|
#define EQ_CONSTANTS_H
|
||||||
|
|
||||||
#include "skills.h"
|
#include "skills.h"
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Item attributes
|
** Item attributes
|
||||||
|
|||||||
@ -15,7 +15,8 @@
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "../common/debug.h"
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
// Quagmire - i was really surprised, but i couldnt find the equivilent standard library function
|
// Quagmire - i was really surprised, but i couldnt find the equivilent standard library function
|
||||||
signed char sign(signed int tmp) {
|
signed char sign(signed int tmp) {
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
#ifndef MOREMATH_H
|
#ifndef MOREMATH_H
|
||||||
#define MOREMATH_H
|
#define MOREMATH_H
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
signed char sign(signed int tmp);
|
signed char sign(signed int tmp);
|
||||||
signed char sign(double tmp);
|
signed char sign(double tmp);
|
||||||
uint32 pow32(uint32 base, uint32 exponet);
|
uint32 pow32(uint32 base, uint32 exponet);
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#include "types.h"
|
||||||
#include "proc_launcher.h"
|
#include "proc_launcher.h"
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|||||||
@ -23,8 +23,9 @@
|
|||||||
#ifndef SEPERATOR_H
|
#ifndef SEPERATOR_H
|
||||||
#define SEPERATOR_H
|
#define SEPERATOR_H
|
||||||
|
|
||||||
#include <string.h>
|
#include "types.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
class Seperator
|
class Seperator
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
#define TCPSERVER_H_
|
#define TCPSERVER_H_
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include "mutex.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user