FS2_Open
Open source remastering of the Freespace 2 engine
|
Go to the source code of this file.
Classes | |
struct | rank_stuff |
class | scoring_struct |
Macros | |
#define | NUM_MEDALS_FS2 18 |
#define | NUM_MEDALS_FS1 16 |
#define | NUM_RANKS 10 |
#define | RANK_ENSIGN 0 |
#define | RANK_LT_JUNIOR 1 |
#define | RANK_LT 2 |
#define | RANK_LT_CMDR 3 |
#define | RANK_CMDR 4 |
#define | RANK_CAPTAIN 5 |
#define | RANK_COMMODORE 6 |
#define | RANK_REAR_ADMIRAL 7 |
#define | RANK_VICE_ADMIRAL 8 |
#define | RANK_ADMIRAL 9 |
#define | MAX_FREESPACE1_RANK RANK_COMMODORE |
#define | MAX_FREESPACE2_RANK RANK_ADMIRAL |
#define | STATS_FLAG_INVALID (1<<0) |
#define | STATS_FLAG_CAMPAIGN (1<<1) |
#define | STATS_FLAG_MULTIPLAYER (1<<2) |
Typedefs | |
typedef struct rank_stuff | rank_stuff |
Functions | |
void | parse_rank_tbl () |
void | scoring_level_init (scoring_struct *score) |
void | scoring_level_close (int accepted=1) |
void | scoring_backout_accept (scoring_struct *score) |
void | scoring_do_accept (scoring_struct *score) |
void | scoring_check_medal (scoring_struct *sc) |
void | scoring_add_damage (object *ship_obj, object *other_obj, float damage) |
void | scoring_add_damage_to_weapon (object *weapon_obj, object *other_obj, float damage) |
int | scoring_eval_kill (object *ship_obj) |
int | scoring_eval_kill_on_weapon (object *weapon_obj, object *other_obj) |
void | scoring_eval_assists (ship *sp, int killer_sig, bool enemy_player=false) |
void | scoring_bash_rank (player *pl, int rank) |
void | scoring_eval_hit (object *hit_obj, object *other_obj, int from_blast=0) |
float | scoring_get_scale_factor () |
Variables | |
int | Num_medals |
rank_stuff | Ranks [NUM_RANKS] |
#define MAX_FREESPACE1_RANK RANK_COMMODORE |
#define MAX_FREESPACE2_RANK RANK_ADMIRAL |
typedef struct rank_stuff rank_stuff |
void parse_rank_tbl | ( | ) |
Definition at line 58 of file scoring.cpp.
Definition at line 492 of file scoring.cpp.
Definition at line 1351 of file scoring.cpp.
void scoring_backout_accept | ( | scoring_struct * | score | ) |
Definition at line 378 of file scoring.cpp.
Definition at line 1470 of file scoring.cpp.
void scoring_check_medal | ( | scoring_struct * | sc | ) |
void scoring_do_accept | ( | scoring_struct * | score | ) |
Definition at line 329 of file scoring.cpp.
Definition at line 1104 of file scoring.cpp.
Definition at line 1188 of file scoring.cpp.
Definition at line 590 of file scoring.cpp.
Definition at line 858 of file scoring.cpp.
float scoring_get_scale_factor | ( | ) |
Definition at line 1447 of file scoring.cpp.
Definition at line 432 of file scoring.cpp.
void scoring_level_init | ( | scoring_struct * | score | ) |
Definition at line 223 of file scoring.cpp.
int Num_medals |
Definition at line 30 of file medals.cpp.
rank_stuff Ranks[NUM_RANKS] |
Definition at line 45 of file scoring.cpp.