/[projet1]/users/dbug/DungeonOSDK/LEVELS.C
Defence Force logotype

Contents of /users/dbug/DungeonOSDK/LEVELS.C

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1377 - (show annotations)
Thu Jul 28 18:17:03 2016 UTC (3 years, 9 months ago) by dbug
File MIME type: text/plain
File size: 4530 byte(s)
Trying to port the old Dungeon Demo to the OSDK.
Problems found so far:
- "a" after rotation instructions (rol a, asr a, etc... instead of just rol, asr, ...)
- "BYTE" and "WORD" instead of .byt and .word
- "RESERVE" instead of ".dsb"
and that's about it :D
1
2
3 unsigned char Map[2][32][32]=
4 {
5 0,3,0,0,0,0,0,2,1,0,0,3,0,0,1,0,0,2,1,1,1,1,2,1,1,0,0,3,0,1,0,0,
6 0,1,1,0,1,1,3,1,1,0,1,1,1,0,0,0,0,0,3,3,0,1,0,0,0,0,1,1,0,1,0,0,
7 0,0,1,0,1,1,0,1,0,0,0,0,1,1,1,2,0,0,1,1,0,1,0,2,1,1,1,0,0,0,1,1,
8 1,3,1,2,1,1,2,1,0,0,1,0,1,0,0,1,1,1,1,1,0,1,0,1,0,0,0,1,1,0,0,1,
9 1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,1,3,1,0,1,0,3,0,0,1,1,
10 0,0,1,0,3,0,3,0,2,1,0,0,1,0,1,0,0,0,2,1,1,0,0,1,0,1,1,1,1,1,1,1,
11 0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,1,1,0,
12 0,0,0,0,1,0,0,0,1,1,0,1,2,0,2,1,0,0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,
13 2,1,1,0,1,0,1,0,1,1,0,1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,1,0,1,0,1,3,
14 1,0,0,0,1,3,1,2,1,0,0,1,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,1,0,1,0,
15 1,0,1,1,1,0,1,1,1,0,1,0,0,1,0,2,1,0,1,1,1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