PAlib: PA_GBFS.h File Reference

Main Page | Modules | File List | Globals | Search for

# PA_GBFS.h File Reference

Easy GBFS wrapper. More...

Go to the source code of this file.

## Data Structures

struct | PA_GBFS_infos

## Functions

u32 | PA_InitGBFS (void)

Initialises GBFS and collects info on the files. Returns the number of files found... Stores the file infos in the following form : PA_GBFSfile[file number].File is a pointer towards the file, .Name is the file name without the extension, .Ext si the file extension (txt, html, etc...), and .Length is the file length.

s32 | PA_GetGBFSFile (s16 start, char *name, char *extension)
| Search in GBFS for a given file. Returns the number of the file in the PA GBFS system, or -1 if no file was found
s16 | PA_GBFSSearchExt (s16 *array, char *extension)
| Puts the number of all the GBFS files with a given extension in the array, and returns the number of files found

## Variables

PA_GBFS_infos | PA_GBFSfile [200]
s16 | PA_GBFS_nfiles
GBFS_FILE const * | PA_GBFS_FILE

## Detailed Description

Easy GBFS wrapper.

GBFS wrapper