Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
pload.c File Reference

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]

Detailed Description

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.

Function Documentation

◆ PacketLoad()

Variable Documentation

◆ aDirectionViewForwardVector

FixedVector aDirectionViewForwardVector[DIRECTION_VIEW_COUNT]

Definition at line 17 of file pload.c.

Referenced by initialize_direction_view_frame().

◆ aDirectionViewRightVector

FixedVector aDirectionViewRightVector[DIRECTION_VIEW_COUNT]

Definition at line 15 of file pload.c.

Referenced by get_right_shape(), and initialize_direction_view_frame().

◆ aDirectionViewUpVectorArray

FixedVector aDirectionViewUpVectorArray[DIRECTION_VIEW_COUNT]

Definition at line 16 of file pload.c.

Referenced by get_right_shape(), and initialize_direction_view_frame().

◆ apFontWorkspaces

FontWorkspace** apFontWorkspaces[4]

Definition at line 14 of file pload.c.

Referenced by InitializeTextContextFromFont(), and ReleaseTextFont().

◆ apTextFonts

unsigned char* apTextFonts[4]

◆ pTgtLockShapePtr