FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "globalincs/globals.h"
#include "hud/hudtarget.h"
#include "io/keycontrol.h"
#include "localization/localize.h"
#include "network/multi_options.h"
#include "parse/sexp.h"
#include "physics/physics.h"
#include "stats/scoring.h"
Go to the source code of this file.
Classes | |
struct | campaign_stats |
class | player |
Typedefs | |
typedef struct campaign_stats | campaign_stats |
#define PLAYER_KILLED_SELF ( PLAYER_FLAGS_KILLED_SELF_MISSILES | PLAYER_FLAGS_KILLED_SELF_SHOCKWAVE ) |
typedef struct campaign_stats campaign_stats |
void player_clear_speed_matching | ( | ) |
Clear current speed matching and auto-speed matching flags
Definition at line 998 of file playercontrol.cpp.
void player_control_reset_ci | ( | control_info * | ci | ) |
Called by single and multiplayer modes to reset information inside of control info structure
Definition at line 351 of file playercontrol.cpp.
void player_controls_init | ( | ) |
Definition at line 979 of file playercontrol.cpp.
void player_display_padlock_view | ( | ) |
Definition at line 1933 of file playercontrol.cpp.
float player_farthest_weapon_range | ( | ) |
Get the maximum weapon range for the player (of both primary and secondary)
Definition at line 1634 of file playercontrol.cpp.
Generates the message for death of a player given the information stored in the player object.
Definition at line 1675 of file playercontrol.cpp.
camid player_get_cam | ( | ) |
Get the player's eye position and orient
Definition at line 1976 of file playercontrol.cpp.
Definition at line 1909 of file playercontrol.cpp.
void player_init | ( | ) |
Initializes global variables once a game – needed because of mallocing that goes on in structures in the player file
Definition at line 1286 of file playercontrol.cpp.
See if the player should be inspecting cargo, and update progress.
frametime | Time since last frame in seconds |
outstr | (output parm) holds string that HUD should display |
Definition at line 1410 of file playercontrol.cpp.
void player_level_init | ( | ) |
Initialise player statistics on a per mission basis
Definition at line 1201 of file playercontrol.cpp.
void player_match_target_speed | ( | char * | no_target_text, |
char * | match_off_text, | ||
char * | match_on_text | ||
) |
Computes the forward_thrust_time needed for the player ship to match velocities with the currently selected target
no_target_text | Default parm (NULL), used to override HUD output when no target exists |
match_off_text | Default parm (NULL), used to overide HUD output when matching toggled off |
match_on_text | Default parm (NULL), used to overide HUD output when matching toggled on |
Definition at line 1016 of file playercontrol.cpp.
void player_maybe_play_all_alone_msg | ( | ) |
Maybe play message from Terran Command 'You're all alone now, pilot'
Definition at line 1810 of file playercontrol.cpp.
void player_maybe_start_cargo_scan_sound | ( | ) |
Start the cargo scanning sound if it hasn't already been started
Definition at line 1338 of file playercontrol.cpp.
void player_maybe_start_repair_sound | ( | ) |
Start the repair sound if it hasn't already been started. Called when a player ship is being repaired by a support ship
Definition at line 1315 of file playercontrol.cpp.
int player_process_pending_praise | ( | ) |
See if there is a praise message to deliver to the player. We want to delay the praise messages a bit, to make them more realistic.
Definition at line 1364 of file playercontrol.cpp.
void player_restore_target_and_weapon_link_prefs | ( | ) |
Store some player preferences to Player->save_flags
Definition at line 1175 of file playercontrol.cpp.
void player_save_target_and_weapon_link_prefs | ( | ) |
Store some player preferences to Player->save_flags
Definition at line 1141 of file playercontrol.cpp.
void player_set_next_all_alone_msg_timestamp | ( | ) |
Definition at line 1802 of file playercontrol.cpp.
Called when a new pilot is created
Definition at line 1129 of file playercontrol.cpp.
Definition at line 383 of file managepilot.cpp.
Definition at line 345 of file managepilot.cpp.
void player_show_death_message | ( | ) |
Display what/who killed the player
Definition at line 1765 of file playercontrol.cpp.
void player_stop_cargo_scan_sound | ( | ) |
Stop the player repair sound if it is already playing
Definition at line 1349 of file playercontrol.cpp.
void player_stop_looped_sounds | ( | ) |
Stop any looping sounds associated with the Player, called from game_stop_looped_sounds().
Definition at line 1298 of file playercontrol.cpp.
void player_stop_repair_sound | ( | ) |
Stop the player repair sound if it is already playing
Definition at line 1326 of file playercontrol.cpp.
Definition at line 847 of file playercontrol.cpp.
void toggle_player_object | ( | ) |
Definition at line 1084 of file playercontrol.cpp.
angles chase_slew_angles |
Definition at line 60 of file playercontrol.cpp.
int lua_game_control |
Definition at line 56 of file playercontrol.cpp.
player* Player |
Definition at line 51 of file playercontrol.cpp.
int Player_num |
Definition at line 50 of file playercontrol.cpp.
int Player_use_ai |
Definition at line 54 of file playercontrol.cpp.
player Players[MAX_PLAYERS] |
Definition at line 48 of file playercontrol.cpp.
int use_descent |
Definition at line 1081 of file playercontrol.cpp.
int view_centering |
Definition at line 61 of file playercontrol.cpp.
int Warpout_forced |
Definition at line 176 of file fredstubs.cpp.
float Warpout_time |
Definition at line 177 of file fredstubs.cpp.