skip to content
==> src/view_doom.c <==
1/* @ajax/mesh-abi-view-doom: its tables and functions. */
2#include "mesh/abi/view_doom.h"
3
4const mesh_doom_region MESH_DOOM_PLACE_STATE[3] = {{0x0, 0x24}, {MESH_DOOM_D_KEYS, 4}, {MESH_DOOM_D_MAP, 0x400}};
5
6const mesh_doom_region MESH_DOOM_PLACE_OUT[4] = {{MESH_DOOM_D_HEIGHT, 4 * MESH_DOOM_WIDTH}, {MESH_DOOM_D_KIND, 4 * MESH_DOOM_WIDTH}, {MESH_DOOM_D_SIDE, 4 * MESH_DOOM_WIDTH}, {MESH_DOOM_D_DIST, 4 * MESH_DOOM_WIDTH}};
7
8const float MESH_DOOM_START[6] = {8.5f, 10.5f, 0.0f, -1.0f, MESH_DOOM_PLANE, 0.0f};
9
10const char MESH_DOOM_MAP[16][17] = {
11    "1111111111111111",
12    "1......2.......1",
13    "1......2..3.3..1",
14    "1..44..2.......1",
15    "1..44.....3.3..1",
16    "1......2.......1",
17    "12222.2222..2221",
18    "1..............1",
19    "1.5.5.....6....1",
20    "1........666...1",
21    "1.5.5.....6....1",
22    "1..............1",
23    "1777.7777..7..71",
24    "1...........7..1",
25    "1...7...7......1",
26    "1111111111111111",
27};