|
Wing Commander II
Reconstructed Win32 source (1996)
|
Ship destruction and mission ejection pods. More...
#include "game.h"Go to the source code of this file.
Functions | |
| void | BeginShipDestructionSequence (short obj) |
| void | set_objects_data (short obj, short type, short owner, short matchObjectClass) |
| void | PlaySfxWaveFileByNumber (int soundNumber, int sourceObject, int looping) |
| void | set_special (short ship, short special) |
| void | zero_vector (FixedVector *vector) |
| void | SpawnMissionEjectionPod (short obj) |
Variables | |
| short | g_bMissionDeathSequencePending = 0 |
| short | g_bMissionEjectionPodSpawned = 0 |
| short | g_nPendingEjectionShip |
Ship destruction and mission ejection pods.
Definition in file destroy.c.
| void BeginShipDestructionSequence | ( | short | obj | ) |
Definition at line 12 of file destroy.c.
References BeginShipDestructionSequence(), explosion_shock_wave(), g_7_asShipBurstStageCountdown, g_acObjectType, g_aMissionShips, g_aObjectTypeData, g_asObjectCounter, g_asObjectScreenX, g_asShipMissionIndex, g_bMissionDeathSequencePending, g_bMissionEjectionPodSpawned, g_nPendingEjectionShip, OBJECT_DATA_INDEX, OBJECT_TYPE_EXPLOSION2, PlaySfxWaveFileByNumber(), send_message(), set_special(), ShipExplosion(), SPECIAL_MANEUVER_UNKNOWN_9, and MissionShipRecord::state.
Referenced by BeginShipDestructionSequence(), DosMemmove(), and ResolveObjectDestruction().
| void PlaySfxWaveFileByNumber | ( | int | soundNumber, |
| int | sourceObject, | ||
| int | looping ) |
| void set_objects_data | ( | short | obj, |
| short | type, | ||
| short | owner, | ||
| short | matchObjectClass ) |
| void SpawnMissionEjectionPod | ( | short | obj | ) |
Definition at line 43 of file destroy.c.
References FetchDiskPacketRetrying(), g_13_stMissionHeaderBlock, g_acMissionShipStatusFlagsBytes, g_aObjectTypeData, g_aShipVelocity, g_asShipMissionIndex, g_bMissionEjectionPodSpawned, g_nYourWingman, MissionHeader::initialMissionShips, OBJECT_DATA_EJECTION_POD, RecordCannedSceneObjectEvent(), set_objects_data(), ObjectTypeData::shapeSet, SpawnMissionEjectionPod(), and zero_vector().
Referenced by DosMemmove(), house_keep_objects(), and SpawnMissionEjectionPod().
| void zero_vector | ( | FixedVector * | vector | ) |
| short g_bMissionDeathSequencePending = 0 |
Definition at line 8 of file destroy.c.
Referenced by BeginShipDestructionSequence(), house_keep_objects(), init_mission(), ProcessEnemyWaveCompletion(), RunSpaceFlight(), and UpdateTargetCameraObject().
| short g_bMissionEjectionPodSpawned = 0 |
Definition at line 9 of file destroy.c.
Referenced by BeginShipDestructionSequence(), ProcessEnemyWaveCompletion(), and SpawnMissionEjectionPod().
| short g_nPendingEjectionShip |
Definition at line 69 of file destroy.c.
Referenced by BeginShipDestructionSequence(), and house_keep_objects().