Debian Codegraph @

apps/demos/maze/mazes.h

raw symbols SCIP
1 /*
2 *
3 * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * Further, this software is distributed without any warranty that it is
16 * free of the rightful claim of any third person regarding infringement
17 * or the like. Any license provided herein, whether implied or
18 * otherwise, applies only to this software file. Patent licenses, if
19 * any, provided herein do not apply to combinations of this program with
20 * other software, or any other product whatsoever.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
27 * Mountain View, CA 94043, or:
28 *
29 * http://www.sgi.com
30 *
31 * For further information regarding this notice, see:
32 *
33 * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
34 *
35 */
36
37 short maze1Rowscxx . . $ maze1Rows.[12][12] = {
38 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
39 {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1},
40 {0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1},
41 {1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1},
42 {0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1},
43 {0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1},
44 {0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1},
45 {0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1},
46 {1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1},
47 {0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1},
48 {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1},
49 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
50 };
51 short maze1Columnscxx . . $ maze1Columns.[12][12] = {
52 {1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1},
53 {1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1},
54 {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1},
55 {1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1},
56 {1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1},
57 {1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1},
58 {1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1},
59 {1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1},
60 {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1},
61 {1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1},
62 {1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1},
63 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
64 };
65 short maze1Holescxx . . $ maze1Holes.[11][11] = {
66 {1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0},
67 {0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0},
68 {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0},
69 {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
70 {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0},
71 {0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0},
72 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
73 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
74 {0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0},
75 {0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0},
76 {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3}
77 };
78
79 short maze2Rowscxx . . $ maze2Rows.[12][12] = {
80 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
81 {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1},
82 {0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1},
83 {1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1},
84 {0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1},
85 {0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1},
86 {0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1},
87 {0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1},
88 {1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1},
89 {0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1},
90 {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1},
91 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
92 };
93 short maze2Columnscxx . . $ maze2Columns.[12][12] = {
94 {1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1},
95 {1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1},
96 {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1},
97 {1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1},
98 {1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1},
99 {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1},
100 {1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1},
101 {1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1},
102 {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1},
103 {1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1},
104 {1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1},
105 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
106 };
107 short maze2Holescxx . . $ maze2Holes.[11][11] = {
108 {1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1},
109 {0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0},
110 {0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1},
111 {0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1},
112 {0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0},
113 {0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0},
114 {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0},
115 {1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0},
116 {0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0},
117 {0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0},
118 {1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3}
119 };
120
121 short maze3Rowscxx . . $ maze3Rows.[12][12] = {
122 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
123 {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1},
124 {0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1},
125 {0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1},
126 {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1},
127 {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1},
128 {0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1},
129 {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1},
130 {0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1},
131 {0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1},
132 {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1},
133 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
134 };
135 short maze3Columnscxx . . $ maze3Columns.[12][12] = {
136 {1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1},
137 {1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1},
138 {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1},
139 {1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1},
140 {1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1},
141 {1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1},
142 {1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1},
143 {1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1},
144 {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1},
145 {1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1},
146 {1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1},
147 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
148 };
149 short maze3Holescxx . . $ maze3Holes.[11][11] = {
150 {1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1},
151 {0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0},
152 {0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1},
153 {1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1},
154 {1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1},
155 {0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1},
156 {0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0},
157 {1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0},
158 {0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0},
159 {0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0},
160 {1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 3}
161 };
162