1 /*---------------------------------------------------------------------------*
2   Project:  Revolution Audio sound file converter
3   File:     Types.h
4 
5   Copyright (C)2001-2006 Nintendo  All Rights Reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: Types.h,v $
14   Revision 1.2  02/09/2006 06:26:26  aka
15   Changed copyright.
16 
17   Revision 1.1  11/04/2005 06:11:10  aka
18   Imported from Dolphin tree.
19 
20     1     8/15/01 11:37a Billyjack
21     created
22 
23     1     5/20/01 11:51p Eugene
24     DSPADPCM converter tool, command-line. Converts WAV or AIFF files into
25     DSP-ADPCM-formatted files, with a 96-byte DSP paramblock header (see
26     DSPADPCM document).
27 
28     Illustrates use of DSPTOOL DLL, which provides the DSP-ADPCM codec
29     functions.
30 
31     Source code is provided to developers (eventually). This is an MSVC++
32     project (bleah)
33 
34     2     3/04/99 2:18p Tianli01
35     testing
36 
37     1     3/04/99 2:18p Tianli01
38     initial check-in for testing
39 
40     1     12/15/98 10:05p Shiki
41 
42   Change History:
43     12/10/1998  Shiki Okasaka   Revised to reflect the coding guidelines
44     12/04/1998  Shiki Okasaka   Created
45 
46   $NoKeywords: $
47  *---------------------------------------------------------------------------*/
48 
49 #ifndef __TYPES_H__
50 #define __TYPES_H__
51 
52 #ifdef  __MWERKS__
53 // for MetroWerks compiler
54 typedef char                s8;
55 typedef short               s16;
56 typedef long                s32;
57 typedef long long           s64;
58 typedef unsigned char       u8;
59 typedef unsigned short      u16;
60 typedef unsigned long       u32;
61 typedef unsigned long long  u64;
62 typedef float               f32;
63 #else   // __MWERKS__
64 #ifndef WIN32
65 // for GNU compiler, etc.
66 typedef char                s8;
67 typedef short               s16;
68 typedef long                s32;
69 typedef long long           s64;
70 typedef unsigned char       u8;
71 typedef unsigned short      u16;
72 typedef unsigned long       u32;
73 typedef unsigned long long  u64;
74 #else   // WIN32
75 // for Microsoft compiler
76 typedef __int8              s8;
77 typedef __int16             s16;
78 typedef __int32             s32;
79 typedef __int64             s64;
80 typedef unsigned __int8     u8;
81 typedef unsigned __int16    u16;
82 typedef unsigned __int32    u32;
83 typedef unsigned __int64    u64;
84 #endif  // WIN32
85 #endif  // __MWERKS__
86 
87 typedef void*               Ptr;
88 //typedef u32                 BOOL;
89 //typedef u8                  BYTE;
90 
91 #define TRUE                1
92 #define FALSE               0
93 
94 #endif  // __TYPES_H__
95