This commit is contained in:
Cong
2024-05-18 12:20:10 +10:00
parent 470c9fc334
commit 398f5860d3
10 changed files with 105 additions and 45 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,4 +0,0 @@
Derived from Dawnblocker Ortho
By Buch
http://opengameart.org/content/dawnblocker-ortho
http://creativecommons.org/publicdomain/zero/1.0/

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

View File

@@ -416,10 +416,30 @@
"Flags": ["Inside", "OnWall"]
},
{
"Name": "brick_color",
"Name": "wood_color",
"Pic": {
"Type": "Normal",
"Pic": "brick_color"
"Pic": "wood_color"
},
"Offset": [-8, -11],
"Health": 0,
"Flags": ["OnWall"]
},
{
"Name": "lattice",
"Pic": {
"Type": "Normal",
"Pic": "lattice"
},
"Offset": [-8, -11],
"Health": 0,
"Flags": ["OnWall"]
},
{
"Name": "lattice_broken",
"Pic": {
"Type": "Normal",
"Pic": "lattice_broken"
},
"Offset": [-8, -11],
"Health": 0,

View File

@@ -56,9 +56,9 @@
"11": {
"Name": "wall",
"Type": "Wall",
"Style": "cobble",
"Mask": "060effff",
"MaskAlt": "008400ff",
"Style": "steelwood",
"Mask": "434343ff",
"MaskAlt": "484847ff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
@@ -69,8 +69,8 @@
"Name": "wall",
"Type": "Wall",
"Style": "steelwood",
"Mask": "bb8e37ff",
"MaskAlt": "9c682aff",
"Mask": "434343ff",
"MaskAlt": "484847ff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
@@ -81,8 +81,8 @@
"Name": "wall",
"Type": "Wall",
"Style": "steelwood",
"Mask": "bb8e37ff",
"MaskAlt": "9c682aff",
"Mask": "434343ff",
"MaskAlt": "484847ff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
@@ -93,8 +93,8 @@
"Name": "wall",
"Type": "Wall",
"Style": "steelwood",
"Mask": "bb8e37ff",
"MaskAlt": "9c682aff",
"Mask": "434343ff",
"MaskAlt": "484847ff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
@@ -814,7 +814,7 @@
"0,3,1,4,1,5,1,6,2,7,0,8,0,9,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0",
"0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0",
"0,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,0,0,0",
"0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0",
"0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
@@ -841,7 +841,7 @@
"0,0,0,0,256,0,1024,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,256,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,0,0,0,0,256,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,1024,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
@@ -891,10 +891,6 @@
"MapObject": "wall_vent",
"Positions": [[9, 10]]
},
{
"MapObject": "eagle_portrait",
"Positions": [[3, 4]]
},
{
"MapObject": "elevator_entrance",
"Positions": [[9, 4]]
@@ -935,10 +931,6 @@
"MapObject": "swastika_blue",
"Positions": [[7, 10]]
},
{
"MapObject": "brick_color",
"Positions": [[11, 10]]
},
{
"MapObject": "hitler_poster",
"Positions": [[1, 14]]
@@ -1141,6 +1133,18 @@
{
"MapObject": "duck_picture",
"Positions": [[15, 2]]
},
{
"MapObject": "wood_color",
"Positions": [[1, 4]]
},
{
"MapObject": "lattice_broken",
"Positions": [[3, 4]]
},
{
"MapObject": "jail_cell_broken",
"Positions": [[7, 4]]
}],
"StaticCharacters": [{
"Index": 0,

View File

@@ -1695,6 +1695,16 @@
"Health": 0,
"Flags": ["Inside", "OnWall"]
},
{
"Name": "jail_cell_broken",
"Pic": {
"Type": "Normal",
"Pic": "jail_cell_broken"
},
"Offset": [-6, -11],
"Health": 0,
"Flags": ["Inside", "OnWall"]
},
{
"Name": "no_sign",
"Pic": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

@@ -1328,16 +1328,24 @@ static void TryLoadWallObject(
}
break;
case CWWALL_WOOD_EAGLE:
switch (spearMission)
switch (map->type)
{
case 1:
moName = "eagle_portrait";
case CWMAPTYPE_N3D:
moName = "wood_color";
break;
case 2:
moName = "swastika_relief";
break;
case 3:
moName = "swastika_relief";
default:
switch (spearMission)
{
case 1:
moName = "eagle_portrait";
break;
case 2:
moName = "swastika_relief";
break;
case 3:
moName = "swastika_relief";
break;
}
break;
}
break;
@@ -1345,7 +1353,7 @@ static void TryLoadWallObject(
switch (map->type)
{
case CWMAPTYPE_N3D:
moName = "monkey_portrait";
moName = "lattice_broken";
break;
default:
switch (spearMission)
@@ -1361,18 +1369,33 @@ static void TryLoadWallObject(
}
break;
case CWWALL_WOOD:
switch (spearMission)
switch (map->type)
{
case 2:
moName = "wall_light";
case CWMAPTYPE_N3D:
break;
case 3:
moName = "hitler_poster";
default:
switch (spearMission)
{
case 2:
moName = "wall_light";
break;
case 3:
moName = "hitler_poster";
break;
}
break;
}
break;
case CWWALL_ENTRANCE:
moName = "elevator_entrance";
switch (map->type)
{
case CWMAPTYPE_N3D:
moName = "jail_cell_broken";
break;
default:
moName = "elevator_entrance";
break;
}
break;
case CWWALL_STEEL_SIGN:
switch (spearMission)
@@ -1685,13 +1708,20 @@ static void TryLoadWallObject(
}
break;
case CWWALL_MULTICOLOR_BRICK:
switch (spearMission)
switch (map->type)
{
case 1:
moName = "brick_color";
case CWMAPTYPE_N3D:
break;
case 3:
moName = "jail_cell";
default:
switch (spearMission)
{
case 1:
moName = "brick_color";
break;
case 3:
moName = "jail_cell";
break;
}
break;
}
break;