Jail cell

This commit is contained in:
Cong
2021-03-14 13:18:48 +11:00
parent 531abe66cb
commit ef5c9a6711
6 changed files with 29 additions and 0 deletions

View File

@@ -1431,6 +1431,26 @@
"Health": 0,
"Flags": ["OnWall"]
},
{
"Name": "jail_cell",
"Pic": {
"Type": "Normal",
"Pic": "jail_cell"
},
"Offset": [-6, -10],
"Health": 0,
"Flags": ["Inside", "OnWall"]
},
{
"Name": "jail_cell_skeleton",
"Pic": {
"Type": "Normal",
"Pic": "jail_cell_skeleton"
},
"Offset": [-6, -10],
"Health": 0,
"Flags": ["Inside", "OnWall"]
},
{
"Name": "bone_blood",
"Pic": {

BIN
graphics/jail_cell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

4
graphics/jail_cell.txt Normal file
View File

@@ -0,0 +1,4 @@
Adapted from Tiny 16: Basic
By Lanea Zimmerman
https://opengameart.org/content/tiny-16-basic
http://opengameart.org/content/oga-by-30-faq

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,4 @@
Adapted from Tiny 16: Basic
By Lanea Zimmerman
https://opengameart.org/content/tiny-16-basic
http://opengameart.org/content/oga-by-30-faq

View File

@@ -337,6 +337,7 @@ static void LoadTile(
static int LoadWall(const uint16_t ch, const struct vec2i v)
{
UNUSED(ch);
UNUSED(v);
const CWWall wall = CWChToWall(ch);
return 1 + (int)wall;
/*switch (wall)