Files
source/Tactical/EnemyItemDrops.h
T
Marco Antonio J. Costaandmajcosta 86ad401186 add newline at end of file where it's lacking
.editorconfig already enforces it but it's getting changed piecemeal in
every commit. just get it done with.

the script:
```

find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do
	isFile=$(file -0 "$file" | cut -d $'\0' -f2)
	case "$isFile" in
		(*text*)
			echo "$file is text"
			if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then
				echo "" >> "$file"
			fi
			;;
		(*)
			echo "file isn't text"
			;;
	esac
done
```
2024-12-14 19:05:48 -03:00

53 lines
1.0 KiB
C

#ifndef _ENEMY_ITEM_DROPS__H_
#define _ENEMY_ITEM_DROPS__H_
#define MAX_DROP_ITEMS 100
typedef struct
{
UINT8 ubWeaponType;
UINT8 ubEnemyDropRate;
UINT8 ubMilitiaDropRate;
UINT32 uiIndex;
} WEAPON_DROPS;
typedef struct
{
UINT32 uiType;
UINT8 ubEnemyDropRate;
UINT8 ubMilitiaDropRate;
UINT32 uiIndex;
} AMMO_DROPS;
typedef struct
{
UINT8 ubType;
UINT8 ubEnemyDropRate;
UINT8 ubMilitiaDropRate;
UINT32 uiIndex;
} EXPLOSIVE_DROPS;
typedef struct
{
UINT8 ubArmourClass;
UINT8 ubEnemyDropRate;
UINT8 ubMilitiaDropRate;
UINT32 uiIndex;
} ARMOUR_DROPS;
typedef struct
{
UINT32 usItemClass;
UINT8 ubEnemyDropRate;
UINT8 ubMilitiaDropRate;
UINT32 uiIndex;
} MISC_DROPS;
extern WEAPON_DROPS gEnemyWeaponDrops[MAX_DROP_ITEMS];
extern AMMO_DROPS gEnemyAmmoDrops[MAX_DROP_ITEMS];
extern EXPLOSIVE_DROPS gEnemyExplosiveDrops[MAX_DROP_ITEMS];
extern ARMOUR_DROPS gEnemyArmourDrops[MAX_DROP_ITEMS];
extern MISC_DROPS gEnemyMiscDrops[MAX_DROP_ITEMS];
#endif