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

#include <game_data.h>

Data Fields

char displayName [20]
short objectClass
short resourceType
short field_18
short collisionRadius
short radarRadius
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 [0xA1]
short shieldFore
short shieldAft
short armorFront
short armorRear
short armorLeft
short armorRight
unsigned char * shapeSet
unsigned char * shape

Detailed Description

Definition at line 365 of file game_data.h.

Field Documentation

◆ acceleration

int ObjectTypeData::acceleration

Definition at line 380 of file game_data.h.

Referenced by GetShipAccelerationRate().

◆ afterburnerVelocity

short ObjectTypeData::afterburnerVelocity

Definition at line 384 of file game_data.h.

◆ animation

◆ animationDelay

short ObjectTypeData::animationDelay

Definition at line 373 of file game_data.h.

Referenced by fire_weapon(), and FireTargetCameraGuns().

◆ armorFront

short ObjectTypeData::armorFront

◆ armorLeft

short ObjectTypeData::armorLeft

◆ armorRear

short ObjectTypeData::armorRear

◆ armorRight

short ObjectTypeData::armorRight

◆ collisionRadius

short ObjectTypeData::collisionRadius

Definition at line 370 of file game_data.h.

Referenced by ApplyAlternateShipType(), and set_objects_data().

◆ cruiseVelocity

short ObjectTypeData::cruiseVelocity

Definition at line 378 of file game_data.h.

Referenced by auto_pilot_sequence(), and Mfish_hook().

◆ damageCapacity

◆ displayName

char ObjectTypeData::displayName[20]

Definition at line 366 of file game_data.h.

Referenced by show_weapon_disp().

◆ explosionDamage

short ObjectTypeData::explosionDamage

Definition at line 376 of file game_data.h.

◆ field_18

short ObjectTypeData::field_18

Definition at line 369 of file game_data.h.

Referenced by ApplyAlternateShipType(), set_objects_data(), and show_weapon_disp().

◆ lifetime

◆ maximumVelocity

◆ objectClass

◆ pitchRate

short ObjectTypeData::pitchRate

Definition at line 381 of file game_data.h.

Referenced by rotate_object_to_goal().

◆ radarRadius

short ObjectTypeData::radarRadius

Definition at line 371 of file game_data.h.

Referenced by apply_force_to_object(), and object_collision().

◆ resourceType

short ObjectTypeData::resourceType

Definition at line 368 of file game_data.h.

Referenced by get_right_shape(), init_intelligence_data(), and LoadAlternateShipType().

◆ rollRate

short ObjectTypeData::rollRate

Definition at line 383 of file game_data.h.

Referenced by rotate_object_to_goal().

◆ scale

short ObjectTypeData::scale

Definition at line 372 of file game_data.h.

Referenced by ApplyAlternateShipType(), CompleteStarSystemJump(), and set_objects_data().

◆ shape

unsigned char* ObjectTypeData::shape

Definition at line 393 of file game_data.h.

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

◆ shapeSet

◆ shieldAft

short ObjectTypeData::shieldAft

◆ shieldFore

short ObjectTypeData::shieldFore

◆ weaponLoadout

unsigned char ObjectTypeData::weaponLoadout[0xA1]

◆ yawRate

short ObjectTypeData::yawRate

Definition at line 382 of file game_data.h.

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


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