|
Functions |
| int | player_has_weapon (int weapon_num, int secondary_flag) |
| void | select_weapon (int weapon_num, int secondary_flag, int print_message, int wait_for_rearm) |
| void | do_weapon_select (int weapon_num, int secondary_flag) |
| void | auto_select_weapon (int weapon_type) |
| void | show_weapon_status (void) |
| void | maybe_select_primary (int weapon_index) |
| void | maybe_select_secondary (int weapon_index) |
| int | pick_up_secondary (int weapon_index, int count) |
| int | pick_up_primary (int weapon_index) |
| int | pick_up_ammo (int class_flag, int weapon_index, int ammo_count) |
Variables |
| ubyte | Primary_weapon_to_weapon_info [MAX_PRIMARY_WEAPONS] = {0, 11, 12, 13, 14} |
| ubyte | Secondary_weapon_to_weapon_info [MAX_SECONDARY_WEAPONS] = {8, 15, 16, 17, 18} |
| int | Primary_ammo_max [MAX_PRIMARY_WEAPONS] = {0, VULCAN_AMMO_MAX, 0, 0, 0} |
| ubyte | Secondary_ammo_max [MAX_SECONDARY_WEAPONS] = {20, 10, 10, 5, 5} |
| weapon_info | Weapon_info [MAX_WEAPON_TYPES] |
| int | N_weapon_types = 0 |
| byte | Primary_weapon |
| byte | Secondary_weapon |