mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Flexible merchant updates
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3404 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -145,6 +145,18 @@ typedef struct
|
||||
UINT8 ubTypeOfArmsDealer; // Whether he buys/sells, sells, buys, or repairs
|
||||
INT32 iInitialCash; // How much cash dealer starts with (we now reset to this amount once / day)
|
||||
UINT32 uiFlags; // various flags which control the dealer's operations
|
||||
|
||||
UINT32 dailyIncrement;
|
||||
UINT32 dailyMaximum;
|
||||
UINT32 dailyRetained; // %
|
||||
UINT32 minCoolness; // 0-10
|
||||
UINT32 maxCoolness; // 0-10
|
||||
UINT32 addToCoolness; // 0-10
|
||||
UINT32 coolnessProgressRate; // %
|
||||
UINT32 daysDelayMin; // 1-10
|
||||
UINT32 daysDelayMax; // 1-10
|
||||
bool useBRSetting;
|
||||
bool allInventoryAlwaysAvailable;
|
||||
} ARMS_DEALER_INFO;
|
||||
|
||||
|
||||
@@ -287,7 +299,8 @@ typedef std::list<DEALER_SPECIAL_ITEM> DealerItemList;
|
||||
extern std::vector<DealerItemList> gArmsDealersInventory;
|
||||
void OrderDealerItems(int armsDealer, int usItem, int numItems, int arrivalDay);
|
||||
|
||||
extern ARMS_DEALER_INFO ArmsDealerInfo[ NUM_ARMS_DEALERS ];
|
||||
extern const ARMS_DEALER_INFO DefaultarmsDealerInfo[ NUM_ARMS_DEALERS ];
|
||||
extern std::vector<ARMS_DEALER_INFO> armsDealerInfo;
|
||||
extern ARMS_DEALER_STATUS gArmsDealerStatus[ NUM_ARMS_DEALERS ];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user