aboutsummaryrefslogtreecommitdiff
path: root/src/GameInitDispose.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-10-01 11:34:46 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-10-01 11:34:46 +0700
commitf076e700c738a9aea4fbac936f3b281cd35ee475 (patch)
tree1c0accd675642a1ba6aee39ee6edafc61906dcca /src/GameInitDispose.cpp
parent5436a5482373fdac56d477d00f21fa3902465ac7 (diff)
downloadblackshades-f076e700c738a9aea4fbac936f3b281cd35ee475.tar.gz
Reorganize animations
Diffstat (limited to 'src/GameInitDispose.cpp')
-rw-r--r--src/GameInitDispose.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/GameInitDispose.cpp b/src/GameInitDispose.cpp
index ba27374..600a6a4 100644
--- a/src/GameInitDispose.cpp
+++ b/src/GameInitDispose.cpp
@@ -118,7 +118,7 @@ void LoadSounds(bool musictoggle)
gSampleSet[bodylandsound] = loadSound("impact/body-fall.wav");
gSampleSet[bodyhitsound] = loadSound("impact/body-hit.wav");
gSampleSet[knifeslashsound] = loadSound("impact/knife-stab.wav");
- gSampleSet[wallhitsound] = loadSound("impact/wall-hit.ogg");
+ gSampleSet[wallhitsound] = loadSound("impact/wall-hit.wav");
gSampleSet[visionsound] = loadSound("underwater.ogg");
gSampleSet[soulinsound] = loadSound("soul-in.ogg");
@@ -1376,33 +1376,33 @@ void initGame(Game* game)
// Load animations
testskeleton.reload();
- animation[idleanim].load("Breathe");
- animation[joganim].load("Run");
- animation[pistolaimanim].load("PistolAim");
- animation[walkanim].load("Walk");
- animation[rifleholdanim].load("Riflehold");
- animation[rifleaimanim].load("Rifleaim");
- animation[assaultrifleaimanim].load("AssaultRifleaim");
- animation[crouchanim].load("Crouch");
- animation[headpainanim].load("Headshot");
- animation[chestpainanim].load("Chestshot");
- animation[stomachpainanim].load("Stomachshot");
- animation[rightarmpainanim].load("Rightarmshot");
- animation[leftarmpainanim].load("Leftarmshot");
- animation[rightlegpainanim].load("Rightlegshot");
- animation[leftlegpainanim].load("Leftlegshot");
- animation[riflehitanim].load("Riflehit");
- animation[grenadeaimanim].load("grenadeaim");
- animation[grenadechargeanim].load("grenadecharge");
- animation[grenadethrowanim].load("grenadethrow");
- animation[zombieeatanim].load("Zombiemunch");
- animation[zombiejoganim].load("ZombieRun");
- animation[zombiewalkanim].load("Zombiewalk");
- animation[getupfrontanim].load("Getupfromfront");
- animation[getupbackanim].load("Getupfromback");
- animation[diveanim].load("Dive");
- animation[throwanim].load("Aikidothrow");
- animation[thrownanim].load("Aikidothrown");
+ animation[idleanim].load("breathe");
+ animation[crouchanim].load("crouch");
+ animation[walkanim].load("walk-human");
+ animation[joganim].load("run-human");
+ animation[diveanim].load("dive");
+ animation[rifleholdanim].load("hold-rifle");
+ animation[rifleaimanim].load("aim-sniper-rifle");
+ animation[assaultrifleaimanim].load("aim-assault-rifle");
+ animation[pistolaimanim].load("aim-pistol");
+ animation[grenadeaimanim].load("aim-grenade");
+ animation[grenadechargeanim].load("charge-grenade");
+ animation[grenadethrowanim].load("throw-grenade");
+ animation[throwanim].load("throw-aikido");
+ animation[thrownanim].load("thrown-aikido");
+ animation[headpainanim].load("shot-head");
+ animation[chestpainanim].load("shot-chest");
+ animation[stomachpainanim].load("shot-stomach");
+ animation[rightarmpainanim].load("shot-arm-right");
+ animation[leftarmpainanim].load("shot-arm-left");
+ animation[rightlegpainanim].load("shot-leg-right");
+ animation[leftlegpainanim].load("shot-leg-left");
+ animation[riflehitanim].load("hit-rifle");
+ animation[getupfrontanim].load("get-up-from-front");
+ animation[getupbackanim].load("get-up-from-back");
+ animation[zombieeatanim].load("munch");
+ animation[zombiejoganim].load("run-zombie");
+ animation[zombiewalkanim].load("walk-zombie");
// Setup people
for (int i = 0; i < max_people; ++i) {