|
Wing Commander
Reconstructed Win32 source (1996)
|
Gun and missile selection. More...
Go to the source code of this file.
Functions | |
| short | find_next_gun (short obj, enum ObjectType currentGun) |
| int | select_guns (short obj, short selectedGun) |
| unsigned int | select_new_gun (void) |
| unsigned int | select_new_release_weapon (enum ObjectType preferredType) |
Variables | |
| struct Shape * | pCommMenuPointerShape |
| Viewport | stModalSrcViewport |
| struct Shape * | pCurrentPilotHandShapePtr |
| Viewport | stPilotHandComposite |
| Viewport | stSceneBuffer |
| short | aPaletteFadeEntries [6][3] |
| struct Shape * | pCockpitDamageShape |
Gun and missile selection.
Address range 42ad00-42af9f, corroborated by the Mac select symbols.
Definition in file select.c.
| short find_next_gun | ( | short | obj, |
| enum ObjectType | currentGun ) |
Definition at line 22 of file select.c.
References aObjectTypeData, aShipWeaponsTable, find_next_gun(), OBJECT_CLASS_PROJECTILE, ObjectTypeData::objectClass, and ShipWeaponSlot::type.
Referenced by find_next_gun(), init_3Space_objects(), and select_new_gun().
| int select_guns | ( | short | obj, |
| short | selectedGun ) |
Definition at line 55 of file select.c.
References aObjectTypeData, aShipWeaponsTable, ShipWeaponSlot::disabled, OBJECT_CLASS_PROJECTILE, ObjectTypeData::objectClass, select_guns(), and ShipWeaponSlot::type.
Referenced by init_3Space_objects(), select_guns(), and select_new_gun().
| unsigned int select_new_gun | ( | void | ) |
Definition at line 83 of file select.c.
References eSelectedGunType, find_next_gun(), get_mode(), InvalidateVduMode(), select_guns(), and select_new_gun().
Referenced by init_3Space_objects(), remove_weapon(), select_new_gun(), and SelectCockpitVduMode().
| unsigned int select_new_release_weapon | ( | enum ObjectType | preferredType | ) |
Definition at line 93 of file select.c.
References aObjectTypeData, aShipWeaponsTable, ShipWeaponSlot::disabled, get_mode(), InvalidateVduMode(), nSelectedReleaseWeaponIndex, OBJECT_CLASS_PROJECTILE, select_new_release_weapon(), and ShipWeaponSlot::type.
Referenced by init_3Space_objects(), remove_weapon(), RemovePlayerReleaseWeapon(), select_new_release_weapon(), and SelectCockpitVduMode().
| short aPaletteFadeEntries[6][3] |
Definition at line 18 of file select.c.
Referenced by house_keep(), object_collision(), and ResetCockpitPaletteEntries().
| struct Shape* pCockpitDamageShape |
Definition at line 19 of file select.c.
Referenced by draw_cockpit_lights(), and vdu_polygon().
| struct Shape* pCommMenuPointerShape |
Definition at line 13 of file select.c.
Referenced by show_communications_disp().
| struct Shape* pCurrentPilotHandShapePtr |
Definition at line 15 of file select.c.
Referenced by animate_pilot(), DrawPendingCockpitDamage(), DrawPilotHandFrame(), free_cockpit(), InitializeCockpitResources(), ResetPilotHandAnimation(), and update_VDUs().
| Viewport stModalSrcViewport |
Definition at line 14 of file select.c.
Referenced by AnimateTrainSimTitle(), DisplayTrainSimHighScoreTable(), initialize_cockpit(), InitializeConversationText(), InitializeConversationViewport(), InitializeGameTextContexts(), InitializeModalTextPanel(), ShowCampaignVictorySequence(), ShowChalkBoard(), ShowMeanwhileTransition(), and ShowTheEndScreen().
| Viewport stPilotHandComposite |
Definition at line 16 of file select.c.
Referenced by DrawPilotHandFrame(), free_cockpit(), and InitializeCockpitResources().
| Viewport stSceneBuffer |
Definition at line 17 of file select.c.
Referenced by AnimateScrambleWalk(), BarracksScreen(), BriefingMap_DisplayMap(), BriefingMap_LoadShapes(), BuildMap(), CloseLook(), CloseTalk(), Dismissed(), DrawBarracksBunks(), DrawBriefingCharacter(), DrawBriefingLongShot(), DrawDebriefingLongShot(), DrawFuneralLongShot(), DrawMedalChest(), DrawMedalLongShot(), DrawMedals(), DrawNavLocationReadout(), DrawNavMapLegend(), DrawPodiumShot(), DrawScrambleFrame(), EstablishingShot(), FetchDiskPacketRetrying(), free_viewport(), funeral_player(), funeral_sequence(), InflightComputer(), InitializeConversationViewport(), InitializeRoomViewports(), landing(), LoadFace(), MedalEstablish(), PinMedal(), PlaySceneAnimation(), PlayScrambleHangarScene(), PromptInsertNumberedDisk(), RecRoom(), RefreshMemoryStatusOverlay(), ResetScreenClipToFullHeight(), ReturnToBriefingLongShot(), SceneDirector(), scramble(), SetScreenClipRect(), ShowMeanwhileTransition(), ShowTheEndScreen(), UpdateMap(), and ViewMedals().