|
Wing Commander
Reconstructed Win32 source (1996)
|
The packet loader. More...
#include "wc1.h"Go to the source code of this file.
Functions | |
| void *__stdcall | PacketLoad (const char *filename, short section, void *destination, unsigned short flags, void *decompressionWorkspace) |
Variables | |
| struct Shape * | pTgtLockShapePtr |
| unsigned char * | apTextFonts [4] |
| FontWorkspace ** | apFontWorkspaces [4] |
| FixedVector | aDirectionViewRightVector [DIRECTION_VIEW_COUNT] |
| FixedVector | aDirectionViewUpVectorArray [DIRECTION_VIEW_COUNT] |
| FixedVector | aDirectionViewForwardVector [DIRECTION_VIEW_COUNT] |
The packet loader.
Address range 42b050-42b15f. PacketLoad's diagnostic names its source, Library\Source\Pload.c, the only original path the game core keeps.
Definition in file pload.c.
| void *__stdcall PacketLoad | ( | const char * | filename, |
| short | section, | ||
| void * | destination, | ||
| unsigned short | flags, | ||
| void * | decompressionWorkspace ) |
Definition at line 20 of file pload.c.
References AllocateTaggedMemory(), ClearDebugPauseFlags(), CloseDataFileByHandle(), PacketSectionHandle::compression, PacketSectionHandle::dataSize, DecompressPacketSection(), exit_squadron(), IsPushedPacketHandle(), nPacketError, OpenPacketSection(), PacketLoad(), pLastPacketAllocation, PumpMessagesDuringWait(), ReadPacketSectionData(), and SystemDebugPrintf().
Referenced by FetchDiskPacketRetrying(), init_3Space_objects(), LoadPacketAllocated(), LoadPacketIntoBuffer(), and PacketLoad().
| FixedVector aDirectionViewForwardVector[DIRECTION_VIEW_COUNT] |
Definition at line 17 of file pload.c.
Referenced by initialize_direction_view_frame().
| FixedVector aDirectionViewRightVector[DIRECTION_VIEW_COUNT] |
Definition at line 15 of file pload.c.
Referenced by get_right_shape(), and initialize_direction_view_frame().
| FixedVector aDirectionViewUpVectorArray[DIRECTION_VIEW_COUNT] |
Definition at line 16 of file pload.c.
Referenced by get_right_shape(), and initialize_direction_view_frame().
| FontWorkspace** apFontWorkspaces[4] |
Definition at line 14 of file pload.c.
Referenced by InitializeTextContextFromFont(), and ReleaseTextFont().
| unsigned char* apTextFonts[4] |
Definition at line 13 of file pload.c.
Referenced by CalibrateJoystickInteractive(), InitializeTextContextFromFont(), and ReleaseTextFont().
| struct Shape* pTgtLockShapePtr |
Definition at line 12 of file pload.c.
Referenced by clear_head_up_display(), draw_3d_scanner(), draw_nav_pointer(), draw_target_box(), InitializeCockpitResources(), and overlay_head_up_display().