naev 0.10.4
Data Fields
OutfitBeamData Struct Reference

Represents the particular properties of a beam weapon. More...

#include <outfit.h>

Data Fields

double delay
 
double warmup
 
double duration
 
double min_duration
 
double range
 
double turn
 
double energy
 
Damage dmg
 
double heatup
 
double heat
 
double swivel
 
int mining_rarity
 
glColour colour
 
GLfloat width
 
GLuint shader
 
int spfx_armour
 
int spfx_shield
 
int sound_warmup
 
int sound
 
int sound_off
 

Detailed Description

Represents the particular properties of a beam weapon.

Definition at line 154 of file outfit.h.

Field Documentation

◆ colour

glColour OutfitBeamData::colour

Color to use for the shader.

Definition at line 172 of file outfit.h.

◆ delay

double OutfitBeamData::delay

Delay between usage.

Definition at line 156 of file outfit.h.

◆ dmg

Damage OutfitBeamData::dmg

Damage done.

Definition at line 165 of file outfit.h.

◆ duration

double OutfitBeamData::duration

How long the beam lasts active.

Definition at line 158 of file outfit.h.

◆ energy

double OutfitBeamData::energy

Amount of energy it drains (per second).

Definition at line 164 of file outfit.h.

◆ heat

double OutfitBeamData::heat

Heat per second.

Definition at line 167 of file outfit.h.

◆ heatup

double OutfitBeamData::heatup

How long it should take for the weapon to heat up (approx).

Definition at line 166 of file outfit.h.

◆ min_duration

double OutfitBeamData::min_duration

Minimum duration the beam can be fired for.

Definition at line 159 of file outfit.h.

◆ mining_rarity

int OutfitBeamData::mining_rarity

Maximum mining rarity the weapon can mine.

Definition at line 169 of file outfit.h.

◆ range

double OutfitBeamData::range

how far it goes

Definition at line 162 of file outfit.h.

◆ shader

GLuint OutfitBeamData::shader

Shader subroutine to use.

Definition at line 174 of file outfit.h.

◆ sound

int OutfitBeamData::sound

Sound to play.

Definition at line 178 of file outfit.h.

◆ sound_off

int OutfitBeamData::sound_off

Sound to play when turning off.

Definition at line 179 of file outfit.h.

◆ sound_warmup

int OutfitBeamData::sound_warmup

Sound to play when warming up.

Todo:
use.

Definition at line 177 of file outfit.h.

◆ spfx_armour

int OutfitBeamData::spfx_armour

special effect on hit

Definition at line 175 of file outfit.h.

◆ spfx_shield

int OutfitBeamData::spfx_shield

special effect on hit

Definition at line 176 of file outfit.h.

◆ swivel

double OutfitBeamData::swivel

Amount of swivel (semiarc in radians of deviation the weapon can correct).

Definition at line 168 of file outfit.h.

◆ turn

double OutfitBeamData::turn

How fast it can turn. Only for turrets, in rad/s.

Definition at line 163 of file outfit.h.

◆ warmup

double OutfitBeamData::warmup

How long beam takes to warm up.

Definition at line 157 of file outfit.h.

◆ width

GLfloat OutfitBeamData::width

Width of the beam.

Definition at line 173 of file outfit.h.


The documentation for this struct was generated from the following file: