|
Wing Commander
Reconstructed Win32 source (1996)
|
Shared initialized data: event queue, cursor and screen geometry, direction-frame tables and cockpit display tables. More...
#include "wc1.h"Go to the source code of this file.
Shared initialized data: event queue, cursor and screen geometry, direction-frame tables and cockpit display tables.
The event queue, cursor and screen geometry are the event manager's; the direction-frame tables serve the 3-D object code; the light, bar, layout and pilot-hand tables are the cockpit's.
Data only. This block lies between game.c's literals and the following units' literal-only data, so it is a separate object linked before mathfp.c; the Super Wing Commander symbols also name a Data, files and memory module. The code that owned it, if any, is unknown.
Definition in file data.c.
| signed char aacCockpitLightOffFrame[5][7] |
Definition at line 121 of file data.c.
Referenced by draw_cockpit_lights().
| signed char aacCockpitLightOnFrame[5][7] |
Definition at line 130 of file data.c.
Referenced by draw_cockpit_lights().
| CockpitBarDefinition aaCockpitBars[5][8] |
Definition at line 139 of file data.c.
Referenced by vdu_polygon().
| short aasCockpitLightX[5][7] |
Definition at line 103 of file data.c.
Referenced by draw_cockpit_lights().
| short aasCockpitLightY[5][7] |
Definition at line 112 of file data.c.
Referenced by draw_cockpit_lights().
| signed char acDirectionShapeFlip[DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT] |
Definition at line 83 of file data.c.
Referenced by get_right_shape().
| signed char acDirectionShapeFrame[DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT] |
Definition at line 63 of file data.c.
Referenced by get_right_shape().
| enum ObjectType aeObjectTypeList[SPACE_OBJECT_COUNT] |
Definition at line 255 of file data.c.
Referenced by accelerate_and_move_object(), animate_object(), animate_shape(), approach_cruise_speed(), approach_half_speed(), auto_pilot_sequence(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), calculate_damage_level(), capital_ship_intelligence(), check_for_lost_control(), Create_explosion_debris(), CreateCannedSceneObject(), draw_sorted_objects_to_buffer(), evaluate_damage(), Explosion(), fire_weapon(), flag_reached(), free_ship(), get_color(), get_right_shape(), get_ship_max_velocity(), GetShipAccelerationRate(), house_keep_objects(), inflict_damage(), InitializeConstellationObject(), internal_damage(), intro_drawbackgroundships(), load_ship(), manage_hazard(), Mfish_hook(), mine_intelligence(), object_intelligence(), place_exhaust_on_ships(), real_vid_transmit(), release_capital_ship_shapes(), repair_internal_damage(), replenish_shields(), reposition_fixed_child_objects(), revise_shields(), rotate_object_to_goal(), RunTrainSim(), score_for_kill(), send_message(), set_objects_data(), show_target_disp(), stationary_intelligence(), unwarp(), update_bars(), update_lights(), and your_internal_damage().
| int aiInputEventSlotUsedTable[0x100] |
Definition at line 242 of file data.c.
Referenced by AllocateInputEvent(), and ReleaseInputEvent().
| short anObjPitchRot[SPACE_OBJECT_COUNT] |
Definition at line 247 of file data.c.
Referenced by apply_force_to_object(), auto_pilot_sequence(), check_for_lost_control(), draw_target_box(), init_ijk(), players_flight_dynamics(), rotate_eye_to_goal(), rotate_object(), rotate_object_to_goal(), rotational_acceleration(), Title_Sequence(), try_far_spot(), and update_star_field().
| unsigned int anShipAlertFlags[12] |
Definition at line 250 of file data.c.
Referenced by alert_flag(), clear_alert(), HasSpeechBuffer(), and set_alert().
| int anShipFuelsTable[12] |
Definition at line 252 of file data.c.
Referenced by can_land(), drain_fuel(), internal_damage(), recalc_max_velocity(), set_objects_data(), update_lights(), your_afterburner(), and your_internal_damage().
| int anShipSpeed[64] |
Definition at line 248 of file data.c.
Referenced by accelerate_and_move_object(), advance_canned_sequence(), approach_ship_speed(), approach_speed(), arrive_from_warp(), auto_pilot_sequence(), celerate(), chase_location(), chase_speed(), control_speed(), FF_missile_intelligence(), fire(), fire_weapon(), fix_velocity(), goto_formation(), goto_location(), HandleSpaceFlightControls(), heat_seeking_missile_intelligence(), housekeep_power_plant_and_fuel(), intelligence_events(), Msit_n_spin(), object_collision(), object_intelligence(), place_exhaust_on_ships(), prepare_for_jump(), set_formation_position(), set_speed(), Set_up_ship_info(), update_canned_sequence(), and update_digital_readouts().
| FixedVector aObjectViewPositionsList[SPACE_OBJECT_COUNT] |
Definition at line 246 of file data.c.
Referenced by draw_3d_scanner(), object_collision(), and transform_objects_to_your_view().
| ScreenViewportGeometry aScreenViewportGeometry[7] |
Definition at line 52 of file data.c.
Referenced by set_up_screen_viewport().
| ShortVector aShipFormationDeltaList[10] |
Definition at line 254 of file data.c.
Referenced by auto_position(), maintain_formation(), and set_formation_position().
| unsigned short asObjDistancesTable[SPACE_OBJECT_COUNT] |
Definition at line 253 of file data.c.
Referenced by build_your_target_list(), draw_nav_pointer(), DrawTargetRangeReadout(), manage_hazard(), place_exhaust_on_ships(), remove_object(), reposition_fixed_child_objects(), servicetrack(), ShowCarrierLaunchSequence(), sort_object_depth(), and transform_objects_to_your_view().
| short asObjectAnimationDelay[SPACE_OBJECT_COUNT] |
Definition at line 256 of file data.c.
Referenced by animate_shape(), and set_objects_data().
| short asPilotHandOrigins[10] |
Definition at line 229 of file data.c.
Referenced by DrawPilotHandFrame().
| int bInputEventPoolInitialized = 0 |
Definition at line 25 of file data.c.
Referenced by AllocateInputEvent().
| short DAT_0046e138[10] |
| short nCurrentSpaceFrameValue |
Definition at line 249 of file data.c.
Referenced by accelerate(), draw_3d_scanner(), gametrack(), house_keep(), init_3Space_objects(), object_intelligence(), replenish_shields(), servicetrack(), SetCockpitLightBlink(), ShowCarrierLaunchSequence(), transform_objects_to_your_view(), Update_3Space(), update_cockpit(), update_lights(), and your_afterburner().
| int nInputTickScale |
Definition at line 245 of file data.c.
Referenced by BarracksScreen(), InitializeEventManagerResources(), InitializeEventManagerTiming(), player_input(), RecRoom(), and UpdateInputDeviceTransitions().
| int nMouseCursorShowCount = 0 |
Definition at line 31 of file data.c.
Referenced by CaptureMouseCursorBackground(), DrawMouseCursor(), EnterAllocationScope(), LeaveAllocationScope(), ResetAllocationDepth(), RestoreMouseCursorBackground(), and SetMouseCursorShape().
| short nScreenHeight = 200 |
Definition at line 37 of file data.c.
Referenced by auto_pilot_sequence(), DrawLaunchDoorFrame(), HandleSpaceFlightControls(), InflightComputer(), initialize_cockpit(), RunSpaceFlight(), set_eye_direction_and_position(), and set_up_screen_viewport().
| short nScreenWidth = 320 |
Definition at line 34 of file data.c.
Referenced by auto_pilot_sequence(), draw_nav_pointer(), DrawLaunchDoorFrame(), DrawTitleLogo(), HandleSpaceFlightControls(), InflightComputer(), initialize_cockpit(), RunSpaceFlight(), set_eye_direction_and_position(), set_up_screen_viewport(), and transform_objects_to_your_view().
| short nUnusedInputTimerFlag |
Definition at line 241 of file data.c.
Referenced by InitializeEventManagerResources(), and InitializeEventManagerTiming().
| TextContext* pCurTextContext |
Definition at line 244 of file data.c.
Referenced by AppendFormattedText(), AppendTextCharacter(), ClearNextTextInputCharacter(), ClearTextInputCharacter(), DrawFormattedText(), DrawNavTextLine(), DrawTextCharacter(), DrawTextInputCursor(), DrawTextString(), EraseLastTextInputCharacter(), FormatTextBufferFromStart(), FormatTextTokens(), GetFontCharWidth(), InitializeModalTextPanel(), PromptInsertNumberedDisk(), ReadTextInput(), ResetTextCursor(), RestoreModalTextPanel(), SetTextContext(), SetTextCursor(), ShowChalkBoard(), and ShowMemoryStatusDebug().
| struct Shape* pDrawnMouseCursorShape = 0 |
Definition at line 28 of file data.c.
Referenced by SetMouseCursorShape().
| InputEvent* pInputEventHead = 0 |
Definition at line 19 of file data.c.
Referenced by GetNextInputEvent(), IsInputEventQueued(), PeekInputEvent(), QueueInputEvent(), ReleaseInputEventQueue(), RemoveInputEvent(), and RetainInputEventsOfType().
| InputEvent* pInputEventTail = 0 |
Definition at line 22 of file data.c.
Referenced by QueueInputEvent(), ReleaseInputEventQueue(), RemoveInputEvent(), and RetainInputEventsOfType().
| CockpitLayout stCockpitLayout |
Definition at line 193 of file data.c.
Referenced by draw_3d_scanner(), InitializeCockpitResources(), rotational_pos_to_scanner_pos(), and update_VDUs().
| MouseCursorState stHostMouseState |
Definition at line 243 of file data.c.
Referenced by MoveMenuPointerFromKeyboard(), PollJoystickButtonEvents(), PollMenuInputDevices(), UpdateTitleMenuCursor(), and WarpMouseTo().
| FixedVector vPlayerAccel |
Definition at line 251 of file data.c.
Referenced by accelerate_and_move_object().