Skip to content

Commit e7d7f59

Browse files
committed
missing file
1 parent bda7c9c commit e7d7f59

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

src/gfx_64x64.cpp

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
//
2+
// Copyright Neil McGill, goblinhack@gmail.com
3+
//
4+
5+
#include "my_tile.hpp"
6+
#include "my_ui.hpp"
7+
8+
void gfx_init_64x64(void)
9+
{
10+
std::initializer_list< std::string > tiles = {
11+
// clang-format off
12+
// ##############################################################################
13+
"",
14+
"",
15+
"",
16+
"",
17+
"",
18+
"",
19+
"",
20+
"",
21+
"",
22+
"",
23+
"",
24+
"",
25+
// ##############################################################################
26+
"",
27+
"",
28+
"",
29+
"",
30+
"",
31+
"",
32+
"",
33+
"",
34+
"",
35+
"",
36+
"",
37+
"",
38+
// ##############################################################################
39+
"dungeon_wall.IS_JOIN_TL2",
40+
"dungeon_wall.IS_JOIN_T_3",
41+
"dungeon_wall.IS_JOIN_TR2",
42+
"dungeon_wall.IS_JOIN_TOP",
43+
"dungeon_wall.IS_JOIN_X4_180",
44+
"dungeon_wall.IS_JOIN_X4_270",
45+
"dungeon_wall.IS_JOIN_X2_270",
46+
"dungeon_wall.IS_JOIN_X2",
47+
"dungeon_wall.IS_JOIN_X1_180",
48+
"dungeon_wall.IS_JOIN_X1",
49+
"dungeon_wall.IS_JOIN_X",
50+
"",
51+
// ##############################################################################
52+
"dungeon_wall.IS_JOIN_T270_3",
53+
"dungeon_wall.IS_JOIN_BLOCK",
54+
"dungeon_wall.IS_JOIN_T90_3",
55+
"dungeon_wall.IS_JOIN_VERT",
56+
"dungeon_wall.IS_JOIN_X4_90",
57+
"dungeon_wall.IS_JOIN_X4",
58+
"dungeon_wall.IS_JOIN_X2_180",
59+
"dungeon_wall.IS_JOIN_X2_90",
60+
"dungeon_wall.IS_JOIN_X1_90",
61+
"dungeon_wall.IS_JOIN_X1_270",
62+
"dungeon_wall.IS_JOIN_X3_180",
63+
"dungeon_wall.IS_JOIN_X3",
64+
// ##############################################################################
65+
"dungeon_wall.IS_JOIN_BL2",
66+
"dungeon_wall.IS_JOIN_T180_3",
67+
"dungeon_wall.IS_JOIN_BR2",
68+
"dungeon_wall.IS_JOIN_BOT",
69+
"dungeon_wall.IS_JOIN_T_1",
70+
"dungeon_wall.IS_JOIN_T_2",
71+
"dungeon_wall.IS_JOIN_T270_2",
72+
"dungeon_wall.IS_JOIN_T90_1",
73+
"dungeon_wall.IS_JOIN_T",
74+
"dungeon_wall.IS_JOIN_T90",
75+
"dungeon_wall.IS_JOIN_TL",
76+
"dungeon_wall.IS_JOIN_TR",
77+
// ##############################################################################
78+
"dungeon_wall.IS_JOIN_LEFT",
79+
"dungeon_wall.IS_JOIN_HORIZ",
80+
"dungeon_wall.IS_JOIN_RIGHT",
81+
"dungeon_wall.IS_JOIN_NODE",
82+
"dungeon_wall.IS_JOIN_T180_2",
83+
"dungeon_wall.IS_JOIN_T180_1",
84+
"dungeon_wall.IS_JOIN_T270_1",
85+
"dungeon_wall.IS_JOIN_T90_2",
86+
"dungeon_wall.IS_JOIN_T270",
87+
"dungeon_wall.IS_JOIN_T180",
88+
"dungeon_wall.IS_JOIN_BL",
89+
"dungeon_wall.IS_JOIN_BR",
90+
// ##############################################################################
91+
};
92+
const std::vector< std::string > arr(tiles);
93+
tile_load_arr("data/gfx/tiles_64x64.tga", "tiles_64x64", 64, 64, arr);
94+
}

0 commit comments

Comments
 (0)