FS2_Open
Open source remastering of the Freespace 2 engine
ArmorType Class Reference

#include <ship.h>

Public Member Functions

 ArmorType (char *in_name)
 
char * GetNamePtr ()
 
bool IsName (char *in_name)
 
float GetDamage (float damage_applied, int in_damage_type_idx, float diff_dmg_scale)
 
float GetShieldPiercePCT (int damage_type_idx)
 
int GetPiercingType (int damage_type_idx)
 
float GetPiercingLimit (int damage_type_idx)
 
void ParseData ()
 

Public Attributes

int flags
 

Detailed Description

Definition at line 209 of file ship.h.

Constructor & Destructor Documentation

ArmorType::ArmorType ( char *  in_name)

Definition at line 18191 of file ship.cpp.

Member Function Documentation

float ArmorType::GetDamage ( float  damage_applied,
int  in_damage_type_idx,
float  diff_dmg_scale 
)

Definition at line 17923 of file ship.cpp.

char* ArmorType::GetNamePtr ( )
inline

Definition at line 220 of file ship.h.

float ArmorType::GetPiercingLimit ( int  damage_type_idx)

Definition at line 18163 of file ship.cpp.

int ArmorType::GetPiercingType ( int  damage_type_idx)

Definition at line 18137 of file ship.cpp.

float ArmorType::GetShieldPiercePCT ( int  damage_type_idx)

Definition at line 18111 of file ship.cpp.

bool ArmorType::IsName ( char *  in_name)
inline

Definition at line 221 of file ship.h.

void ArmorType::ParseData ( )

Definition at line 18201 of file ship.cpp.

Member Data Documentation

int ArmorType::flags

Definition at line 217 of file ship.h.


The documentation for this class was generated from the following files: