mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#ifndef __STORE_INVENTORY_H_
|
||||
#define __STORE_INVENTORY_H_
|
||||
|
||||
#include "Items.h"
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT16 usItemIndex; //Index into the item table
|
||||
UINT8 ubQtyOnHand;
|
||||
UINT8 ubQtyOnOrder; //The number of items on order
|
||||
UINT8 ubItemQuality; // the % damaged listed from 0 to 100
|
||||
BOOLEAN fPreviouslyEligible; // whether or not dealer has been eligible to sell this item in days prior to today
|
||||
|
||||
UINT8 filler;
|
||||
|
||||
} STORE_INVENTORY;
|
||||
|
||||
|
||||
//Enums used for the access the MAX dealers array
|
||||
enum
|
||||
{
|
||||
BOBBY_RAY_NEW,
|
||||
BOBBY_RAY_USED,
|
||||
|
||||
BOBBY_RAY_LISTS,
|
||||
};
|
||||
|
||||
extern UINT8 StoreInventory[MAXITEMS][BOBBY_RAY_LISTS];
|
||||
extern INT16 WeaponROF[ MAXITEMS ];
|
||||
|
||||
|
||||
|
||||
void SetupStoreInventory( STORE_INVENTORY *pInventoryArray, BOOLEAN fUsed );
|
||||
BOOLEAN DoesGunOfSameClassExistInInventory( UINT8 ubItemIndex, UINT8 ubDealerID );
|
||||
STORE_INVENTORY *GetPtrToStoreInventory( UINT8 ubDealerID );
|
||||
//INT16 CountNumberOfItemsInStoreInventory( UINT8 ubArmsDealerID );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user