FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "asteroid/asteroid.h"
#include "gamesnd/gamesnd.h"
#include "globalincs/linklist.h"
#include "io/timer.h"
#include "model/modelrender.h"
#include "object/object.h"
#include "render/3d.h"
#include "ship/ship.h"
#include "ship/shiphit.h"
#include "weapon/shockwave.h"
#include "weapon/weapon.h"
Go to the source code of this file.
Macros | |
#define | SW_INDEX(sw) (sw-Shockwaves) |
#define SW_INDEX | ( | sw | ) | (sw-Shockwaves) |
Definition at line 41 of file shockwave.cpp.
int shockwave_create | ( | int | parent_objnum, |
vec3d * | pos, | ||
shockwave_create_info * | sci, | ||
int | flag, | ||
int | delay | ||
) |
Call to create a shockwave
parent_objnum | object number of object spawning the shockwave |
pos | vector specifing global position of shockwave center |
sci | Shockwave info |
flag | Flag settings |
delay | delay in ms before the shockwave actually starts |
Definition at line 64 of file shockwave.cpp.
void shockwave_create_info_init | ( | shockwave_create_info * | sci | ) |
Definition at line 811 of file shockwave.cpp.
void shockwave_create_info_load | ( | shockwave_create_info * | sci | ) |
Loads a shockwave in preparation for a mission
Definition at line 825 of file shockwave.cpp.
Delete a shockwave
objp | pointer to shockwave object |
Definition at line 159 of file shockwave.cpp.
void shockwave_delete_all | ( | ) |
Delete whole linked list
Definition at line 172 of file shockwave.cpp.
Return the damage for specified shockwave
Definition at line 768 of file shockwave.cpp.
Return the damage type for specified shockwave
Definition at line 777 of file shockwave.cpp.
Return the flags for specified shockwave
Definition at line 786 of file shockwave.cpp.
Given a shockwave index and the number of frames in an animation return what the current frame # should be (for use with 3d shockwaves)
Definition at line 222 of file shockwave.cpp.
Return the maximum radius for specified shockwave
Definition at line 750 of file shockwave.cpp.
Return the minimum radius for specified shockwave
Definition at line 759 of file shockwave.cpp.
Return the weapon_info_index field for a shockwave
Definition at line 741 of file shockwave.cpp.
void shockwave_level_close | ( | ) |
Call at the close of each level (mission)
Definition at line 672 of file shockwave.cpp.
void shockwave_level_init | ( | ) |
Call once at the start of each level (mission)
Definition at line 595 of file shockwave.cpp.
int shockwave_load | ( | char * | s_name, |
bool | shock_3D | ||
) |
Call to load a shockwave, or add it and then load it
Definition at line 538 of file shockwave.cpp.
Simulate a single shockwave. If the shockwave radius exceeds outer_radius, then delete the shockwave.
shockwave_objp | object pointer that points to shockwave object |
frametime | time to simulate shockwave |
Definition at line 256 of file shockwave.cpp.
Simulate all shockwaves in Shockwave_list
frametime | time for last frame in ms |
Definition at line 709 of file shockwave.cpp.
void shockwave_page_in | ( | ) |
Definition at line 792 of file shockwave.cpp.
Definition at line 462 of file shockwave.cpp.
void shockwave_render_all | ( | ) |
Render all shockwaves
Definition at line 725 of file shockwave.cpp.
Draw the shockwave identified by handle
objp | pointer to shockwave object |
Definition at line 388 of file shockwave.cpp.
Set the correct frame of animation for the shockwave
Definition at line 188 of file shockwave.cpp.
int Cmdline_enable_3d_shockwave |
Definition at line 333 of file cmdline.cpp.
bool Cmdline_fb_explosions |
Definition at line 340 of file cmdline.cpp.
int Cmdline_nohtl |
Definition at line 438 of file cmdline.cpp.
SCP_vector<shockwave_info> Shockwave_info |
Definition at line 32 of file shockwave.cpp.
int Shockwave_inited = 0 |
Definition at line 36 of file shockwave.cpp.
shockwave Shockwave_list |
Definition at line 35 of file shockwave.cpp.
shockwave Shockwaves[MAX_SHOCKWAVES] |
Definition at line 34 of file shockwave.cpp.
int Show_area_effect |
Definition at line 111 of file fredstubs.cpp.