mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
-> VEHICLE_INVENTORY = TRUE (Ja2_Options.ini)
- Bug fix: Vehicles sharing same animations
- Added additional enemy item drop system
-> New XML-Drop files (EnemyWeaponDrops.xml, ...)
-> Set ENEMIES_ITEM_DROP = 1 (Ja2_Options.ini) to use the new drop system
-> Disable "Enemies drop all items" to use the new drop system
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@466 3b4a5df2-a311-0410-b5c6-a8a6f20db521
47 lines
877 B
C
47 lines
877 B
C
#ifndef _ENEMY_ITEM_DROPS__H_
|
|
#define _ENEMY_ITEM_DROPS__H_
|
|
|
|
#define MAX_DROP_ITEMS 100
|
|
|
|
typedef struct
|
|
{
|
|
UINT8 ubWeaponType;
|
|
UINT8 ubDropRate;
|
|
UINT32 uiIndex;
|
|
} WEAPON_DROPS;
|
|
|
|
typedef struct
|
|
{
|
|
UINT32 uiType;
|
|
UINT8 ubDropRate;
|
|
UINT32 uiIndex;
|
|
} AMMO_DROPS;
|
|
|
|
typedef struct
|
|
{
|
|
UINT8 ubType;
|
|
UINT8 ubDropRate;
|
|
UINT32 uiIndex;
|
|
} EXPLOSIVE_DROPS;
|
|
|
|
typedef struct
|
|
{
|
|
UINT8 ubArmourClass;
|
|
UINT8 ubDropRate;
|
|
UINT32 uiIndex;
|
|
} ARMOUR_DROPS;
|
|
|
|
typedef struct
|
|
{
|
|
UINT32 usItemClass;
|
|
UINT8 ubDropRate;
|
|
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 |