Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

load_mdl.cpp File Reference

#include "stdafx.h"
#include "sndfile.h"

Include dependency graph for load_mdl.cpp:

Go to the source code of this file.

Typedefs

typedef MDLSONGHEADER MDLSONGHEADER
typedef MDLINFOBLOCK MDLINFOBLOCK
typedef MDLPATTERNDATA MDLPATTERNDATA

Functions

void ConvertMDLCommand (MODCOMMAND *m, UINT eff, UINT data)
void UnpackMDLTrack (MODCOMMAND *pat, UINT nChannels, UINT nRows, UINT nTrack, const BYTE *lpTracks)
WORD MDLReadBits (DWORD &bitbuf, UINT &bitnum, LPBYTE &ibuf, CHAR n)


Typedef Documentation

typedef struct MDLINFOBLOCK MDLINFOBLOCK
 

typedef struct MDLPATTERNDATA MDLPATTERNDATA
 

typedef struct MDLSONGHEADER MDLSONGHEADER
 


Function Documentation

void ConvertMDLCommand MODCOMMAND m,
UINT  eff,
UINT  data
 

Definition at line 48 of file load_mdl.cpp.

References CMD_ARPEGGIO, CMD_GLOBALVOLSLIDE, CMD_GLOBALVOLUME, CMD_OFFSET, CMD_PANNING8, CMD_PANNINGSLIDE, CMD_PATTERNBREAK, CMD_PORTAMENTODOWN, CMD_PORTAMENTOUP, CMD_POSITIONJUMP, CMD_RETRIG, CMD_S3MCMDEX, CMD_SPEED, CMD_TEMPO, CMD_TONEPORTAMENTO, CMD_TREMOLO, CMD_TREMOR, CMD_VIBRATO, CMD_VOLUMESLIDE, _MODCOMMAND::command, and _MODCOMMAND::param.

Referenced by UnpackMDLTrack().

WORD MDLReadBits DWORD bitbuf,
UINT bitnum,
LPBYTE ibuf,
CHAR  n
 

Definition at line 492 of file load_mdl.cpp.

References v, and WORD.

Referenced by CSoundFile::ReadSample().

void UnpackMDLTrack MODCOMMAND pat,
UINT  nChannels,
UINT  nRows,
UINT  nTrack,
const BYTE lpTracks
 

Definition at line 97 of file load_mdl.cpp.

References CMD_PATTERNBREAK, CMD_SPEED, CMD_TEMPO, _MODCOMMAND::command, ConvertMDLCommand(), i, _MODCOMMAND::instr, len, _MODCOMMAND::note, _MODCOMMAND::param, pos, row, _MODCOMMAND::vol, _MODCOMMAND::volcmd, VOLCMD_VOLUME, and WORD.


Generated on Sat Nov 5 16:25:15 2005 for OPIE by  doxygen 1.4.2