diff options
| author | Wiimm <wiimm@wiimm.de> | 2022-07-09 11:48:24 +0200 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2022-07-09 11:48:24 +0200 |
| commit | 06ff18cd020779c226f7c25d22016e06b898f303 (patch) | |
| tree | b5c12ca4c6b9b0c86e63d2b6a965b8bd74dd0d86 /project/dclib/lib-bmg.h | |
| parent | f30e94a61fdc9fb13fd1fbd8b75502fedf5a2f71 (diff) | |
SZS v2.28a.beta
Diffstat (limited to 'project/dclib/lib-bmg.h')
| -rw-r--r-- | project/dclib/lib-bmg.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/project/dclib/lib-bmg.h b/project/dclib/lib-bmg.h index 98d3d9e..636f681 100644 --- a/project/dclib/lib-bmg.h +++ b/project/dclib/lib-bmg.h @@ -88,6 +88,9 @@ enum MID_BCUP_BEG = 0x2489, MID_BCUP_END = MID_BCUP_BEG + BMG_N_BCUP, + BMG_RCUP_TRACKS = 4, + BMG_BCUP_TRACKS = 5, + MID_ENGINE_BEG = 0x0589, MID_ENGINE_END = MID_ENGINE_BEG + 4, @@ -898,13 +901,31 @@ enumError SaveRawBMG bool set_time // true: set time stamps ); +enumError SaveRawFileBMG +( + bmg_t * bmg, // pointer to valid bmg + FILE * f, // valid output file + ccp fname // NULL or filename for error messages +); + enumError SaveTextBMG ( bmg_t * bmg, // pointer to valid bmg ccp fname, // filename of destination FileMode_t fmode, // create-file mode bool set_time, // true: set time stamps - bool force_numeric, // true: force numric MIDs + bool force_numeric, // true: force numeric MIDs + uint brief_count // >0: suppress syntax info + // >1: suppress all comments + // >2: suppress '#BMG' magic +); + +enumError SaveTextFileBMG +( + bmg_t * bmg, // pointer to valid bmg + FILE * f, // valid output file + ccp fname, // NULL or filename for error messages + bool force_numeric, // true: force numeric MIDs uint brief_count // >0: suppress syntax info // >1: suppress all comments // >2: suppress '#BMG' magic |
