mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
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:
parent
b6d794ddba
commit
61446c0995
29 changed files with 113 additions and 112 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue