FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "cmdline/cmdline.h"
#include "debugconsole/console.h"
#include "freespace2/freespace.h"
#include "gamesequence/gamesequence.h"
#include "gamesnd/gamesnd.h"
#include "io/timer.h"
#include "math/vecmat.h"
#include "mission/missioncampaign.h"
#include "particle/particle.h"
#include "popup/popupdead.h"
#include "ship/ship.h"
#include "starfield/starfield.h"
#include "starfield/supernova.h"
Go to the source code of this file.
Macros | |
#define | SUPERNOVA_SOUND_1_TIME 15.0f |
#define | SUPERNOVA_SOUND_2_TIME 5.0f |
Functions | |
void | supernova_level_init () |
void | supernova_start (int seconds) |
void | supernova_stop () |
DCF_INT2 (sn_part, sn_particles, 0, INT_MAX,"Sets number of supernova particles (default is 100)") | |
void | supernova_do_particles () |
DCF_FLOAT2 (sn_shud, sn_shudder, 0.0, FLT_MAX,"Sets camera shudder rate for being in supernova shockwave (default is 0.45)") | |
void | supernova_process () |
int | supernova_active () |
float | supernova_time_left () |
float | supernova_pct_complete () |
int | supernova_camera_cut () |
DCF_FLOAT2 (sn_dist, sn_distance, 0.0, FLT_MAX,"Sets supernova shockwave distance (default is 300.0f)") | |
DCF_FLOAT2 (sn_cam_dist, sn_cam_distance, 0.0, FLT_MAX,"Sets supernova camera distance (default is 25.0f)") | |
void | supernova_get_eye (vec3d *eye_pos, matrix *eye_orient) |
Variables | |
int | Supernova_sound_1_played = 0 |
int | Supernova_sound_2_played = 0 |
int | Supernova_status = SUPERNOVA_NONE |
int | sn_particles = 100 |
float | sn_shudder = 0.45f |
float | sn_distance = 300.0f |
float | sn_cam_distance = 25.0f |
#define SUPERNOVA_SOUND_1_TIME 15.0f |
Definition at line 31 of file supernova.cpp.
#define SUPERNOVA_SOUND_2_TIME 5.0f |
Definition at line 32 of file supernova.cpp.
DCF_FLOAT2 | ( | sn_shud | , |
sn_shudder | , | ||
0. | 0, | ||
FLT_MAX | , | ||
"Sets camera shudder rate for being in supernova shockwave (default is 0.45)" | |||
) |
DCF_FLOAT2 | ( | sn_dist | , |
sn_distance | , | ||
0. | 0, | ||
FLT_MAX | , | ||
"Sets supernova shockwave distance (default is 300.0f)" | |||
) |
DCF_FLOAT2 | ( | sn_cam_dist | , |
sn_cam_distance | , | ||
0. | 0, | ||
FLT_MAX | , | ||
"Sets supernova camera distance (default is 25.0f)" | |||
) |
DCF_INT2 | ( | sn_part | , |
sn_particles | , | ||
0 | , | ||
INT_MAX | , | ||
"Sets number of supernova particles (default is 100)" | |||
) |
int supernova_active | ( | ) |
Definition at line 240 of file supernova.cpp.
int supernova_camera_cut | ( | ) |
Definition at line 296 of file supernova.cpp.
void supernova_do_particles | ( | ) |
Definition at line 122 of file supernova.cpp.
Definition at line 320 of file supernova.cpp.
void supernova_level_init | ( | ) |
Definition at line 51 of file supernova.cpp.
float supernova_pct_complete | ( | ) |
Definition at line 285 of file supernova.cpp.
void supernova_process | ( | ) |
Definition at line 184 of file supernova.cpp.
Definition at line 67 of file supernova.cpp.
void supernova_stop | ( | ) |
Definition at line 89 of file supernova.cpp.
float supernova_time_left | ( | ) |
Definition at line 279 of file supernova.cpp.
float sn_cam_distance = 25.0f |
Definition at line 314 of file supernova.cpp.
float sn_distance = 300.0f |
Definition at line 313 of file supernova.cpp.
int sn_particles = 100 |
Definition at line 119 of file supernova.cpp.
float sn_shudder = 0.45f |
Definition at line 181 of file supernova.cpp.
int Supernova_sound_1_played = 0 |
Definition at line 33 of file supernova.cpp.
int Supernova_sound_2_played = 0 |
Definition at line 34 of file supernova.cpp.
int Supernova_status = SUPERNOVA_NONE |
Definition at line 44 of file supernova.cpp.