Merge branch '3.0_work'

# Conflicts:
#	src/gl/scene/gl_portal.cpp
#	src/r_plane.cpp
This commit is contained in:
Christoph Oelckers 2017-03-12 20:31:34 +01:00
commit 61c91f05fc
552 changed files with 58244 additions and 23521 deletions

View file

@ -2,6 +2,9 @@
#include "zstring.h"
class PClass;
class VMFunction;
//
// [ZZ] this really should be in codegen.h, but vmexec needs to access it
struct FScopeBarrier

View file

@ -50,7 +50,6 @@
#include "zstring.h"
#include "d_event.h"
#include "g_levellocals.h"
#include "vm.h"
#include "p_checkposition.h"
#include "r_sky.h"
#include "v_font.h"

View file

@ -844,11 +844,6 @@ struct VMRegisters
VMValue *param;
};
struct VMException : public DObject
{
DECLARE_CLASS(VMException, DObject);
};
union FVoidObj
{
DObject *o;

View file

@ -820,7 +820,7 @@ begin:
ThrowAbortException(X_OTHER, "Cannot instantiate abstract class %s", cls->TypeName.GetChars());
}
// Creating actors here must be outright prohibited,
if (cls->IsDescendantOf(RUNTIME_CLASS(AActor)))
if (cls->IsDescendantOf(NAME_Actor))
{
ThrowAbortException(X_OTHER, "Cannot create actors with 'new'");
}

View file

@ -44,7 +44,7 @@ static const char *BuiltInTypeNames[] =
{
"sint8", "uint8",
"sint16", "uint16",
"sint32", "uint32",
"sint32", "uint32_t",
"intauto",
"bool",