FS2_Open
Open source remastering of the Freespace 2 engine
collidedebrisweapon.cpp File Reference
#include "asteroid/asteroid.h"
#include "debris/debris.h"
#include "math/fvi.h"
#include "object/objcollide.h"
#include "object/object.h"
#include "parse/scripting.h"
#include "weapon/weapon.h"

Go to the source code of this file.

Classes

struct  ship_weapon_debris_struct
 

Typedefs

typedef struct ship_weapon_debris_struct ship_weapon_debris_struct
 

Functions

int collide_debris_weapon (obj_pair *pair)
 
int collide_asteroid_weapon (obj_pair *pair)
 

Typedef Documentation

Function Documentation

int collide_asteroid_weapon ( obj_pair pair)

Checks debris-weapon collisions.

Parameters
pairobj_pair pointer to the two objects. pair->a is debris and pair->b is weapon.
Returns
1 if all future collisions between these can be ignored

Definition at line 92 of file collidedebrisweapon.cpp.

int collide_debris_weapon ( obj_pair pair)

Checks debris-weapon collisions.

Parameters
pairobj_pair pointer to the two objects. pair->a is debris and pair->b is weapon.
Returns
1 if all future collisions between these can be ignored

Definition at line 40 of file collidedebrisweapon.cpp.