12 #ifndef _SCORING_HEADER_FILE
13 #define _SCORING_HEADER_FILE
24 #define NUM_MEDALS_FS2 18
25 #define NUM_MEDALS_FS1 16
31 #define RANK_LT_JUNIOR 1
33 #define RANK_LT_CMDR 3
35 #define RANK_CAPTAIN 5
36 #define RANK_COMMODORE 6
37 #define RANK_REAR_ADMIRAL 7
38 #define RANK_VICE_ADMIRAL 8
39 #define RANK_ADMIRAL 9
41 #define MAX_FREESPACE1_RANK RANK_COMMODORE
42 #define MAX_FREESPACE2_RANK RANK_ADMIRAL
73 #define STATS_FLAG_INVALID (1<<0)
74 #define STATS_FLAG_CAMPAIGN (1<<1)
75 #define STATS_FLAG_MULTIPLAYER (1<<2)
157 void scoring_eval_hit(
object *hit_obj,
object *other_obj,
int from_blast = 0);
void scoring_eval_hit(object *hit_obj, object *other_obj, int from_blast=0)
int scoring_eval_kill_on_weapon(object *weapon_obj, object *other_obj)
void scoring_level_close(int accepted=1)
float scoring_get_scale_factor()
int kills[MAX_SHIP_CLASSES]
void scoring_backout_accept(scoring_struct *score)
unsigned int mp_shots_fired
unsigned int mp_bonehead_hits
int m_kills[MAX_SHIP_CLASSES]
unsigned int ms_bonehead_hits
void scoring_bash_rank(player *pl, int rank)
void scoring_add_damage(object *ship_obj, object *other_obj, float damage)
unsigned int s_shots_fired
unsigned int mp_shots_hit
SCP_vector< int > m_badge_earned
unsigned int ms_shots_fired
void scoring_add_damage_to_weapon(object *weapon_obj, object *other_obj, float damage)
unsigned int missions_flown
int m_okKills[MAX_SHIP_CLASSES]
unsigned int p_shots_fired
int scoring_eval_kill(object *ship_obj)
rank_stuff Ranks[NUM_RANKS]
SCP_vector< int > medal_counts
int m_dogfight_kills[MAX_PLAYERS]
void scoring_do_accept(scoring_struct *score)
void scoring_check_medal(scoring_struct *sc)
void assign(const scoring_struct &s)
GLuint const GLchar * name
void scoring_eval_assists(ship *sp, int killer_sig, bool enemy_player=false)
struct rank_stuff rank_stuff
unsigned int p_bonehead_hits
SCP_map< int, char * > promotion_text
void scoring_level_init(scoring_struct *score)
scoring_struct(const scoring_struct &s)
char promotion_voice_base[MAX_FILENAME_LEN]
unsigned int ms_shots_hit
unsigned int s_bonehead_hits