Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
data.cpp File Reference
#include "always.h"
#include "data.h"

Go to the source code of this file.

Classes

struct  SRecord
 

Typedefs

typedef struct SRecord SRecord
 

Functions

void * Load_Alloc_Data (FileClass &file)
 
long Load_Uncompress (FileClass &file, Buffer &uncomp_buff, Buffer &dest_buff, void *reserved_data)
 
char const * Fetch_String (int id)
 
void const * Fetch_Resource (LPCSTR resname, LPCSTR restype)
 
int Load_Picture (FileClass &file, Buffer &scratchbuf, Buffer &destbuf, unsigned char *palette, PicturePlaneType)
 
void * Hires_Load (FileClass &file)
 

Typedef Documentation

◆ SRecord

typedef struct SRecord SRecord

Function Documentation

◆ Fetch_Resource()

void const * Fetch_Resource ( LPCSTR resname,
LPCSTR restype )

Definition at line 260 of file data.cpp.

◆ Fetch_String()

char const * Fetch_String ( int id)

Definition at line 200 of file data.cpp.

◆ Hires_Load()

void * Hires_Load ( FileClass & file)

Definition at line 308 of file data.cpp.

◆ Load_Alloc_Data()

void * Load_Alloc_Data ( FileClass & file)

Definition at line 61 of file data.cpp.

◆ Load_Picture()

int Load_Picture ( FileClass & file,
Buffer & scratchbuf,
Buffer & destbuf,
unsigned char * palette,
PicturePlaneType format )

Definition at line 287 of file data.cpp.

◆ Load_Uncompress()

long Load_Uncompress ( FileClass & file,
Buffer & uncomp_buff,
Buffer & dest_buff,
void * reserved_data )

Definition at line 99 of file data.cpp.