|
Wing Commander
Reconstructed Win32 source (1996)
|
Video resource shutdown and palette allocation. More...
Go to the source code of this file.
Functions | |
| void __stdcall | ShutdownVideoHook (short mode) |
| short __stdcall | ReserveContiguousPaletteEntries (short entryCount) |
| void __stdcall | ReleaseContiguousPaletteEntries (short firstEntry) |
| void | PrintPaletteAllocationMap (void) |
Variables | |
| short | nVideoMode = -1 |
| int | aiPilotLevel [12] |
| short | asTargetListRangesArray [16] |
| short | asObjectDrawPosY [SPACE_OBJECT_COUNT] |
| short | asObjectDrawPosX [SPACE_OBJECT_COUNT] |
| short | asPreviousObjectDistance [SPACE_OBJECT_COUNT] |
| enum ObjectClass | aeObjectClass [SPACE_OBJECT_COUNT] |
| enum ShipObjective | aeShipObjectiveList [12] |
| short | asObjectViewFrames [SPACE_OBJECT_COUNT] |
| int | nCurObjectiveRangeValue |
| signed char | acWingmanMessageStatesArray [16] |
| short | asCollisionDelayList [16] |
Video resource shutdown and palette allocation.
Address range 4318f0-431a0f.
Definition in file video.c.
Definition at line 79 of file video.c.
References awPalEntryAllocation, and PrintPaletteAllocationMap().
Referenced by PlaySfxWaveFileByNumber(), and PrintPaletteAllocationMap().
| void __stdcall ReleaseContiguousPaletteEntries | ( | short | firstEntry | ) |
Definition at line 65 of file video.c.
References awPalEntryAllocation, and ReleaseContiguousPaletteEntries().
Referenced by PlaySfxWaveFileByNumber(), and ReleaseContiguousPaletteEntries().
| short __stdcall ReserveContiguousPaletteEntries | ( | short | entryCount | ) |
Definition at line 35 of file video.c.
References awPalEntryAllocation, and ReserveContiguousPaletteEntries().
Referenced by PlaySfxWaveFileByNumber(), and ReserveContiguousPaletteEntries().
| void __stdcall ShutdownVideoHook | ( | short | mode | ) |
Definition at line 29 of file video.c.
References ReleaseVideoResourcesHook(), and ShutdownVideoHook().
Referenced by LoadOriginFxDrivers(), LogMemoryUsage(), PlaySfxWaveFileByNumber(), and ShutdownVideoHook().
| signed char acWingmanMessageStatesArray[16] |
Definition at line 25 of file video.c.
Referenced by intelligence_events(), npc_communication(), remove_object(), send_message(), and Set_up_ship_info().
| enum ObjectClass aeObjectClass[SPACE_OBJECT_COUNT] |
Definition at line 21 of file video.c.
Referenced by accelerate_and_move_object(), animate_object(), any_enemy(), any_enemy_tail(), apply_force_to_object(), approach_and_engage(), attacker_in_range(), auto_pilot_sequence(), borrow_dust(), build_target_list(), build_your_target_list(), BuildCommunicationRecipientMenu(), call_enemy(), check_destroy_target(), check_for_collision(), check_futurion(), check_next_wave(), crash_time(), Create_explosion_debris(), CreateCannedSceneObject(), cruise_home(), detect_collisions(), detect_enemy_tail(), draw_3d_scanner(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), DrawTargetRangeReadout(), evaluate_damage(), explode(), Explosion(), explosion_shock_wave(), extra_hazard(), FF_missile_intelligence(), find_child_object(), find_child_ship(), find_next_ship_turn_slot(), find_ship_index(), find_vacant_3d_object(), FindEnemyAimingWithinRange(), free_ship(), futurion_intelligence(), generate_stars(), get_color(), get_right_shape(), get_ship_slot(), heat_seeking_missile_intelligence(), house_keep_objects(), in_danger(), inflict_damage(), inherit_leader(), inherit_leader_mission(), InitializeConstellationObject(), intelligence_events(), internal_damage(), intro_drawbackgroundships(), kilrathi_near(), load_ship(), mine_intelligence(), missile_on_tail(), Msit_n_fire(), Mtarget_missile(), nearest_enemy_range(), new_view(), npc_communication(), object_collision(), object_intelligence(), pick_regular_maneuver(), place_exhaust_on_ships(), regulate_turn(), release_all_capital_ship_shapes(), remove_object(), report_kilrathi_rout(), reposition_fixed_child_objects(), request(), rotational_acceleration(), scan_for_enemy(), SelectNextExternalViewObject(), SelectPreviousExternalViewObject(), send_appropriate_message(), send_message(), servicetrack(), set_eye_direction_and_position(), set_objects_data(), set_up_action_sphere(), SetFleetOverviewView(), ShipExplosion(), show_target_disp(), ShowCarrierLaunchSequence(), someone_coming(), strike_mission(), transform_objects_to_your_view(), try2rout(), unactive(), update_objects_in_space(), update_star_field(), and your_internal_damage().
| enum ShipObjective aeShipObjectiveList[12] |
Definition at line 22 of file video.c.
Referenced by alter_objective(), are_alive(), BuildCommunicationCommandMenu(), change_mission_type(), defend_mission(), engage(), escort_mission(), HandleSpaceFlightControls(), imperial_wingman(), kilrathi_patrol(), kilrathi_wingman(), npc_communication(), rendezvous_mission(), report_kilrathi_rout(), request(), reset_objective(), set_new_objective(), and strike_mission().
| int aiPilotLevel[12] |
Definition at line 16 of file video.c.
Referenced by ace_greeting(), any_defense(), approach_and_engage(), check_destroy_target(), disobey_formation(), engage(), find_next_ship_turn_slot(), fire_when_ready(), handle_stress(), imperial_formation(), init_intelligence_data(), pick_kilrathi_maneuver(), pick_regular_maneuver(), request(), reset_stress(), Set_up_ship_info(), and skill_rating().
| short asCollisionDelayList[16] |
Definition at line 26 of file video.c.
Referenced by clear_alert(), start_collision_alert(), and try2end_collision_alert().
| short asObjectDrawPosX[SPACE_OBJECT_COUNT] |
Definition at line 19 of file video.c.
Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().
| short asObjectDrawPosY[SPACE_OBJECT_COUNT] |
Definition at line 18 of file video.c.
Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().
| short asObjectViewFrames[SPACE_OBJECT_COUNT] |
Definition at line 23 of file video.c.
Referenced by animate_shape(), CreateCannedSceneObject(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), generate_stars(), get_right_shape(), InitializeConstellationObject(), intro_drawbackgroundships(), place_exhaust_on_ships(), set_objects_data(), ShowCarrierLaunchSequence(), transform_objects_to_your_view(), and update_star_field().
| short asPreviousObjectDistance[SPACE_OBJECT_COUNT] |
Definition at line 20 of file video.c.
Referenced by servicetrack(), and transform_objects_to_your_view().
| short asTargetListRangesArray[16] |
Definition at line 17 of file video.c.
Referenced by build_target_list(), and fire_turrets().
| int nCurObjectiveRangeValue |
Definition at line 24 of file video.c.
Referenced by check_objectives(), DrawCalculatingLabel(), and set_objective_range().
| short nVideoMode = -1 |
Definition at line 12 of file video.c.
Referenced by AllocateViewport(), CalcRectangleArea(), FadeViewportPaletteToColour(), free_viewport(), GetTargetColourIndex(), InitializeDIBScreenViewport(), LoadGamePaletteFile(), main(), PanToScreen(), ShowOffscreenBuffer(), and UpdateSpacePaletteFade().