- Liux compile fixes.

SVN r1245 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-23 07:46:23 +00:00
parent 1cbaa24f96
commit 3e291cf528
7 changed files with 12 additions and 7 deletions

View file

@ -486,6 +486,7 @@ add_executable( zdoom WIN32
p_sight.cpp
p_slopes.cpp
p_spec.cpp
p_states.cpp
p_switch.cpp
p_teleport.cpp
p_terrain.cpp
@ -624,6 +625,7 @@ add_executable( zdoom WIN32
thingdef/thingdef_codeptr.cpp
thingdef/thingdef_exp.cpp
thingdef/thingdef_main.cpp
thingdef/thingdef_parse.cpp
thingdef/thingdef_properties.cpp
thingdef/thingdef_states.cpp
timidity/common.cpp

View file

@ -35,6 +35,7 @@
#include <stdio.h>
#include "doomtype.h"
#include "v_video.h"
// PNG Writing --------------------------------------------------------------

View file

@ -54,8 +54,8 @@ extern bool LocalKeyboardTurner; // [RH] The local player used the keyboard t
extern float WallTMapScale;
extern float WallTMapScale2;
extern int viewwidth;
extern int viewheight;
extern "C" int viewwidth;
extern "C" int viewheight;
extern int viewwindowx;
extern int viewwindowy;

View file

@ -1478,6 +1478,7 @@ void S_RelinkSound (AActor *from, AActor *to)
}
else
{
chan->Actor = NULL;
S_StopChannel(chan);
}
}

View file

@ -185,7 +185,7 @@ static int DoomSpecificInfo (char *buffer, char *end)
if (!viewactive)
{
buffer += snprintf (buffer+p, size-p, "\n\nView not active.");
p += snprintf (buffer+p, size-p, "\n\nView not active.");
}
else
{

View file

@ -254,16 +254,16 @@ int MatchString (const char *in, const char **strings);
#define DEFINE_PROPERTY_BASE(name, paramlist, clas, cat) \
static void Handler_##name##_##paramlist##_##clas(A##clas *defaults, Baggage &bag, FPropParam *params); \
static FPropertyInfo Prop_####name##_##paramlist##_##clas = \
static FPropertyInfo Prop_##name##_##paramlist##_##clas = \
{ #name, #paramlist, RUNTIME_CLASS(A##clas), (PropHandler)Handler_##name##_##paramlist##_##clas, cat }; \
MSVC_PSEG FPropertyInfo *infoptr_##name##_##paramlist##_##clas GCC_PSEG = &Prop_####name##_##paramlist##_##clas; \
MSVC_PSEG FPropertyInfo *infoptr_##name##_##paramlist##_##clas GCC_PSEG = &Prop_##name##_##paramlist##_##clas; \
static void Handler_##name##_##paramlist##_##clas(A##clas *defaults, Baggage &bag, FPropParam *params)
#define DEFINE_PREFIXED_PROPERTY_BASE(prefix, name, paramlist, clas, cat) \
static void Handler_##name##_##paramlist##_##clas(A##clas *defaults, Baggage &bag, FPropParam *params); \
static FPropertyInfo Prop_####name##_##paramlist##_##clas = \
static FPropertyInfo Prop_##name##_##paramlist##_##clas = \
{ #prefix"."#name, #paramlist, RUNTIME_CLASS(A##clas), (PropHandler)Handler_##name##_##paramlist##_##clas, cat }; \
MSVC_PSEG FPropertyInfo *infoptr_##name##_##paramlist##_##clas GCC_PSEG = &Prop_####name##_##paramlist##_##clas; \
MSVC_PSEG FPropertyInfo *infoptr_##name##_##paramlist##_##clas GCC_PSEG = &Prop_##name##_##paramlist##_##clas; \
static void Handler_##name##_##paramlist##_##clas(A##clas *defaults, Baggage &bag, FPropParam *params)

View file

@ -49,6 +49,7 @@
#include "v_palette.h"
#include "doomerrors.h"
#include "autosegs.h"
#include "i_system.h"
//==========================================================================