1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
4 Copyright (C) <ARembo@gmail.com> 2011
6 This file is part of the Doom2D:Rembo project.
8 Doom2D:Rembo is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version 2 as
10 published by the Free Software Foundation.
12 Doom2D:Rembo is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, see <http://www.gnu.org/licenses/> or
19 write to the Free Software Foundation, Inc.,
20 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
23 // Globals
25 #include <stdlib.h>
27 #ifndef GLOB_H_INCLUDED
28 #define GLOB_H_INCLUDED
30 #ifndef NULL
31 #define NULL 0
32 #endif
34 #define ON 1
35 #define OFF 0
36 #define TRUE 1
37 #define FALSE 0
43 #define __MAX_PATH 255
44 #define __MAX_DRIVE 50
45 #define __MAX_DIR 100
46 #define __MAX_FNAME 50
47 #define __MAX_EXT 50
49 #define min(a,b) ((a)<(b)?(a):(b))
50 #define max(a,b) ((a)>(b)?(a):(b))
52 #define myrand(a) (rand()%(a))
54 #define DELAY 50