00001 00010 /* 00011 * Copyright (C) 2002-2010 UFO: Alien Invasion. 00012 * 00013 * This program is free software; you can redistribute it and/or 00014 * modify it under the terms of the GNU General Public License 00015 * as published by the Free Software Foundation; either version 2 00016 * of the License, or (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00021 * 00022 * See the GNU General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU General Public License 00025 * along with this program; if not, write to the Free Software 00026 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00027 * 00028 */ 00029 00030 #ifndef COMMON_UFOTYPES_H 00031 #define COMMON_UFOTYPES_H 00032 00033 #include <stddef.h> 00034 #include <stdint.h> 00035 00036 typedef float float32_t; 00037 typedef double double64_t; 00038 00039 typedef enum {qfalse, qtrue} qboolean; 00040 00041 #ifndef byte 00042 typedef uint8_t byte; 00043 #endif 00044 00045 #if defined _WIN64 00046 # define UFO_SIZE_T "%I64u" 00047 #elif defined _WIN32 00048 # define UFO_SIZE_T "%u" 00049 #else 00050 # define UFO_SIZE_T "%zu" 00051 #endif 00052 00053 #endif /* COMMON_UFOTYPES_H */