SW: Fix const correctness issues.

Patch from Striker.

git-svn-id: https://svn.eduke32.com/eduke32@7499 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:25:22 +00:00 committed by Christoph Oelckers
parent b6d794ddba
commit 61446c0995
29 changed files with 113 additions and 112 deletions

View file

@ -88,17 +88,17 @@ SWBOOL LoadSong(const char *track);
#define NUM_SAMPLES 10
char *BitNames[2] =
const char *BitNames[2] =
{
"8-bit", "16-bit"
};
char *ChannelNames[2] =
const char *ChannelNames[2] =
{
"Mono", "Stereo"
};
char *VoiceNames[8] =
const char *VoiceNames[8] =
{
"1", "2", "3", "4", "5", "6", "7", "8"
};
@ -662,7 +662,7 @@ SoundAngle(int x, int y)
return delta_angle >> 6;
}
int _PlayerSound(char *file, int line, int num, int *x, int *y, int *z, Voc3D_Flags flags, PLAYERp pp)
int _PlayerSound(const char *file, int line, int num, int *x, int *y, int *z, Voc3D_Flags flags, PLAYERp pp)
//PlayerSound(int num, int *x, int *y, int *z, Voc3D_Flags flags, PLAYERp pp)
{
int handle;