mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Little Alien
- Bug fix: STRAIGHT_RANGE was not initialized properly causing enemies become invisible Added changes from 2006-05-14 2 by Madd Mugsy - Added Lesh's Explosion data externalization code for exp. animations, sounds, etc. - Fixed some armor issues with ceramic plate-type attachments being attached to non-vest slots - Removed hard coded item indexes from sun goggle / night goggle swapping, now it picks the best possible goggles git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@71 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -56,10 +56,27 @@ enum EXPLOSION_TYPES
|
||||
SMOKE_EXP,
|
||||
MUSTARD_EXP,
|
||||
BURN_EXP,
|
||||
NUM_EXP_TYPES
|
||||
NUM_EXP_TYPES=50
|
||||
|
||||
} ;
|
||||
|
||||
// Lesh: introducing struct instead of linked arrays
|
||||
#define MAX_BLAST_FILENAME_LEN 70
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT8 ubTransKeyFrame;
|
||||
UINT8 ubDamageKeyFrame;
|
||||
UINT32 uiExplosionSoundID;
|
||||
UINT32 uiAltExplosionSoundID;
|
||||
CHAR8 zBlastFilename[MAX_BLAST_FILENAME_LEN];
|
||||
CHAR8 sBlastSpeed;
|
||||
} EXPLOSION_DATA;
|
||||
|
||||
extern EXPLOSION_DATA gExpAniData[NUM_EXP_TYPES];
|
||||
// Lesh: done here
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT32 uiWorldBombIndex;
|
||||
|
||||
Reference in New Issue
Block a user