File: all.h

package info (click to toggle)
maplay 1.2b-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 432 kB
  • ctags: 441
  • sloc: cpp: 5,421; sh: 97; makefile: 86
file content (44 lines) | stat: -rw-r--r-- 1,498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 *  @(#) all.h 1.8, last edit: 27 Oct 1994 15:55:30
 *  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
 *  @(#) Berlin University of Technology
 *
 *  This program 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 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program 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 this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef ALL_H
#define ALL_H

typedef float		real;		// float should be enough
typedef short		boil;		// no collisions with other bools
typedef unsigned	uint32;		// 32 Bit unsigned integer
	// some compilers may need "typedef unsigned long uint32" instead
typedef int		int32;		// 32 Bit signed integer
	// some compilers may need "typedef long int32" instead
typedef unsigned short	uint16;		// 16 Bit unsigned integer
typedef short		int16;		// 16 Bit signed integer

typedef unsigned char	ulawsample;	// u-law byte

#ifndef True
#define True	1
#define False	0
#endif

#ifdef SunOS4_1_1
#define ULAW 1
#endif

#endif