Starshatter_Open
Open source Starshatter engine
|
#include <WeaponDesign.h>
Public Types | |
enum | CONSTANTS { DMG_NORMAL = 0, DMG_EMP = 1, DMG_POWER = 2, MAX_STORES = 8 } |
Public Member Functions | |
WeaponDesign () | |
~WeaponDesign () | |
int | operator== (const WeaponDesign &rhs) const |
Static Public Member Functions | |
static const char * | TYPENAME () |
static void | Initialize (const char *filename) |
static void | Close () |
static WeaponDesign * | Get (int type) |
static WeaponDesign * | Find (const char *name) |
static WeaponDesign * | FindModDesign (const char *name) |
static void | ClearModCatalog () |
static int | GetDesignList (List< Text > &designs) |
Definition at line 32 of file WeaponDesign.h.
Definition at line 37 of file WeaponDesign.h.
WeaponDesign::WeaponDesign | ( | ) |
Definition at line 42 of file WeaponDesign.cpp.
WeaponDesign::~WeaponDesign | ( | ) |
Definition at line 146 of file WeaponDesign.cpp.
|
static |
Definition at line 173 of file WeaponDesign.cpp.
|
static |
Definition at line 166 of file WeaponDesign.cpp.
|
static |
Definition at line 665 of file WeaponDesign.cpp.
|
static |
Definition at line 688 of file WeaponDesign.cpp.
|
static |
Definition at line 649 of file WeaponDesign.cpp.
Definition at line 711 of file WeaponDesign.cpp.
|
static |
Definition at line 157 of file WeaponDesign.cpp.
|
inline |
Definition at line 46 of file WeaponDesign.h.
|
inlinestatic |
Definition at line 35 of file WeaponDesign.h.
float WeaponDesign::aim_az_max |
Definition at line 89 of file WeaponDesign.h.
float WeaponDesign::aim_az_min |
Definition at line 90 of file WeaponDesign.h.
float WeaponDesign::aim_az_rest |
Definition at line 91 of file WeaponDesign.h.
float WeaponDesign::aim_el_max |
Definition at line 92 of file WeaponDesign.h.
float WeaponDesign::aim_el_min |
Definition at line 93 of file WeaponDesign.h.
float WeaponDesign::aim_el_rest |
Definition at line 94 of file WeaponDesign.h.
int WeaponDesign::ammo |
Definition at line 103 of file WeaponDesign.h.
Text WeaponDesign::anim_frames[16] |
Definition at line 155 of file WeaponDesign.h.
int WeaponDesign::anim_length |
Definition at line 156 of file WeaponDesign.h.
Bitmap* WeaponDesign::animation |
Definition at line 168 of file WeaponDesign.h.
Vec3 WeaponDesign::attachments[MAX_STORES] |
Definition at line 83 of file WeaponDesign.h.
bool WeaponDesign::beam |
Definition at line 67 of file WeaponDesign.h.
Text WeaponDesign::beauty |
Definition at line 157 of file WeaponDesign.h.
Bitmap* WeaponDesign::beauty_img |
Definition at line 167 of file WeaponDesign.h.
Text WeaponDesign::bitmap |
Definition at line 158 of file WeaponDesign.h.
float WeaponDesign::capacity |
Definition at line 99 of file WeaponDesign.h.
float WeaponDesign::carry_mass |
Definition at line 109 of file WeaponDesign.h.
float WeaponDesign::carry_resist |
Definition at line 110 of file WeaponDesign.h.
float WeaponDesign::charge |
Definition at line 107 of file WeaponDesign.h.
float WeaponDesign::damage |
Definition at line 114 of file WeaponDesign.h.
int WeaponDesign::damage_type |
Definition at line 113 of file WeaponDesign.h.
int WeaponDesign::decoy_type |
Definition at line 73 of file WeaponDesign.h.
Text WeaponDesign::description |
Definition at line 62 of file WeaponDesign.h.
Text WeaponDesign::det_child |
Definition at line 132 of file WeaponDesign.h.
int WeaponDesign::det_count |
Definition at line 133 of file WeaponDesign.h.
float WeaponDesign::det_range |
Definition at line 131 of file WeaponDesign.h.
float WeaponDesign::det_spread |
Definition at line 134 of file WeaponDesign.h.
float WeaponDesign::drag |
Definition at line 120 of file WeaponDesign.h.
bool WeaponDesign::drone |
Definition at line 65 of file WeaponDesign.h.
Vec3 WeaponDesign::eject |
Definition at line 85 of file WeaponDesign.h.
float WeaponDesign::explosion_scale |
Definition at line 146 of file WeaponDesign.h.
float WeaponDesign::firing_cone |
Definition at line 88 of file WeaponDesign.h.
bool WeaponDesign::flak |
Definition at line 70 of file WeaponDesign.h.
Text WeaponDesign::flare |
Definition at line 164 of file WeaponDesign.h.
Bitmap* WeaponDesign::flare_img |
Definition at line 172 of file WeaponDesign.h.
float WeaponDesign::flare_scale |
Definition at line 150 of file WeaponDesign.h.
Text WeaponDesign::flash |
Definition at line 163 of file WeaponDesign.h.
Bitmap* WeaponDesign::flash_img |
Definition at line 171 of file WeaponDesign.h.
float WeaponDesign::flash_scale |
Definition at line 149 of file WeaponDesign.h.
int WeaponDesign::graphic_type |
Definition at line 142 of file WeaponDesign.h.
Text WeaponDesign::group |
Definition at line 61 of file WeaponDesign.h.
int WeaponDesign::guided |
Definition at line 71 of file WeaponDesign.h.
float WeaponDesign::integrity |
Definition at line 128 of file WeaponDesign.h.
float WeaponDesign::length |
Definition at line 144 of file WeaponDesign.h.
float WeaponDesign::lethal_radius |
Definition at line 129 of file WeaponDesign.h.
float WeaponDesign::life |
Definition at line 118 of file WeaponDesign.h.
float WeaponDesign::light |
Definition at line 147 of file WeaponDesign.h.
Color WeaponDesign::light_color |
Definition at line 148 of file WeaponDesign.h.
float WeaponDesign::mass |
Definition at line 119 of file WeaponDesign.h.
float WeaponDesign::max_range |
Definition at line 138 of file WeaponDesign.h.
float WeaponDesign::max_track |
Definition at line 139 of file WeaponDesign.h.
float WeaponDesign::min_charge |
Definition at line 108 of file WeaponDesign.h.
float WeaponDesign::min_range |
Definition at line 137 of file WeaponDesign.h.
Text WeaponDesign::model |
Definition at line 159 of file WeaponDesign.h.
Vec3 WeaponDesign::muzzle_pts[MAX_STORES] |
Definition at line 78 of file WeaponDesign.h.
Text WeaponDesign::name |
Definition at line 60 of file WeaponDesign.h.
int WeaponDesign::nbarrels |
Definition at line 79 of file WeaponDesign.h.
int WeaponDesign::nstores |
Definition at line 84 of file WeaponDesign.h.
float WeaponDesign::penetration |
Definition at line 116 of file WeaponDesign.h.
float WeaponDesign::pitch_drag |
Definition at line 126 of file WeaponDesign.h.
float WeaponDesign::pitch_rate |
Definition at line 123 of file WeaponDesign.h.
bool WeaponDesign::primary |
Definition at line 66 of file WeaponDesign.h.
bool WeaponDesign::probe |
Definition at line 74 of file WeaponDesign.h.
float WeaponDesign::recharge_rate |
Definition at line 100 of file WeaponDesign.h.
float WeaponDesign::refire_delay |
Definition at line 101 of file WeaponDesign.h.
int WeaponDesign::ripple_count |
Definition at line 104 of file WeaponDesign.h.
float WeaponDesign::roll_drag |
Definition at line 125 of file WeaponDesign.h.
float WeaponDesign::roll_rate |
Definition at line 122 of file WeaponDesign.h.
float WeaponDesign::salvo_delay |
Definition at line 102 of file WeaponDesign.h.
float WeaponDesign::scale |
Definition at line 145 of file WeaponDesign.h.
bool WeaponDesign::secret |
Definition at line 63 of file WeaponDesign.h.
bool WeaponDesign::self_aiming |
Definition at line 68 of file WeaponDesign.h.
Bitmap* WeaponDesign::shot_img |
Definition at line 169 of file WeaponDesign.h.
Model* WeaponDesign::shot_model |
Definition at line 173 of file WeaponDesign.h.
float WeaponDesign::slew_rate |
Definition at line 95 of file WeaponDesign.h.
Text WeaponDesign::sound |
Definition at line 165 of file WeaponDesign.h.
Sound* WeaponDesign::sound_resource |
Definition at line 176 of file WeaponDesign.h.
float WeaponDesign::speed |
Definition at line 117 of file WeaponDesign.h.
float WeaponDesign::spread_az |
Definition at line 152 of file WeaponDesign.h.
float WeaponDesign::spread_el |
Definition at line 153 of file WeaponDesign.h.
bool WeaponDesign::syncro |
Definition at line 69 of file WeaponDesign.h.
DWORD WeaponDesign::target_type |
Definition at line 75 of file WeaponDesign.h.
float WeaponDesign::thrust |
Definition at line 121 of file WeaponDesign.h.
Text WeaponDesign::trail |
Definition at line 162 of file WeaponDesign.h.
int WeaponDesign::trail_dim |
Definition at line 180 of file WeaponDesign.h.
Bitmap* WeaponDesign::trail_img |
Definition at line 170 of file WeaponDesign.h.
int WeaponDesign::trail_length |
Definition at line 178 of file WeaponDesign.h.
float WeaponDesign::trail_width |
Definition at line 179 of file WeaponDesign.h.
Text WeaponDesign::turret |
Definition at line 160 of file WeaponDesign.h.
int WeaponDesign::turret_axis |
Definition at line 96 of file WeaponDesign.h.
Text WeaponDesign::turret_base |
Definition at line 161 of file WeaponDesign.h.
Model* WeaponDesign::turret_base_model |
Definition at line 175 of file WeaponDesign.h.
Model* WeaponDesign::turret_model |
Definition at line 174 of file WeaponDesign.h.
int WeaponDesign::type |
Definition at line 59 of file WeaponDesign.h.
int WeaponDesign::value |
Definition at line 72 of file WeaponDesign.h.
bool WeaponDesign::visible_stores |
Definition at line 82 of file WeaponDesign.h.
float WeaponDesign::width |
Definition at line 143 of file WeaponDesign.h.
float WeaponDesign::yaw_drag |
Definition at line 127 of file WeaponDesign.h.
float WeaponDesign::yaw_rate |
Definition at line 124 of file WeaponDesign.h.