naev 0.11.5
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 178 of file outfit.h.

Field Documentation

◆ colour

glColour OutfitBeamData::colour

Colour to use for the shader.

Definition at line 196 of file outfit.h.

◆ delay

double OutfitBeamData::delay

Delay between usage.

Definition at line 180 of file outfit.h.

◆ dmg

Damage OutfitBeamData::dmg

Damage done.

Definition at line 189 of file outfit.h.

◆ duration

double OutfitBeamData::duration

How long the beam lasts active.

Definition at line 182 of file outfit.h.

◆ energy

double OutfitBeamData::energy

Amount of energy it drains (per second).

Definition at line 188 of file outfit.h.

◆ heat

double OutfitBeamData::heat

Heat per second.

Definition at line 191 of file outfit.h.

◆ heatup

double OutfitBeamData::heatup

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

Definition at line 190 of file outfit.h.

◆ min_duration

double OutfitBeamData::min_duration

Minimum duration the beam can be fired for.

Definition at line 183 of file outfit.h.

◆ mining_rarity

int OutfitBeamData::mining_rarity

Maximum mining rarity the weapon can mine.

Definition at line 193 of file outfit.h.

◆ range

double OutfitBeamData::range

how far it goes

Definition at line 186 of file outfit.h.

◆ shader

GLuint OutfitBeamData::shader

Shader subroutine to use.

Definition at line 198 of file outfit.h.

◆ sound

int OutfitBeamData::sound

Sound to play.

Definition at line 202 of file outfit.h.

◆ sound_off

int OutfitBeamData::sound_off

Sound to play when turning off.

Definition at line 203 of file outfit.h.

◆ sound_warmup

int OutfitBeamData::sound_warmup

Sound to play when warming up.

Todo
use.

Definition at line 201 of file outfit.h.

◆ spfx_armour

int OutfitBeamData::spfx_armour

special effect on hit

Definition at line 199 of file outfit.h.

◆ spfx_shield

int OutfitBeamData::spfx_shield

special effect on hit

Definition at line 200 of file outfit.h.

◆ swivel

double OutfitBeamData::swivel

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

Definition at line 192 of file outfit.h.

◆ turn

double OutfitBeamData::turn

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

Definition at line 187 of file outfit.h.

◆ warmup

double OutfitBeamData::warmup

How long beam takes to warm up.

Definition at line 181 of file outfit.h.

◆ width

GLfloat OutfitBeamData::width

Width of the beam.

Definition at line 197 of file outfit.h.


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