Skip to content

Commit

Permalink
Long hair, wood wall, some N3D walls #712
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed May 13, 2024
1 parent 3046c51 commit c769886
Show file tree
Hide file tree
Showing 25 changed files with 56 additions and 33 deletions.
2 changes: 1 addition & 1 deletion data/.wolf3d/N3Ddata.cdogscpn/characters.json
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
{
"Class": "Lady",
"PlayerTemplateName": "Naamah",
"HairType": "ponytail",
"HairType": "long",
"Skin": "ffb26aff",
"Arms": "ff412aff",
"Body": "ff352aff",
Expand Down
Binary file removed data/.wolf3d/N3Ddata.cdogscpn/graphics/heer_flag.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions data/.wolf3d/N3Ddata.cdogscpn/map_objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@
"Flags": ["Inside", "NoWalls"]
},
{
"Name": "heer_flag",
"Name": "yellow_flag",
"Pic": {
"Type": "Normal",
"Pic": "heer_flag"
"Pic": "yellow_flag"
},
"Offset": [-7, -11],
"Health": 0,
Expand Down Expand Up @@ -355,6 +355,16 @@
"Health": 0,
"Flags": ["Outside", "OnWall"]
},
{
"Name": "wood_slime",
"Pic": {
"Type": "Normal",
"Pic": "wood_slime"
},
"Offset": [-8, -23],
"Health": 0,
"Flags": ["Outside", "OnWall"]
},
{
"Name": "hitler_glass",
"Pic": {
Expand Down
34 changes: 16 additions & 18 deletions data/.wolf3d/N3Ddata.cdogscpn/missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@
"3": {
"Name": "wall",
"Type": "Wall",
"Style": "cobble",
"Mask": "ffffffff",
"MaskAlt": "008400ff",
"Style": "wood",
"Mask": "85521eff",
"MaskAlt": "bdbdbdff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
Expand Down Expand Up @@ -428,9 +428,9 @@
"4": {
"Name": "wall",
"Type": "Wall",
"Style": "cobble",
"Mask": "ffffffff",
"MaskAlt": "008400ff",
"Style": "wood",
"Mask": "85521eff",
"MaskAlt": "bdbdbdff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
Expand Down Expand Up @@ -560,9 +560,9 @@
"5": {
"Name": "wall",
"Type": "Wall",
"Style": "cobble",
"Mask": "ffffffff",
"MaskAlt": "008400ff",
"Style": "wood",
"Mask": "85521eff",
"MaskAlt": "bdbdbdff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
Expand Down Expand Up @@ -692,9 +692,9 @@
"6": {
"Name": "wall",
"Type": "Wall",
"Style": "cobble",
"Mask": "ffffffff",
"MaskAlt": "008400ff",
"Style": "wood",
"Mask": "85521eff",
"MaskAlt": "bdbdbdff",
"CanWalk": false,
"IsOpaque": true,
"Shootable": true,
Expand Down Expand Up @@ -899,12 +899,6 @@
"MapObject": "wall_vent",
"Positions": [[9, 10]]
},
{
"MapObject": "heer_flag",
"Positions": [[5, 2],
[13, 12],
[7, 14]]
},
{
"MapObject": "hitler_portrait",
"Positions": [[7, 2],
Expand Down Expand Up @@ -1140,6 +1134,10 @@
{
"MapObject": "cage",
"Positions": [[25, 7]]
},
{
"MapObject": "wood_slime",
"Positions": [[3, 2]]
}],
"StaticCharacters": [{
"Index": 0,
Expand Down
Binary file added graphics/chars/hairs/long_14x12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/et.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/ne.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/nt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/o.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/se.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/st.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/sw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/v.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/wt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/wall/wood/x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 27 additions & 12 deletions src/cdogs/map_wolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,25 +1178,40 @@ static void TryLoadWallObject(
switch (wall)
{
case CWWALL_GREY_BRICK_2:
switch (spearMission)
switch (map->type)
{
case 3:
moName = "wall_light";
case CWMAPTYPE_N3D:
moName = "wood_slime";
break;
default:
switch (spearMission)
{
case 3:
moName = "wall_light";
break;
}
break;
}
break;
case CWWALL_GREY_BRICK_FLAG:
switch (spearMission)
switch (map->type)
{
case 1:
moName = "heer_flag";
break;
case 2:
moName = "wall_light";
break;
case 3:
moName = "wall_light";
case CWMAPTYPE_N3D:
moName = "wood_slime";
break;
default:
switch (spearMission)
{
case 1:
moName = "heer_flag";
break;
case 2:
moName = "wall_light";
break;
case 3:
moName = "wall_light";
break;
}
}
break;
case CWWALL_GREY_BRICK_HITLER:
Expand Down

0 comments on commit c769886

Please sign in to comment.