equal
deleted
inserted
replaced
|
1 // Copywrite David Wolfe, Rob Meyers, Doug Young, Edouard Serban-Schreiber |
|
2 // DO NOT DISTRIBUTE WITHOUT PERMISSION OF AN AUTHOR |
|
3 // See README |
|
4 |
|
5 #ifndef BOOLEAN_H |
|
6 #define BOOLEAN_H |
|
7 |
|
8 |
|
9 #include "assert.h" |
|
10 typedef int Boolean; |
|
11 typedef Boolean Direction; |
|
12 |
|
13 #define TRUE 1 |
|
14 #define FALSE 0 |
|
15 #define true 1 |
|
16 #define false 0 |
|
17 |
|
18 |
|
19 #define HORIZONTAL true |
|
20 #define VERTICAL false |
|
21 #define FIRSTPLAY true |
|
22 |
|
23 // Use c++ bool as a Boolean type. |
|
24 |
|
25 #endif |