Starshatter_Open
Open source Starshatter engine
|
#include <ShipDesign.h>
Public Types | |
enum | CONSTANTS { MAX_DEBRIS = 10, MAX_EXPLOSIONS = 10 } |
Static Public Member Functions | |
static const char * | TYPENAME () |
static void | Initialize () |
static void | Close () |
static bool | CheckName (const char *name) |
static ShipDesign * | Get (const char *design_name, const char *design_path=0) |
static ShipDesign * | FindModDesign (const char *design_name, const char *design_path=0) |
static void | ClearModCatalog () |
static int | GetDesignList (int type, List< Text > &designs) |
static int | ClassForName (const char *name) |
static const char * | ClassName (int type) |
static int | LoadCatalog (const char *path, const char *file, bool mod=false) |
static void | LoadSkins (const char *path, const char *archive=0) |
static void | PreloadCatalog (int index=-1) |
static int | StandardCatalogSize () |
Definition at line 109 of file ShipDesign.h.
Definition at line 114 of file ShipDesign.h.
ShipDesign::ShipDesign | ( | ) |
Definition at line 147 of file ShipDesign.cpp.
ShipDesign::ShipDesign | ( | const char * | name, |
const char * | path, | ||
const char * | filename, | ||
bool | secret = false |
||
) |
Definition at line 164 of file ShipDesign.cpp.
ShipDesign::~ShipDesign | ( | ) |
Definition at line 424 of file ShipDesign.cpp.
|
static |
Definition at line 879 of file ShipDesign.cpp.
|
static |
Definition at line 1049 of file ShipDesign.cpp.
|
static |
Definition at line 1064 of file ShipDesign.cpp.
|
static |
Definition at line 990 of file ShipDesign.cpp.
|
static |
Definition at line 644 of file ShipDesign.cpp.
const char * ShipDesign::DisplayName | ( | ) | const |
Definition at line 463 of file ShipDesign.cpp.
|
static |
Definition at line 956 of file ShipDesign.cpp.
const Skin * ShipDesign::FindSkin | ( | const char * | skin_name | ) | const |
Definition at line 3688 of file ShipDesign.cpp.
|
static |
Definition at line 905 of file ShipDesign.cpp.
Definition at line 1012 of file ShipDesign.cpp.
|
static |
Definition at line 594 of file ShipDesign.cpp.
|
static |
Definition at line 653 of file ShipDesign.cpp.
|
static |
Definition at line 753 of file ShipDesign.cpp.
|
inline |
Definition at line 140 of file ShipDesign.h.
void ShipDesign::ParseComputer | ( | TermStruct * | val | ) |
Definition at line 3029 of file ShipDesign.cpp.
void ShipDesign::ParseDeathSpiral | ( | TermStruct * | val | ) |
Definition at line 3260 of file ShipDesign.cpp.
void ShipDesign::ParseDebris | ( | TermStruct * | val, |
int | index | ||
) |
Definition at line 3410 of file ShipDesign.cpp.
void ShipDesign::ParseDrive | ( | TermStruct * | val | ) |
Definition at line 1633 of file ShipDesign.cpp.
void ShipDesign::ParseExplosion | ( | TermStruct * | val, |
int | index | ||
) |
Definition at line 3377 of file ShipDesign.cpp.
void ShipDesign::ParseFarcaster | ( | TermStruct * | val | ) |
Definition at line 1918 of file ShipDesign.cpp.
void ShipDesign::ParseFlightDeck | ( | TermStruct * | val | ) |
Definition at line 2291 of file ShipDesign.cpp.
void ShipDesign::ParseHardPoint | ( | TermStruct * | val | ) |
Definition at line 2766 of file ShipDesign.cpp.
void ShipDesign::ParseLandingGear | ( | TermStruct * | val | ) |
Definition at line 2471 of file ShipDesign.cpp.
void ShipDesign::ParseLoadout | ( | TermStruct * | val | ) |
Definition at line 2867 of file ShipDesign.cpp.
void ShipDesign::ParseMap | ( | TermStruct * | val | ) |
Definition at line 3477 of file ShipDesign.cpp.
void ShipDesign::ParseNavlight | ( | TermStruct * | val | ) |
Definition at line 2193 of file ShipDesign.cpp.
void ShipDesign::ParseNavsys | ( | TermStruct * | val | ) |
Definition at line 2980 of file ShipDesign.cpp.
void ShipDesign::ParsePower | ( | TermStruct * | val | ) |
Definition at line 1523 of file ShipDesign.cpp.
void ShipDesign::ParseQuantumDrive | ( | TermStruct * | val | ) |
Definition at line 1815 of file ShipDesign.cpp.
void ShipDesign::ParseSensor | ( | TermStruct * | val | ) |
Definition at line 2897 of file ShipDesign.cpp.
void ShipDesign::ParseShield | ( | TermStruct * | val | ) |
Definition at line 3088 of file ShipDesign.cpp.
void ShipDesign::ParseShip | ( | TermDef * | def | ) |
Definition at line 1084 of file ShipDesign.cpp.
Skin * ShipDesign::ParseSkin | ( | TermStruct * | val | ) |
Definition at line 3547 of file ShipDesign.cpp.
void ShipDesign::ParseSkinMtl | ( | TermStruct * | val, |
Skin * | skin | ||
) |
Definition at line 3590 of file ShipDesign.cpp.
void ShipDesign::ParseSquadron | ( | TermStruct * | val | ) |
Definition at line 3503 of file ShipDesign.cpp.
void ShipDesign::ParseThruster | ( | TermStruct * | val | ) |
Definition at line 2025 of file ShipDesign.cpp.
void ShipDesign::ParseWeapon | ( | TermStruct * | val | ) |
Definition at line 2565 of file ShipDesign.cpp.
|
static |
Definition at line 838 of file ShipDesign.cpp.
|
static |
Definition at line 832 of file ShipDesign.cpp.
|
inlinestatic |
Definition at line 112 of file ShipDesign.h.
char ShipDesign::abrv[16] |
Definition at line 175 of file ShipDesign.h.
float ShipDesign::acs |
Definition at line 232 of file ShipDesign.h.
float ShipDesign::agility |
Definition at line 200 of file ShipDesign.h.
float ShipDesign::air_factor |
Definition at line 201 of file ShipDesign.h.
float ShipDesign::arcade_drag |
Definition at line 217 of file ShipDesign.h.
int ShipDesign::auto_roll |
Definition at line 178 of file ShipDesign.h.
float ShipDesign::avoid_fighter |
Definition at line 238 of file ShipDesign.h.
float ShipDesign::avoid_strike |
Definition at line 239 of file ShipDesign.h.
float ShipDesign::avoid_target |
Definition at line 240 of file ShipDesign.h.
float ShipDesign::avoid_time |
Definition at line 237 of file ShipDesign.h.
Text ShipDesign::beam_hit_sound |
Definition at line 276 of file ShipDesign.h.
Sound* ShipDesign::beam_hit_sound_resource |
Definition at line 279 of file ShipDesign.h.
Bitmap ShipDesign::beauty |
Definition at line 285 of file ShipDesign.h.
Vec3 ShipDesign::beauty_cam |
Definition at line 211 of file ShipDesign.h.
Text ShipDesign::bolt_hit_sound |
Definition at line 275 of file ShipDesign.h.
Sound* ShipDesign::bolt_hit_sound_resource |
Definition at line 278 of file ShipDesign.h.
Vec3 ShipDesign::bridge_vec |
Definition at line 210 of file ShipDesign.h.
float ShipDesign::CD |
Definition at line 221 of file ShipDesign.h.
Vec3 ShipDesign::chase_vec |
Definition at line 209 of file ShipDesign.h.
float ShipDesign::CL |
Definition at line 221 of file ShipDesign.h.
Model* ShipDesign::cockpit_model |
Definition at line 195 of file ShipDesign.h.
float ShipDesign::cockpit_scale |
Definition at line 196 of file ShipDesign.h.
float ShipDesign::commit_range |
Definition at line 241 of file ShipDesign.h.
Definition at line 253 of file ShipDesign.h.
float ShipDesign::death_spiral_time |
Definition at line 244 of file ShipDesign.h.
ShipDebris ShipDesign::debris[MAX_DEBRIS] |
Definition at line 247 of file ShipDesign.h.
Weapon* ShipDesign::decoy |
Definition at line 263 of file ShipDesign.h.
Text ShipDesign::description |
Definition at line 181 of file ShipDesign.h.
float ShipDesign::detet |
Definition at line 233 of file ShipDesign.h.
char ShipDesign::display_name[64] |
Definition at line 174 of file ShipDesign.h.
float ShipDesign::drag |
Definition at line 216 of file ShipDesign.h.
Definition at line 252 of file ShipDesign.h.
float ShipDesign::e_factor[3] |
Definition at line 234 of file ShipDesign.h.
ShipExplosion ShipDesign::explosion[MAX_EXPLOSIONS] |
Definition at line 246 of file ShipDesign.h.
float ShipDesign::explosion_scale |
Definition at line 245 of file ShipDesign.h.
Farcaster* ShipDesign::farcaster |
Definition at line 257 of file ShipDesign.h.
float ShipDesign::feature_size[4] |
Definition at line 187 of file ShipDesign.h.
char ShipDesign::filename[64] |
Definition at line 171 of file ShipDesign.h.
List<FlightDeck> ShipDesign::flight_decks |
Definition at line 254 of file ShipDesign.h.
LandingGear* ShipDesign::gear |
Definition at line 265 of file ShipDesign.h.
Definition at line 251 of file ShipDesign.h.
Bitmap ShipDesign::hud_icon |
Definition at line 286 of file ShipDesign.h.
float ShipDesign::integrity |
Definition at line 218 of file ShipDesign.h.
Definition at line 281 of file ShipDesign.h.
int ShipDesign::lod_levels |
Definition at line 184 of file ShipDesign.h.
int ShipDesign::main_drive |
Definition at line 228 of file ShipDesign.h.
Definition at line 282 of file ShipDesign.h.
float ShipDesign::mass |
Definition at line 218 of file ShipDesign.h.
Definition at line 185 of file ShipDesign.h.
char ShipDesign::name[64] |
Definition at line 173 of file ShipDesign.h.
Definition at line 255 of file ShipDesign.h.
NavSystem* ShipDesign::navsys |
Definition at line 260 of file ShipDesign.h.
Definition at line 186 of file ShipDesign.h.
char ShipDesign::path_name[64] |
Definition at line 172 of file ShipDesign.h.
float ShipDesign::pcs |
Definition at line 231 of file ShipDesign.h.
float ShipDesign::pitch_drag |
Definition at line 216 of file ShipDesign.h.
float ShipDesign::pitch_rate |
Definition at line 203 of file ShipDesign.h.
float ShipDesign::prep_time |
Definition at line 213 of file ShipDesign.h.
int ShipDesign::primary |
Definition at line 224 of file ShipDesign.h.
Weapon* ShipDesign::probe |
Definition at line 264 of file ShipDesign.h.
QuantumDrive* ShipDesign::quantum_drive |
Definition at line 256 of file ShipDesign.h.
float ShipDesign::radius |
Definition at line 218 of file ShipDesign.h.
List<PowerSource> ShipDesign::reactors |
Definition at line 249 of file ShipDesign.h.
bool ShipDesign::repair_auto |
Definition at line 271 of file ShipDesign.h.
bool ShipDesign::repair_screen |
Definition at line 272 of file ShipDesign.h.
float ShipDesign::repair_speed |
Definition at line 269 of file ShipDesign.h.
int ShipDesign::repair_teams |
Definition at line 270 of file ShipDesign.h.
float ShipDesign::roll_drag |
Definition at line 216 of file ShipDesign.h.
float ShipDesign::roll_rate |
Definition at line 202 of file ShipDesign.h.
float ShipDesign::scale |
Definition at line 177 of file ShipDesign.h.
float ShipDesign::scuttle |
Definition at line 268 of file ShipDesign.h.
int ShipDesign::secondary |
Definition at line 225 of file ShipDesign.h.
bool ShipDesign::secret |
Definition at line 180 of file ShipDesign.h.
Sensor* ShipDesign::sensor |
Definition at line 259 of file ShipDesign.h.
Shield* ShipDesign::shield |
Definition at line 261 of file ShipDesign.h.
Model* ShipDesign::shield_model |
Definition at line 262 of file ShipDesign.h.
Definition at line 191 of file ShipDesign.h.
Definition at line 188 of file ShipDesign.h.
float ShipDesign::splash_radius |
Definition at line 267 of file ShipDesign.h.
List<ShipSquadron> ShipDesign::squadrons |
Definition at line 283 of file ShipDesign.h.
float ShipDesign::stall |
Definition at line 221 of file ShipDesign.h.
Thruster* ShipDesign::thruster |
Definition at line 258 of file ShipDesign.h.
float ShipDesign::trans_x |
Definition at line 205 of file ShipDesign.h.
float ShipDesign::trans_y |
Definition at line 206 of file ShipDesign.h.
float ShipDesign::trans_z |
Definition at line 207 of file ShipDesign.h.
float ShipDesign::turn_bank |
Definition at line 208 of file ShipDesign.h.
int ShipDesign::type |
Definition at line 176 of file ShipDesign.h.
bool ShipDesign::valid |
Definition at line 179 of file ShipDesign.h.
float ShipDesign::vlimit |
Definition at line 199 of file ShipDesign.h.
Definition at line 250 of file ShipDesign.h.
bool ShipDesign::wep_screen |
Definition at line 273 of file ShipDesign.h.
float ShipDesign::yaw_drag |
Definition at line 216 of file ShipDesign.h.
float ShipDesign::yaw_rate |
Definition at line 204 of file ShipDesign.h.