mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- moved a few things around to have them into better fitting places.
This commit is contained in:
parent
f6d6f310a9
commit
5a81a4ca16
20 changed files with 23 additions and 28 deletions
|
@ -778,7 +778,7 @@ file( GLOB HEADER_FILES
|
|||
sound/*.h
|
||||
textures/*.h
|
||||
scripting/*.h
|
||||
scripting/codegeneration/*.h
|
||||
scripting/backend/*.h
|
||||
scripting/decorate/*.h
|
||||
scripting/zscript/*.h
|
||||
scripting/vm/*.h
|
||||
|
@ -1197,14 +1197,14 @@ set (PCH_SOURCES
|
|||
scripting/thingdef.cpp
|
||||
scripting/thingdef_data.cpp
|
||||
scripting/thingdef_properties.cpp
|
||||
scripting/codegeneration/codegen.cpp
|
||||
scripting/codegeneration/dynarrays.cpp
|
||||
scripting/backend/codegen.cpp
|
||||
scripting/backend/dynarrays.cpp
|
||||
scripting/backend/vmbuilder.cpp
|
||||
scripting/backend/vmdisasm.cpp
|
||||
scripting/decorate/olddecorations.cpp
|
||||
scripting/decorate/thingdef_exp.cpp
|
||||
scripting/decorate/thingdef_parse.cpp
|
||||
scripting/decorate/thingdef_states.cpp
|
||||
scripting/vm/vmbuilder.cpp
|
||||
scripting/vm/vmdisasm.cpp
|
||||
scripting/vm/vmexec.cpp
|
||||
scripting/vm/vmframe.cpp
|
||||
scripting/zscript/ast.cpp
|
||||
|
@ -1421,9 +1421,9 @@ source_group("Platforms\\OS X Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE
|
|||
source_group("Platforms\\Unix Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/posix/unix/.+")
|
||||
source_group("Platforms\\SDL Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/posix/sdl/.+")
|
||||
source_group("Platforms\\Win32 Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/win32/.+")
|
||||
source_group("Scripting\\Decorate" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/decorate/.+")
|
||||
source_group("Scripting\\ZScript" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/zscript/.+" FILES ${CMAKE_CURRENT_BINARY_DIR}/zcc-parse.c ${CMAKE_CURRENT_BINARY_DIR}/zcc-parse.h)
|
||||
source_group("Scripting\\Code Generation" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/codegeneration/.+")
|
||||
source_group("Scripting\\Decorate frontend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/decorate/.+")
|
||||
source_group("Scripting\\ZScript frontend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/zscript/.+" FILES ${CMAKE_CURRENT_BINARY_DIR}/zcc-parse.c ${CMAKE_CURRENT_BINARY_DIR}/zcc-parse.h)
|
||||
source_group("Scripting\\Compiler backend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/backend/.+")
|
||||
source_group("Scripting\\VM" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/vm/.+")
|
||||
source_group("Scripting" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/.+")
|
||||
source_group("Shared Game" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/g_shared/.+")
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
#include "thingdef.h"
|
||||
#include "info.h"
|
||||
#include "v_text.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "backend/vmbuilder.h"
|
||||
|
||||
// [SO] Just the way Randy said to do it :)
|
||||
// [RH] Made this CVAR_SERVERINFO
|
||||
|
|
|
@ -2717,7 +2717,7 @@ void D_DoomMain (void)
|
|||
|
||||
GC::FullGC(); // clean up before taking down the object list.
|
||||
|
||||
// Delete the VM functions here. The garbage collector will not do this automatically because they are referenced from the global action function definitions.
|
||||
// Delete the reference to the VM functions here which were deleted and will be recreated after the restart.
|
||||
FAutoSegIterator probe(ARegHead, ARegTail);
|
||||
while (*++probe != NULL)
|
||||
{
|
||||
|
|
|
@ -783,7 +783,7 @@ CCMD(gc)
|
|||
else if (stricmp(argv[1], "count") == 0)
|
||||
{
|
||||
int cnt = 0;
|
||||
for (DObject *obj = GC::Root; obj; obj = obj->ObjNext, cnt++)
|
||||
for (DObject *obj = GC::Root; obj; obj = obj->ObjNext, cnt++);
|
||||
Printf("%d active objects counted\n", cnt);
|
||||
}
|
||||
else if (stricmp(argv[1], "pause") == 0)
|
||||
|
|
|
@ -3877,11 +3877,7 @@ IMPLEMENT_POINTERS_START(PSymbolType)
|
|||
IMPLEMENT_POINTER(Type)
|
||||
IMPLEMENT_POINTERS_END
|
||||
|
||||
IMPLEMENT_CLASS(PSymbolVMFunction, false, true)
|
||||
|
||||
IMPLEMENT_POINTERS_START(PSymbolVMFunction)
|
||||
IMPLEMENT_POINTER(Function)
|
||||
IMPLEMENT_POINTERS_END
|
||||
IMPLEMENT_CLASS(PSymbolVMFunction, false, false)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
|
@ -84,7 +84,6 @@ struct FNamespaceManager;
|
|||
class PSymbolVMFunction : public PSymbol
|
||||
{
|
||||
DECLARE_CLASS(PSymbolVMFunction, PSymbol);
|
||||
HAS_OBJECT_POINTERS;
|
||||
public:
|
||||
VMFunction *Function;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include "vmbuilder.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "codegen.h"
|
||||
#include "info.h"
|
||||
#include "m_argv.h"
|
||||
#include "thingdef.h"
|
|
@ -47,7 +47,7 @@
|
|||
#include "decallib.h"
|
||||
#include "i_system.h"
|
||||
#include "thingdef.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
#include "r_data/r_translate.h"
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#include "thingdef.h"
|
||||
#include "p_lnspec.h"
|
||||
#include "doomstat.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
|
||||
FRandom pr_exrandom ("EX_Random");
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#include "v_palette.h"
|
||||
#include "doomerrors.h"
|
||||
#include "i_system.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
#include "w_wad.h"
|
||||
#include "v_video.h"
|
||||
#include "version.h"
|
||||
|
|
|
@ -53,10 +53,10 @@
|
|||
#include "s_sound.h"
|
||||
#include "i_system.h"
|
||||
#include "colormatcher.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
#include "version.h"
|
||||
#include "templates.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "backend/vmbuilder.h"
|
||||
|
||||
//==========================================================================
|
||||
//***
|
||||
|
|
|
@ -60,9 +60,9 @@
|
|||
#include "p_conversation.h"
|
||||
#include "v_text.h"
|
||||
#include "thingdef.h"
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
#include "a_sharedglobal.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "backend/vmbuilder.h"
|
||||
#include "stats.h"
|
||||
|
||||
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
#include "teaminfo.h"
|
||||
#include "v_video.h"
|
||||
#include "r_data/colormaps.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "backend/vmbuilder.h"
|
||||
#include "a_keys.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "p_lnspec.h"
|
||||
#include "i_system.h"
|
||||
#include "gdtoa.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "backend/vmbuilder.h"
|
||||
#include "version.h"
|
||||
|
||||
static int GetIntConst(FxExpression *ex, FCompileContext &ctx)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define ZCC_COMPILE_H
|
||||
|
||||
#include <memory>
|
||||
#include "codegeneration/codegen.h"
|
||||
#include "backend/codegen.h"
|
||||
|
||||
struct Baggage;
|
||||
struct FPropertyInfo;
|
||||
|
|
Loading…
Reference in a new issue