Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
ObjectTypeData Struct Reference

#include <wcdata.h>

Data Fields

const char * displayName
enum ObjectClass objectClass
short collisionRadius
unsigned short mass
short scale
short animationDelay
int lifetime
short damageCapacity
short explosionDamage
short maximumVelocity
short cruiseVelocity
unsigned char * animation
int acceleration
short pitchRate
short yawRate
short rollRate
short afterburnerVelocity
unsigned char weaponLoadout [0x47]
short shieldFore
short shieldAft
short armorFront
short armorRear
short armorLeft
short armorRight
struct Shape * shapeSet
struct Shape * shape

Detailed Description

Definition at line 368 of file wcdata.h.

Field Documentation

◆ acceleration

int ObjectTypeData::acceleration

Definition at line 381 of file wcdata.h.

Referenced by GetShipAccelerationRate().

◆ afterburnerVelocity

short ObjectTypeData::afterburnerVelocity

Definition at line 385 of file wcdata.h.

Referenced by set_objects_data().

◆ animation

unsigned char* ObjectTypeData::animation

◆ animationDelay

short ObjectTypeData::animationDelay

Definition at line 374 of file wcdata.h.

Referenced by fire_weapon().

◆ armorFront

short ObjectTypeData::armorFront

◆ armorLeft

short ObjectTypeData::armorLeft

Definition at line 391 of file wcdata.h.

Referenced by calculate_damage_level(), evaluate_damage(), set_objects_data(), and update_bars().

◆ armorRear

short ObjectTypeData::armorRear

Definition at line 390 of file wcdata.h.

Referenced by calculate_damage_level(), evaluate_damage(), set_objects_data(), and update_bars().

◆ armorRight

short ObjectTypeData::armorRight

Definition at line 392 of file wcdata.h.

Referenced by calculate_damage_level(), evaluate_damage(), set_objects_data(), and update_bars().

◆ collisionRadius

short ObjectTypeData::collisionRadius

Definition at line 371 of file wcdata.h.

Referenced by set_objects_data().

◆ cruiseVelocity

short ObjectTypeData::cruiseVelocity

Definition at line 379 of file wcdata.h.

Referenced by approach_half_speed(), auto_pilot_sequence(), and Mfish_hook().

◆ damageCapacity

short ObjectTypeData::damageCapacity

Definition at line 376 of file wcdata.h.

Referenced by calculate_damage_level(), evaluate_damage(), fire_weapon(), and internal_damage().

◆ displayName

const char* ObjectTypeData::displayName

◆ explosionDamage

short ObjectTypeData::explosionDamage

Definition at line 377 of file wcdata.h.

◆ lifetime

int ObjectTypeData::lifetime

Definition at line 375 of file wcdata.h.

Referenced by fire(), fire_weapon(), house_keep_objects(), and set_objects_data().

◆ mass

unsigned short ObjectTypeData::mass

Definition at line 372 of file wcdata.h.

Referenced by set_objects_data().

◆ maximumVelocity

short ObjectTypeData::maximumVelocity

◆ objectClass

enum ObjectClass ObjectTypeData::objectClass

◆ pitchRate

short ObjectTypeData::pitchRate

Definition at line 382 of file wcdata.h.

Referenced by check_for_lost_control(), and rotate_object_to_goal().

◆ rollRate

short ObjectTypeData::rollRate

Definition at line 384 of file wcdata.h.

Referenced by rotate_object_to_goal().

◆ scale

short ObjectTypeData::scale

Definition at line 373 of file wcdata.h.

Referenced by set_objects_data().

◆ shape

struct Shape* ObjectTypeData::shape

Definition at line 394 of file wcdata.h.

Referenced by free_ship(), load_ship(), and show_target_disp().

◆ shapeSet

◆ shieldAft

short ObjectTypeData::shieldAft

Definition at line 388 of file wcdata.h.

Referenced by set_objects_data(), show_target_disp(), and update_bars().

◆ shieldFore

short ObjectTypeData::shieldFore

Definition at line 387 of file wcdata.h.

Referenced by set_objects_data(), show_target_disp(), and update_bars().

◆ weaponLoadout

unsigned char ObjectTypeData::weaponLoadout[0x47]

Definition at line 386 of file wcdata.h.

Referenced by set_objects_data().

◆ yawRate

short ObjectTypeData::yawRate

Definition at line 383 of file wcdata.h.

Referenced by animate_shape(), rotate_object_to_goal(), and set_objects_data().


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