Line
Link Here
|
0 |
-- a/src/a2m.cpp |
0 |
++ b/src/a2m.cpp |
Lines 33-38
Link Here
|
33 |
|
33 |
|
34 |
#include "a2m.h" |
34 |
#include "a2m.h" |
35 |
|
35 |
|
|
|
36 |
#include <cstring> |
37 |
|
36 |
const unsigned int Ca2mLoader::MAXFREQ = 2000, |
38 |
const unsigned int Ca2mLoader::MAXFREQ = 2000, |
37 |
Ca2mLoader::MINCOPY = ADPLUG_A2M_MINCOPY, |
39 |
Ca2mLoader::MINCOPY = ADPLUG_A2M_MINCOPY, |
38 |
Ca2mLoader::MAXCOPY = ADPLUG_A2M_MAXCOPY, |
40 |
Ca2mLoader::MAXCOPY = ADPLUG_A2M_MAXCOPY, |
39 |
-- a/src/bmf.cpp |
41 |
++ b/src/bmf.cpp |
Lines 43-48
Link Here
|
43 |
#include "bmf.h" |
43 |
#include "bmf.h" |
44 |
#include "debug.h" |
44 |
#include "debug.h" |
45 |
|
45 |
|
|
|
46 |
#include <cstring> |
47 |
|
46 |
const unsigned char CxadbmfPlayer::bmf_adlib_registers[117] = |
48 |
const unsigned char CxadbmfPlayer::bmf_adlib_registers[117] = |
47 |
{ |
49 |
{ |
48 |
0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xA0, 0xB0, 0xC0, 0xE0, 0xE3, |
50 |
0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xA0, 0xB0, 0xC0, 0xE0, 0xE3, |
49 |
-- a/src/cff.cpp |
51 |
++ b/src/cff.cpp |
Lines 28-33
Link Here
|
28 |
|
28 |
|
29 |
#include "cff.h" |
29 |
#include "cff.h" |
30 |
|
30 |
|
|
|
31 |
#include <cstring> |
32 |
|
31 |
/* -------- Public Methods -------------------------------- */ |
33 |
/* -------- Public Methods -------------------------------- */ |
32 |
|
34 |
|
33 |
CPlayer *CcffLoader::factory(Copl *newopl) |
35 |
CPlayer *CcffLoader::factory(Copl *newopl) |
34 |
-- a/src/dro.cpp |
36 |
++ b/src/dro.cpp |
Lines 27-32
Link Here
|
27 |
|
27 |
|
28 |
#include "dro.h" |
28 |
#include "dro.h" |
29 |
|
29 |
|
|
|
30 |
#include <cstring> |
31 |
|
30 |
/*** public methods *************************************/ |
32 |
/*** public methods *************************************/ |
31 |
|
33 |
|
32 |
CPlayer *CdroPlayer::factory(Copl *newopl) |
34 |
CPlayer *CdroPlayer::factory(Copl *newopl) |
33 |
-- a/src/dtm.cpp |
35 |
++ b/src/dtm.cpp |
Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
#include "dtm.h" |
25 |
#include "dtm.h" |
26 |
|
26 |
|
|
|
27 |
#include <cstring> |
28 |
|
27 |
/* -------- Public Methods -------------------------------- */ |
29 |
/* -------- Public Methods -------------------------------- */ |
28 |
|
30 |
|
29 |
CPlayer *CdtmLoader::factory(Copl *newopl) |
31 |
CPlayer *CdtmLoader::factory(Copl *newopl) |
30 |
-- a/src/fmc.cpp |
32 |
++ b/src/fmc.cpp |
Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include "fmc.h" |
22 |
#include "fmc.h" |
23 |
|
23 |
|
|
|
24 |
#include <cstring> |
25 |
|
24 |
/* -------- Public Methods -------------------------------- */ |
26 |
/* -------- Public Methods -------------------------------- */ |
25 |
|
27 |
|
26 |
CPlayer *CfmcLoader::factory(Copl *newopl) |
28 |
CPlayer *CfmcLoader::factory(Copl *newopl) |
27 |
-- a/src/mad.cpp |
29 |
++ b/src/mad.cpp |
Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include "mad.h" |
22 |
#include "mad.h" |
23 |
|
23 |
|
|
|
24 |
#include <cstring> |
25 |
|
24 |
/* -------- Public Methods -------------------------------- */ |
26 |
/* -------- Public Methods -------------------------------- */ |
25 |
|
27 |
|
26 |
CPlayer *CmadLoader::factory(Copl *newopl) |
28 |
CPlayer *CmadLoader::factory(Copl *newopl) |
27 |
-- a/src/mkj.cpp |
29 |
++ b/src/mkj.cpp |
Lines 24-29
Link Here
|
24 |
#include "mkj.h" |
24 |
#include "mkj.h" |
25 |
#include "debug.h" |
25 |
#include "debug.h" |
26 |
|
26 |
|
|
|
27 |
#include <cstring> |
28 |
|
27 |
CPlayer *CmkjPlayer::factory(Copl *newopl) |
29 |
CPlayer *CmkjPlayer::factory(Copl *newopl) |
28 |
{ |
30 |
{ |
29 |
return new CmkjPlayer(newopl); |
31 |
return new CmkjPlayer(newopl); |
30 |
-- a/src/msc.cpp |
32 |
++ b/src/msc.cpp |
Lines 24-29
Link Here
|
24 |
#include "msc.h" |
24 |
#include "msc.h" |
25 |
#include "debug.h" |
25 |
#include "debug.h" |
26 |
|
26 |
|
|
|
27 |
#include <cstring> |
28 |
|
27 |
const unsigned char CmscPlayer::msc_signature [MSC_SIGN_LEN] = { |
29 |
const unsigned char CmscPlayer::msc_signature [MSC_SIGN_LEN] = { |
28 |
'C', 'e', 'r', 'e', 's', ' ', '\x13', ' ', |
30 |
'C', 'e', 'r', 'e', 's', ' ', '\x13', ' ', |
29 |
'M', 'S', 'C', 'p', 'l', 'a', 'y', ' ' }; |
31 |
'M', 'S', 'C', 'p', 'l', 'a', 'y', ' ' }; |
30 |
-- a/src/mtk.cpp |
32 |
++ b/src/mtk.cpp |
Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include "mtk.h" |
22 |
#include "mtk.h" |
23 |
|
23 |
|
|
|
24 |
#include <cstring> |
25 |
|
24 |
/*** public methods **************************************/ |
26 |
/*** public methods **************************************/ |
25 |
|
27 |
|
26 |
CPlayer *CmtkLoader::factory(Copl *newopl) |
28 |
CPlayer *CmtkLoader::factory(Copl *newopl) |
27 |
-- a/src/protrack.cpp |
29 |
++ b/src/protrack.cpp |
Lines 28-33
Link Here
|
28 |
#include "protrack.h" |
28 |
#include "protrack.h" |
29 |
#include "debug.h" |
29 |
#include "debug.h" |
30 |
|
30 |
|
|
|
31 |
#include <cstring> |
32 |
|
31 |
#define SPECIALARPLEN 256 // Standard length of special arpeggio lists |
33 |
#define SPECIALARPLEN 256 // Standard length of special arpeggio lists |
32 |
#define JUMPMARKER 0x80 // Orderlist jump marker |
34 |
#define JUMPMARKER 0x80 // Orderlist jump marker |
33 |
|
35 |
|
34 |
-- a/src/rad.cpp |
36 |
++ b/src/rad.cpp |
Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
#include "rad.h" |
25 |
#include "rad.h" |
26 |
|
26 |
|
|
|
27 |
#include <cstring> |
28 |
|
27 |
CPlayer *CradLoader::factory(Copl *newopl) |
29 |
CPlayer *CradLoader::factory(Copl *newopl) |
28 |
{ |
30 |
{ |
29 |
return new CradLoader(newopl); |
31 |
return new CradLoader(newopl); |
30 |
-- a/src/rat.cpp |
32 |
++ b/src/rat.cpp |
Lines 32-37
Link Here
|
32 |
#include "rat.h" |
32 |
#include "rat.h" |
33 |
#include "debug.h" |
33 |
#include "debug.h" |
34 |
|
34 |
|
|
|
35 |
#include <cstring> |
36 |
|
35 |
const unsigned char CxadratPlayer::rat_adlib_bases[18] = |
37 |
const unsigned char CxadratPlayer::rat_adlib_bases[18] = |
36 |
{ |
38 |
{ |
37 |
0x00, 0x01, 0x02, 0x08, 0x09, 0x0A, 0x10, 0x11, 0x12, |
39 |
0x00, 0x01, 0x02, 0x08, 0x09, 0x0A, 0x10, 0x11, 0x12, |
38 |
-- a/src/raw.cpp |
40 |
++ b/src/raw.cpp |
Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include "raw.h" |
22 |
#include "raw.h" |
23 |
|
23 |
|
|
|
24 |
#include <cstring> |
25 |
|
24 |
/*** public methods *************************************/ |
26 |
/*** public methods *************************************/ |
25 |
|
27 |
|
26 |
CPlayer *CrawPlayer::factory(Copl *newopl) |
28 |
CPlayer *CrawPlayer::factory(Copl *newopl) |
27 |
-- a/src/rix.cpp |
29 |
++ b/src/rix.cpp |
Lines 23-28
Link Here
|
23 |
#include "rix.h" |
23 |
#include "rix.h" |
24 |
#include "debug.h" |
24 |
#include "debug.h" |
25 |
|
25 |
|
|
|
26 |
#include <cstdlib> |
27 |
#include <cstring> |
28 |
|
26 |
const unsigned char CrixPlayer::adflag[] = {0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1}; |
29 |
const unsigned char CrixPlayer::adflag[] = {0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1}; |
27 |
const unsigned char CrixPlayer::reg_data[] = {0,1,2,3,4,5,8,9,10,11,12,13,16,17,18,19,20,21}; |
30 |
const unsigned char CrixPlayer::reg_data[] = {0,1,2,3,4,5,8,9,10,11,12,13,16,17,18,19,20,21}; |
28 |
const unsigned char CrixPlayer::ad_C0_offs[] = {0,1,2,0,1,2,3,4,5,3,4,5,6,7,8,6,7,8}; |
31 |
const unsigned char CrixPlayer::ad_C0_offs[] = {0,1,2,0,1,2,3,4,5,3,4,5,6,7,8,6,7,8}; |
29 |
-- a/src/rol.h |
32 |
++ b/src/rol.h |
Lines 25-30
Link Here
|
25 |
|
25 |
|
26 |
#include <vector> |
26 |
#include <vector> |
27 |
#include <string> |
27 |
#include <string> |
|
|
28 |
#include <cstring> |
28 |
|
29 |
|
29 |
#include "player.h" |
30 |
#include "player.h" |
30 |
|
31 |
|
31 |
-- a/src/s3m.cpp |
32 |
++ b/src/s3m.cpp |
Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
#include "s3m.h" |
25 |
#include "s3m.h" |
26 |
|
26 |
|
|
|
27 |
#include <cstring> |
28 |
|
27 |
const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion |
29 |
const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion |
28 |
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1}; |
30 |
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1}; |
29 |
|
31 |
|
30 |
-- a/src/sa2.cpp |
32 |
++ b/src/sa2.cpp |
Lines 25-30
Link Here
|
25 |
#include "sa2.h" |
25 |
#include "sa2.h" |
26 |
#include "debug.h" |
26 |
#include "debug.h" |
27 |
|
27 |
|
|
|
28 |
#include <cstring> |
29 |
|
28 |
CPlayer *Csa2Loader::factory(Copl *newopl) |
30 |
CPlayer *Csa2Loader::factory(Copl *newopl) |
29 |
{ |
31 |
{ |
30 |
return new Csa2Loader(newopl); |
32 |
return new Csa2Loader(newopl); |
31 |
-- a/src/sng.cpp |
33 |
++ b/src/sng.cpp |
Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
#include "sng.h" |
22 |
#include "sng.h" |
23 |
|
23 |
|
|
|
24 |
#include <cstring> |
25 |
|
24 |
CPlayer *CsngPlayer::factory(Copl *newopl) |
26 |
CPlayer *CsngPlayer::factory(Copl *newopl) |
25 |
{ |
27 |
{ |
26 |
return new CsngPlayer(newopl); |
28 |
return new CsngPlayer(newopl); |