FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <algorithm>
#include "asteroid/asteroid.h"
#include "debris/debris.h"
#include "fireball/fireballs.h"
#include "freespace2/freespace.h"
#include "gamesequence/gamesequence.h"
#include "gamesnd/eventmusic.h"
#include "gamesnd/gamesnd.h"
#include "globalincs/linklist.h"
#include "hud/hud.h"
#include "hud/hudmessage.h"
#include "hud/hudtarget.h"
#include "iff_defs/iff_defs.h"
#include "io/joy_ff.h"
#include "io/timer.h"
#include "mission/missionlog.h"
#include "mod_table/mod_table.h"
#include "network/multi.h"
#include "network/multi_pmsg.h"
#include "network/multi_respawn.h"
#include "network/multimsgs.h"
#include "network/multiutil.h"
#include "object/object.h"
#include "object/objectdock.h"
#include "object/objectsnd.h"
#include "parse/parselo.h"
#include "parse/scripting.h"
#include "playerman/player.h"
#include "popup/popup.h"
#include "render/3d.h"
#include "ship/ship.h"
#include "ship/shipfx.h"
#include "ship/shiphit.h"
#include "weapon/beam.h"
#include "weapon/emp.h"
#include "weapon/shockwave.h"
#include "weapon/weapon.h"
Go to the source code of this file.
Classes | |
struct | spark_pair |
struct | sublist |
Macros | |
#define | MAX_SPARK_PAIRS ((MAX_SHIP_HITS * MAX_SHIP_HITS - MAX_SHIP_HITS) / 2) |
#define | BIG_SHIP_MIN_RADIUS 80.0f |
#define | MAX_DEBRIS_SHARDS 16 |
#define | MAX_SUBSYS_LIST 200 |
#define | MIN_PLAYER_DEATHROLL_TIME 1000 |
#define | DEATHROLL_ROTVEL_CAP 6.3f |
#define | DEATHROLL_ROTVEL_MIN 0.8f |
#define | DEATHROLL_MASS_STANDARD 50 |
#define | DEATHROLL_VELOCITY_STANDARD 70 |
#define | DEATHROLL_ROTVEL_SCALE 4 |
Typedefs | |
typedef struct spark_pair | spark_pair |
Variables | |
vec3d | Dead_camera_pos |
vec3d | Original_vec_to_deader |
int | Homing_hits |
int | Homing_misses |
int | Cmdline_nohtl |
#define BIG_SHIP_MIN_RADIUS 80.0f |
Definition at line 65 of file shiphit.cpp.
#define DEATHROLL_MASS_STANDARD 50 |
Definition at line 1356 of file shiphit.cpp.
#define DEATHROLL_ROTVEL_CAP 6.3f |
Definition at line 1354 of file shiphit.cpp.
#define DEATHROLL_ROTVEL_MIN 0.8f |
Definition at line 1355 of file shiphit.cpp.
#define DEATHROLL_ROTVEL_SCALE 4 |
Definition at line 1358 of file shiphit.cpp.
#define DEATHROLL_VELOCITY_STANDARD 70 |
Definition at line 1357 of file shiphit.cpp.
#define MAX_DEBRIS_SHARDS 16 |
Definition at line 365 of file shiphit.cpp.
#define MAX_SPARK_PAIRS ((MAX_SHIP_HITS * MAX_SHIP_HITS - MAX_SHIP_HITS) / 2) |
Definition at line 63 of file shiphit.cpp.
#define MAX_SUBSYS_LIST 200 |
Definition at line 405 of file shiphit.cpp.
#define MIN_PLAYER_DEATHROLL_TIME 1000 |
Definition at line 1353 of file shiphit.cpp.
typedef struct spark_pair spark_pair |
Definition at line 14881 of file aicode.cpp.
Definition at line 1100 of file shiphit.cpp.
Definition at line 369 of file shiphit.cpp.
Definition at line 388 of file shiphit.cpp.
void do_subobj_destroyed_stuff | ( | ship * | ship_p, |
ship_subsys * | subsys, | ||
vec3d * | hitpos, | ||
bool | no_explosion | ||
) |
Definition at line 108 of file shiphit.cpp.
float do_subobj_hit_stuff | ( | object * | ship_objp, |
object * | other_obj, | ||
vec3d * | hitpos, | ||
int | submodel_num, | ||
float | damage, | ||
bool * | hull_should_apply_armor | ||
) |
Definition at line 447 of file shiphit.cpp.
Definition at line 1054 of file shiphit.cpp.
Definition at line 84 of file shiphit.cpp.
Definition at line 1840 of file shiphit.cpp.
Definition at line 1268 of file shiphit.cpp.
Definition at line 1360 of file shiphit.cpp.
void ship_apply_global_damage | ( | object * | ship_objp, |
object * | other_obj, | ||
vec3d * | force_center, | ||
float | damage | ||
) |
Definition at line 2476 of file shiphit.cpp.
void ship_apply_local_damage | ( | object * | ship_objp, |
object * | other_obj, | ||
vec3d * | hitpos, | ||
float | damage, | ||
int | quadrant, | ||
bool | create_spark, | ||
int | submodel_num, | ||
vec3d * | hit_normal | ||
) |
Definition at line 2359 of file shiphit.cpp.
void ship_apply_tag | ( | int | ship_num, |
int | tag_level, | ||
float | tag_time, | ||
object * | target, | ||
vec3d * | start, | ||
int | ssm_index, | ||
int | ssm_team | ||
) |
Definition at line 2324 of file shiphit.cpp.
Definition at line 2532 of file shiphit.cpp.
Definition at line 1740 of file shiphit.cpp.
Definition at line 1371 of file shiphit.cpp.
Definition at line 1194 of file shiphit.cpp.
void ship_hit_kill | ( | object * | ship_objp, |
object * | other_obj, | ||
float | percent_killed, | ||
int | self_destruct | ||
) |
Definition at line 1542 of file shiphit.cpp.
Definition at line 975 of file shiphit.cpp.
Definition at line 2562 of file shiphit.cpp.
Definition at line 1030 of file shiphit.cpp.
Definition at line 1697 of file shiphit.cpp.
Definition at line 1522 of file shiphit.cpp.
Definition at line 320 of file shiphit.cpp.
Definition at line 1787 of file shiphit.cpp.
Definition at line 780 of file shiphit.cpp.
Definition at line 912 of file shiphit.cpp.
int spark_compare | ( | const spark_pair & | pair1, |
const spark_pair & | pair2 | ||
) |
Definition at line 1091 of file shiphit.cpp.
void ssm_create | ( | object * | target, |
vec3d * | start, | ||
size_t | ssm_index, | ||
ssm_firing_info * | override, | ||
int | team | ||
) |
Definition at line 251 of file hudartillery.cpp.
float subsys_get_range | ( | object * | other_obj, |
ship_subsys * | subsys | ||
) |
Definition at line 348 of file shiphit.cpp.
int Cmdline_nohtl |
Definition at line 438 of file cmdline.cpp.
vec3d Dead_camera_pos |
Definition at line 67 of file shiphit.cpp.
int Homing_hits |
Definition at line 4709 of file weapons.cpp.
int Homing_misses |
Definition at line 4709 of file weapons.cpp.
vec3d Original_vec_to_deader |
Definition at line 68 of file shiphit.cpp.