Skip to content

Commit

Permalink
Hand feed weapon #712
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jul 16, 2024
1 parent 0b7b636 commit fce6e41
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
working-directory: ${{github.workspace}}
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}} -VV -S
run: ctest -C ${{env.BUILD_TYPE}} -VV

- name: Download DLLs on tags (Windows)
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
working-directory: ${{github.workspace}}
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}} -VV -S
run: ctest -C ${{env.BUILD_TYPE}} -VV

- name: Download DLLs on tags (Windows)
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
Expand Down
8 changes: 5 additions & 3 deletions data/.wolf3d/N3Ddata.cdogscpn/bullets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"Version": 5,
"Bullets": [
{
"Name": "knife",
"Name": "hand_feed",
"Power": 8,
"Hit": {
"Flesh": {
"Sound": "hits/knife_flesh"
"Sound": "hand_feed"
}
},
"Special": {
Expand All @@ -27,7 +27,9 @@
"OutOfRangeSpark": "spark",
"WallMark": "bullet_hole",
"Hit": {
"Flesh": {}
"Flesh": {
"Sound": "hits/food"
}
},
"Speed": 35000,
"Range": 1,
Expand Down
Binary file added data/.wolf3d/N3Ddata.cdogscpn/graphics/hand_feed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions data/.wolf3d/N3Ddata.cdogscpn/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"Version": 3,
"Guns": [
{
"Pic": "knife",
"Icon": "knife",
"Pic": "",
"Icon": "hand_feed",
"Name": "Hand",
"Bullet": "knife",
"Bullet": "hand_feed",
"Cost": 0,
"Lock": 30,
"Sound": "",
"SwitchSound": "knife_switch",
"SwitchSound": "hand_feed",
"CanShoot": false,
"Auto": true
},
Expand Down
Binary file modified graphics/fist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions graphics/fist.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/cdogs/map_wolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static const char *soundsSOD[] = {
static const char *soundsN3D[] = {
// 0-9
"chars/alert/antelope", "chars/alert/bear", "pickup", "chars/alert/camel",
"door_close", "cantaloupe", "cantaloupe_feeder", "goat_kick", "gulp?",
"door_close", "cantaloupe", "cantaloupe_feeder", "goat_kick", "hits/food",
"chars/die/animal",
// 10-19
"chars/alert/elephant", "1up", "super_feeder", "chars/alert/giraffe",
Expand Down

0 comments on commit fce6e41

Please sign in to comment.