/[projet1]/public/oric/games/Dungeon Demo/BAK1/MAP.C
Defence Force logotype

Contents of /public/oric/games/Dungeon Demo/BAK1/MAP.C

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1376 - (show annotations)
Mon Jul 25 19:48:05 2016 UTC (3 years, 3 months ago) by dbug
File MIME type: text/plain
File size: 3137 byte(s)
Added the complete (not cleaned up, pure legacy) source code and assets for the 1996 Dungeon Master tech demo.
To get that to actually work, you need (at least):
- A dos machine (or a Windows 95/Windows 98)
- The Wacom compiler
- The old version of the Oric Compiler toolchain (the OSDK ancestor)

1
2
3 unsigned char Map[32][32]=
4 {
5 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
6 {1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1},
7 {1,2,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
8 {1,0,0,0,0,1,1,0,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1},
9 {1,0,0,2,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
10 {1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
11 {1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
12 {1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
13 {1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
14 {1,0,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
15 {1,0,1,0,0,0,0,1,0,0,0,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1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1},
31 {1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1},
32 {1,0,1,0,0,0,1,1,0,1,0,0,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1},
33 {1,0,1,0,0,0,1,0,0,1,1,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
34 {1,0,1,1,1,0,1,1,0,0,0,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
35 {1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
36 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
37 };
38
39
40 /*
41 unsigned char DitherTable[]=
42 {
43 BLUE,
44 BLACK,
45 BLACK,
46 BLUE,
47 BLACK,
48 BLUE,
49 BLUE,
50 BLUE,
51 BLUE,
52 BLUE,
53 BLUE,
54 BLUE,
55 BLUE,
56 BLUE,
57 BLUE,
58 CYAN,
59 BLUE,
60 BLUE,
61 CYAN,
62 BLUE,
63 CYAN,
64 BLUE,
65 BLUE,
66 CYAN,
67 BLUE,
68 CYAN,
69 CYAN,
70 BLUE,
71 CYAN,
72 CYAN,
73 CYAN,
74 CYAN,
75 CYAN,
76 CYAN,
77 CYAN,
78 CYAN,
79 CYAN,
80 WHITE,
81 CYAN,
82 CYAN,
83 CYAN,
84 WHITE,
85 CYAN,
86 CYAN,
87 WHITE,
88 CYAN,
89 WHITE,
90 WHITE,
91 WHITE,
92 CYAN,
93 WHITE,
94 WHITE,
95 WHITE,
96 WHITE,
97 WHITE,
98 WHITE,
99 WHITE,
100 WHITE,
101 YELLOW,
102 WHITE,
103 WHITE,
104 YELLOW,
105 WHITE,
106 YELLOW,
107 YELLOW,
108 };
109 */
110

  ViewVC Help
Powered by ViewVC 1.1.26