New tag <shotAnimation> in AmmoTypes.xml allows defining custom shot animation.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8800 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2020-05-13 06:31:11 +00:00
parent 42a85e96ba
commit d9c8a1c398
3 changed files with 79 additions and 3 deletions
+4
View File
@@ -203,6 +203,8 @@ enum
#define PLAYER_NET_4_LVL_4 0x80000000 //2147483648*/
// ----------------------------------------------------------------
#define MAX_ANIMATION_FILENAME_LEN 100
typedef struct
{
UINT32 uiIndex;
@@ -259,6 +261,8 @@ typedef struct
FLOAT dDamageModifierCivilianVehicle;
FLOAT dDamageModifierZombie;
// sevenfm: shot animation
CHAR8 shotAnimation[MAX_ANIMATION_FILENAME_LEN];
} AMMOTYPE;
enum