Pulsar  3d3a057
bfwar_file.h
Go to the documentation of this file.
1 /**
2  * @file
3  * @brief Wave archive init
4  */
5 #pragma once
6 
7 #include <pulsar/bfwar/bfwar.h>
8 
9 /// Wave archive file information
10 typedef struct {
11  u32 offset;
12  u32 size;
14 
15 /// Fetch wave file location information from the specified index in the file table
16 PLSR_RC plsrBFWARFileGet(const PLSR_BFWAR* bfwar, u32 index, PLSR_BFWARFileInfo* out);
17 
18 NX_INLINE u32 plsrBFWARFileCount(const PLSR_BFWAR* bfwar) {
19  return bfwar->fileTable.info.count;
20 }
Wave archive file.
Definition: bfwar.h:17
Wave archive init.
u32 count
Table entry/block count.
Definition: archive.h:41
Wave archive file information.
Definition: bfwar_file.h:10
PLSR_ArchiveTableInfo info
Cached table information.
Definition: archive.h:47
PLSR_RC plsrBFWARFileGet(const PLSR_BFWAR *bfwar, u32 index, PLSR_BFWARFileInfo *out)
Fetch wave file location information from the specified index in the file table.
u32 PLSR_RC
Result code returned by Pulsar functions.
Definition: types.h:73