coastline 0.0.4
Loading...
Searching...
No Matches
PodArchive Class Reference

A pod file the game reads, and the writer of one. More...

#include <podarchive.h>

Public Member Functions

virtual ~PodArchive ()
 Do nothing.
virtual void * LoadPodByName (const char *pszPath, void *pBuffer)
 Read the data of the entry of a path.
virtual void OpenPodFile ()
 Open the pod file of the path to read, and read its header and directory.
virtual void ClosePodFile ()
 Close the file, free the directory, and clear the archive and its path.
 PodArchive ()
 An archive without a file.
void SetFilePath (const char *pszPath)
 Set the path of the file of the archive.

Detailed Description

A pod file the game reads, and the writer of one.

Constructor & Destructor Documentation

◆ ~PodArchive()

virtual PodArchive::~PodArchive ( )
virtual

Do nothing.

Ghidra address:
BRD3D: 0x100085e0
Ghidra address:
BRGlide: 0x100087c0

◆ PodArchive()

PodArchive::PodArchive ( )

An archive without a file.

Ghidra address:
BRD3D: 0x10008580
Ghidra address:
BRGlide: 0x10008760

Member Function Documentation

◆ LoadPodByName()

virtual void * PodArchive::LoadPodByName ( const char * pszPath,
void * pBuffer )
virtual

Read the data of the entry of a path.

Parameters
pszPathThe path.
pBufferReceives the data.
Returns
pBuffer.
Ghidra address:
BRD3D: 0x100088b0
Ghidra address:
BRGlide: 0x10008a90

◆ OpenPodFile()

virtual void PodArchive::OpenPodFile ( )
virtual

Open the pod file of the path to read, and read its header and directory.

A file that is not a pod file ends the game.

Ghidra address:
BRD3D: 0x100088d0
Ghidra address:
BRGlide: 0x10008ab0

◆ ClosePodFile()

virtual void PodArchive::ClosePodFile ( )
virtual

Close the file, free the directory, and clear the archive and its path.

Ghidra address:
BRD3D: 0x10008970
Ghidra address:
BRGlide: 0x10008b50

◆ SetFilePath()

void PodArchive::SetFilePath ( const char * pszPath)

Set the path of the file of the archive.

Parameters
pszPathThe path, or null to keep the path.
Ghidra address:
BRD3D: 0x10008b40
Ghidra address:
BRGlide: 0x10008d20

The documentation for this class was generated from the following file: