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.
Name | Description |
---|---|
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) |
None.
Name | Description |
---|---|
TRGBAQuad | record which stores the RGBA values for a single pixel or palette-entry; only used in conjunction with arrays |
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
Name | Description |
---|---|
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. |
Jesco Topp <jesco@users.sourceforge.net
>
October 2000
20th Febr. 2002