DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / glob.h
1 /* Copyright (C) 1996-1997 Aleksey Volynskov
2 * Copyright (C) 2011 Rambo
3 * Copyright (C) 2020 SovietPony
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3 of the License ONLY.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
18 // Globals
20 #include <stdlib.h>
22 #ifndef GLOB_H_INCLUDED
23 #define GLOB_H_INCLUDED
25 #ifndef NULL
26 #define NULL 0
27 #endif
29 #define ON 1
30 #define OFF 0
31 #define TRUE 1
32 #define FALSE 0
34 typedef unsigned char byte;
35 typedef unsigned short word;
36 typedef unsigned int dword;
38 #define __MAX_PATH 255
39 #define __MAX_DRIVE 50
40 #define __MAX_DIR 100
41 #define __MAX_FNAME 50
42 #define __MAX_EXT 50
44 #define min(a,b) ((a)<(b)?(a):(b))
45 #define max(a,b) ((a)>(b)?(a):(b))
47 #define myrand(a) (rand()%(a))
49 #define DELAY 50
51 #endif /* GLOB_H_INCLUDED */