Supermodel/OSD/SDL/Types.h
2011-04-24 01:14:00 +00:00

52 lines
1.4 KiB
C

/**
** Supermodel
** A Sega Model 3 Arcade Emulator.
** Copyright 2011 Bart Trzynadlowski
**
** This file is part of Supermodel.
**
** Supermodel is free software: you can redistribute it and/or modify it under
** the terms of the GNU General Public License as published by the Free
** Software Foundation, either version 3 of the License, or (at your option)
** any later version.
**
** Supermodel is distributed in the hope that it will be useful, but WITHOUT
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
** FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
** more details.
**
** You should have received a copy of the GNU General Public License along
** with Supermodel. If not, see <http://www.gnu.org/licenses/>.
**/
/*
* Types.h
*
* Fundamental data types.
*/
#ifndef INCLUDED_TYPES_H
#define INCLUDED_TYPES_H
// Booleans (must be 0 or 1 only)
#define TRUE 1
#define FALSE 0
#define OKAY FALSE
#define FAIL TRUE
// Types
typedef int BOOL;
typedef unsigned long long UINT64;
typedef signed long long INT64;
typedef unsigned int UINT32;
typedef signed int INT32;
typedef unsigned short int UINT16;
typedef signed short int INT16;
typedef unsigned char UINT8;
typedef signed char INT8;
typedef float FLOAT32;
typedef double FLOAT64;
#endif // INCLUDED_TYPES_H