mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-04 07:21:01 +00:00
Clean up warnings
This commit is contained in:
parent
f3b59c1731
commit
f73ea4f984
6 changed files with 7 additions and 6 deletions
|
@ -1069,7 +1069,7 @@ static float HWR_ClipViewSegment(INT32 x, polyvertex_t *v1, polyvertex_t *v2)
|
||||||
//
|
//
|
||||||
// HWR_SplitWall
|
// HWR_SplitWall
|
||||||
//
|
//
|
||||||
static void HWR_SplitWall(sector_t *sector, wallVert3D *wallVerts, INT32 texnum, FSurfaceInfo* Surf, UINT32 cutflag, ffloor_t *pfloor)
|
static void HWR_SplitWall(sector_t *sector, wallVert3D *wallVerts, INT32 texnum, FSurfaceInfo* Surf, INT32 cutflag, ffloor_t *pfloor)
|
||||||
{
|
{
|
||||||
/* SoM: split up and light walls according to the
|
/* SoM: split up and light walls according to the
|
||||||
lightlist. This may also include leaving out parts
|
lightlist. This may also include leaving out parts
|
||||||
|
|
|
@ -148,7 +148,7 @@ static loadfunc_t hwdFuncTable[] = {
|
||||||
#ifdef SHUFFLE
|
#ifdef SHUFFLE
|
||||||
{"PostImgRedraw", &hwdriver.pfnPostImgRedraw},
|
{"PostImgRedraw", &hwdriver.pfnPostImgRedraw},
|
||||||
#endif
|
#endif
|
||||||
{"FlushScreenTextures"},&hwdriver.pfnFlushScreenTextures},
|
{"FlushScreenTextures", &hwdriver.pfnFlushScreenTextures},
|
||||||
{"StartScreenWipe", &hwdriver.pfnStartScreenWipe},
|
{"StartScreenWipe", &hwdriver.pfnStartScreenWipe},
|
||||||
{"EndScreenWipe", &hwdriver.pfnEndScreenWipe},
|
{"EndScreenWipe", &hwdriver.pfnEndScreenWipe},
|
||||||
{"DoScreenWipe", &hwdriver.pfnDoScreenWipe},
|
{"DoScreenWipe", &hwdriver.pfnDoScreenWipe},
|
||||||
|
|
|
@ -457,6 +457,8 @@ void I_ShutdownMusic(void)
|
||||||
|
|
||||||
musictype_t I_SongType(void)
|
musictype_t I_SongType(void)
|
||||||
{
|
{
|
||||||
|
FMOD_SOUND_TYPE type;
|
||||||
|
|
||||||
#ifdef HAVE_LIBGME
|
#ifdef HAVE_LIBGME
|
||||||
if (gme)
|
if (gme)
|
||||||
return MU_GME;
|
return MU_GME;
|
||||||
|
@ -465,7 +467,6 @@ musictype_t I_SongType(void)
|
||||||
if (!music_stream)
|
if (!music_stream)
|
||||||
return MU_NONE;
|
return MU_NONE;
|
||||||
|
|
||||||
FMOD_SOUND_TYPE type;
|
|
||||||
if (FMOD_Sound_GetFormat(music_stream, &type, NULL, NULL, NULL) == FMOD_OK)
|
if (FMOD_Sound_GetFormat(music_stream, &type, NULL, NULL, NULL) == FMOD_OK)
|
||||||
{
|
{
|
||||||
switch(type)
|
switch(type)
|
||||||
|
|
Loading…
Reference in a new issue