UNITS
CLASSES, INTERFACES, OBJECTS
TYPES
VARIABLES
CONSTANTS
FUNCTIONS, PROCEDURES
IDENTIFIERS

Unit UTPFF_Aux

Description

Auxiliary unit which contains additional classes & functions for the implementation of the UTPFF (UnrealTournament Package-FileFormat). These includes classes for the header-tables, internal lists and exception handlers. The functions include read/write implementation of Unreal's unique FCompactIndex (named INDEX in this code) and NAME type format.

Constants

NameDescription
TEX_ANI standard texture, animated
TEX_MMP multiple mipmaps, not animated
TEX_MMP_ANI multiple mipmaps, animated
TEX_STD standard texture (bmp, single texture/mipmap)

Variables

None.

Types

NameDescription
TRGBAQuad record which stores the RGBA values for a single pixel or palette-entry; only used in conjunction with arrays

Functions and procedures

Overview

function Read_INDEX( Str_Handle : integer ): longint;
function Read_NAME(Str_Handle : integer; PkgVer : integer): string;
function SizeOf_INDEX(const Index : longint): integer;
procedure Write_INDEX(const Index : longint; Str_Handle : integer);
procedure Write_NAME(const Name : string; Str_Handle : integer);

Description

function Read_INDEX( Str_Handle : integer ): longint;

decodes (read) a FCompactIndex type from a THandleStream

function Read_NAME(Str_Handle : integer; PkgVer : integer): string;

decodes (read) a NAME type from a THandleStream

function SizeOf_INDEX(const Index : longint): integer;

calculates the theoretical size of a DWORD, if stored as a FCompactIndex

procedure Write_INDEX(const Index : longint; Str_Handle : integer);

encodes (write) a FCompactIndex into a THandleStream

procedure Write_NAME(const Name : string; Str_Handle : integer);

encodes (write) a NAME type into a THandleStream; only for package version 69

Classes, interfaces and objects

NameDescription
Class EHeaderTableException custom exception if a package with an invalid header is loaded
Class TExportTable Class to hold the ImportTable. All objects of the package, which may be accessed from outside (thus exported) are listed here. It's basically the table of contents for the package.
Class TImportTable Class to hold the ImportTable. All references to objects in other packages are stored in the ImportTable.
Class TNameTable Class to hold the NameTable. The NameTable is some sort of encyclopedia in which Unreal stores the name and flags of every single object which is stored in a package or referenced by the package.
Class TTextureList Class to hold a list of all texture within a package. This class is used to iterate through and get the indices of the textures to display.

Author

Jesco Topp <jesco@users.sourceforge.net>

Created

October 2000

Last modification

20th Febr. 2002


Generated by pasdoc 0.6.20 on Wed 20 Mar 2002 20:59:34