00001 /* Copyright (c) 2005 Arachi, Inc. and Stanford University. 00002 * 00003 * Permission is hereby granted, free of charge, to any person obtaining 00004 * a copy of this software and associated documentation files (the 00005 * "Software"), to deal in the Software without restriction, including 00006 * without limitation the rights to use, copy, modify, merge, publish, 00007 * distribute, sublicense, and/or sell copies of the Software, and to 00008 * permit persons to whom the Software is furnished to do so, subject 00009 * to the following conditions: 00010 * 00011 * The above copyright notice and this permission notice shall be included 00012 * in all copies or substantial portions of the Software. 00013 * 00014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00015 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00016 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00017 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 00018 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 00019 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 00020 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00021 */ 00022 00023 #ifndef _deTypes_h 00024 #define _deTypes_h 00025 00026 #define DE_PS2_VU 00027 //#undef DE_PS2_VU 00028 00029 #include <stdio.h> 00030 00031 #ifndef NULL 00032 #ifdef __cplusplus 00033 #define NULL 0 00034 #else 00035 #define NULL ((void *)0) 00036 #endif 00037 #endif 00038 00043 // @{ 00044 #ifndef DE_PRECISION_DOUBLE 00045 typedef float deFloat; 00046 #else 00047 typedef double deFloat; 00048 #endif 00049 00050 typedef int deInt; 00051 00052 typedef char deChar; 00053 // @} 00054 #endif // _deTypes_h