Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields  

DataTypes.h

00001 /*
00002  * $Id: DataTypes.h,v 1.3 2003/06/12 22:02:37 mindstorm2600 Exp $
00003  *
00004  * This file implements common datatypes these data types are compatible with SDL
00005  *
00006  * 
00007  */
00008 #ifndef __DATA_TYPES_H__
00009 #define __DATA_TYPES_H__
00010 
00011 #include<clawconfig.h>
00012 
00013 #ifdef USE_SDL
00014 #include<SDL.h>
00015 #else
00016 typedef unsigned char           Uint8;
00017 typedef signed char             Sint8;
00018 typedef unsigned short          Uint16;
00019 typedef signed short            Sint16;
00020 typedef unsigned int            Uint32;
00021 typedef signed int              Sint32;
00022 
00023 typedef unsigned long long      Uint64;
00024 typedef long long               Sint64;
00025 /*typedef struct {
00026         Uint32 hi;
00027         Uint32 lo;
00028 } Uint64, Sint64;*/
00029 #endif
00030 
00031 #ifdef UNIX_SOCKETS
00032 typedef int             TCPsocket;
00033 #else
00034 #include<SDL_net.h>
00035 #endif
00036 
00037 #endif

Authors:

Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara

Powered by:

SourceForgeLogo