mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Linux compile fixes.
SVN r1236 (trunk)
This commit is contained in:
parent
71dd0d0269
commit
b2b81fc8ad
4 changed files with 8 additions and 1 deletions
|
@ -1811,7 +1811,7 @@ float S_GetRolloff(FRolloffInfo *rolloff, float distance, bool logarithmic)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return float((pow(10.f, volume) - 1.) / 9.);
|
return float((powf(10.f, volume) - 1.) / 9.);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -57,6 +57,8 @@
|
||||||
#include "g_level.h"
|
#include "g_level.h"
|
||||||
#include "r_state.h"
|
#include "r_state.h"
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
|
#include "r_main.h"
|
||||||
|
#include "doomstat.h"
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "doomtype.h"
|
#include "doomtype.h"
|
||||||
|
#include "doomstat.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
|
@ -61,6 +62,9 @@
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
#include "gameconfigfile.h"
|
#include "gameconfigfile.h"
|
||||||
|
|
||||||
|
#include "m_fixed.h"
|
||||||
|
#include "g_level.h"
|
||||||
|
|
||||||
EXTERN_CVAR (String, language)
|
EXTERN_CVAR (String, language)
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include "st_start.h"
|
#include "st_start.h"
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
#include "i_system.h"
|
#include "i_system.h"
|
||||||
|
#include "c_cvars.h"
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue