1 #ifndef __INVENTORY_CHOOSING_H
2 #define __INVENTORY_CHOOSING_H
3 
4 #include "Types.h"
5 #include "Soldier_Create.h"
6 
7 #define MORTAR_GRENADE_CLASS	100
8 
9 
10 enum
11 {
12 	//administrator ratings (1-5)
13 	BAD_ADMINISTRATOR_EQUIPMENT_RATING = 1,
14 	POOR_ADMINISTRATOR_EQUIPMENT_RATING,
15 	AVERAGE_ADMINISTRATOR_EQUIPMENT_RATING,
16 	GOOD_ADMINISTRATOR_EQUIPMENT_RATING,
17 	GREAT_ADMINISTRATOR_EQUIPMENT_RATING,
18 	//army ratings (3-7)
19 	BAD_ARMY_EQUIPMENT_RATING = AVERAGE_ADMINISTRATOR_EQUIPMENT_RATING,
20 	POOR_ARMY_EQUIPMENT_RATING,
21 	AVERAGE_ARMY_EQUIPMENT_RATING,
22 	GOOD_ARMY_EQUIPMENT_RATING,
23 	GREAT_ARMY_EQUIPMENT_RATING,
24 	//elite ratings (5-9)
25 	BAD_ELITE_EQUIPMENT_RATING = AVERAGE_ARMY_EQUIPMENT_RATING,
26 	POOR_ELITE_EQUIPMENT_RATING,
27 	AVERAGE_ELITE_EQUIPMENT_RATING,
28 	GOOD_ELITE_EQUIPMENT_RATING,
29 	GREAT_ELITE_EQUIPMENT_RATING,
30 
31 	// militia ratings (1-5)
32 	BAD_MILITIA_EQUIPMENT_RATING = BAD_ADMINISTRATOR_EQUIPMENT_RATING,
33 	POOR_MILITIA_EQUIPMENT_RATING,
34 	AVERAGE_MILITIA_EQUIPMENT_RATING,
35 	GOOD_MILITIA_EQUIPMENT_RATING,
36 	GREAT_MILITIA_EQUIPMENT_RATING,
37 };
38 
39 #define MIN_EQUIPMENT_CLASS	1
40 #define MAX_EQUIPMENT_CLASS	11
41 
42 
43 // Selects at the start of the game the set of guns the Queen's army will use during this game
44 void InitArmyGunTypes(void);
45 
46 //Chooses equipment based on the equipment level (1-11) with best being 11.  It allocates a range
47 //of equipment to choose from.
48 void GenerateRandomEquipment( SOLDIERCREATE_STRUCT *pp, INT8 bSoldierClass, INT8 bEquipmentRating);
49 
50 void AssignCreatureInventory( SOLDIERTYPE *pSoldier );
51 
52 void ReplaceExtendedGuns( SOLDIERCREATE_STRUCT *pp, INT8 bSoldierClass );
53 
54 void ResetMortarsOnTeamCount( void );
55 
56 #endif
57