mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-21 03:21:37 +00:00
Building with editor support (on Win w/ VS2017) works \o/
Editor also seems to start, didn't test much further. Only tested 32bit Windows, I fear the editor code isn't 64bit clean.. I hope I haven't broken anything elsewhere..
This commit is contained in:
parent
596d40d5c9
commit
9a95a2a1cf
181 changed files with 814 additions and 370 deletions
|
@ -49,8 +49,8 @@ include(GNUInstallDirs OPTIONAL RESULT_VARIABLE GNUINSTALLDIRS)
|
|||
option(CORE "Build the core" ON)
|
||||
option(BASE "Build the base game code" ON)
|
||||
option(D3XP "Build the d3xp game code" ON)
|
||||
if(MSVC) # TODO: does this work?
|
||||
option(TOOLS "build the tools game code ( Windows only )" OFF)
|
||||
if(MSVC)
|
||||
option(TOOLS "Build the tools game code (Windows+Visual Studio+SDL2 only)" OFF)
|
||||
endif()
|
||||
option(DEDICATED "Build the dedicated server" OFF)
|
||||
option(ONATIVE "Optimize for the host CPU" OFF)
|
||||
|
@ -155,6 +155,11 @@ endif()
|
|||
if(MSVC)
|
||||
# This is required for tools on windows.
|
||||
find_package(MFC)
|
||||
|
||||
if(TOOLS AND NOT MFC_FOUND)
|
||||
message(SEND_ERROR "MFC ('Microsoft Foundation Classes for C++') couldn't be found, but is needed for TOOLS!")
|
||||
message(FATAL_ERROR "If you're using VS2013, you'll also need the 'Multibyte MFC Library for Visual Studio 2013': https://www.microsoft.com/en-us/download/details.aspx?id=40770 (VS2015 and 2017 include that in the default MFC package)")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# compiler specific flags
|
||||
|
@ -239,7 +244,10 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|||
set(sys_libs ${sys_libs} ${EXECINFO_LIBRARIES})
|
||||
endif()
|
||||
elseif(MSVC)
|
||||
add_definitions(/MP) # parallel build (use all cores, or as many as configured in VS)
|
||||
|
||||
add_compile_options(/W4)
|
||||
add_compile_options(/we4840) # treat as error when passing a class to a vararg-function (probably printf-like)
|
||||
add_compile_options(/wd4100) # unreferenced formal parameter
|
||||
add_compile_options(/wd4127) # conditional expression is constant
|
||||
add_compile_options(/wd4244) # possible loss of data
|
||||
|
@ -748,7 +756,9 @@ if (TOOLS AND MFC_FOUND AND MSVC)
|
|||
set(ALLOWRESOURCES ON)
|
||||
# Common files.
|
||||
file(GLOB src_comafx "tools/comafx/*.cpp")
|
||||
add_globbed_headers(src_comafx "tools/comafx")
|
||||
file(GLOB_RECURSE src_tools_common "tools/common/*.cpp")
|
||||
add_globbed_headers(src_tools_common "tools/common")
|
||||
|
||||
#Compilers.
|
||||
# DG: this is always added, why add it again? file(GLOB src_compiler_renderbump "neo/tools/compilers/renderbump/*.cpp")
|
||||
|
@ -857,9 +867,6 @@ elseif(APPLE)
|
|||
${OSX_RESOURCE_FILES}
|
||||
)
|
||||
elseif(WIN32)
|
||||
set(WIN32_RESOURCE_FILES
|
||||
"${CMAKE_SOURCE_DIR}/sys/win32/rc/dhewm3.rc"
|
||||
)
|
||||
|
||||
set(src_sys_base
|
||||
sys/cpu.cpp
|
||||
|
@ -884,11 +891,14 @@ elseif(WIN32)
|
|||
|
||||
set(src_sys_core
|
||||
sys/glimp.cpp
|
||||
${WIN32_RESOURCE_FILES}
|
||||
)
|
||||
|
||||
if(TOOLS)
|
||||
set(src_sys_core ${src_sys_core} "sys/win32/rc/doom.rc")
|
||||
else()
|
||||
# adding both .rc files breaks the build, but I think it only contains the icon
|
||||
# and doom.rc also contains that (+icons for editor etc, AFAIK), so this is fine
|
||||
set(src_sys_core ${src_sys_core} "${CMAKE_SOURCE_DIR}/sys/win32/rc/dhewm3.rc" )
|
||||
endif()
|
||||
|
||||
else()
|
||||
|
|
|
@ -70,8 +70,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
// compiled out.
|
||||
//#define ID_DEDICATED
|
||||
|
||||
// don't define ID_ALLOW_TOOLS when we don't want tool code in the executable.
|
||||
#if defined( _WIN32 ) && defined(_MFC_VER) && !defined( ID_DEDICATED )
|
||||
// don't define ID_ALLOW_TOOLS when we don't want tool code in the executable. - DG: defined in cmake now
|
||||
#if 0 // defined( _WIN32 ) && defined(_MFC_VER) && !defined( ID_DEDICATED )
|
||||
#define ID_ALLOW_TOOLS
|
||||
#endif
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#include "renderer/RenderSystem.h"
|
||||
#include "tools/compilers/compiler_public.h"
|
||||
#include "tools/compilers/aas/AASFileManager.h"
|
||||
#include "tools/edit_public.h"
|
||||
|
||||
#include "framework/Common.h"
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
#include "framework/Console.h"
|
||||
|
||||
#include "tools/edit_public.h"
|
||||
|
||||
void SCR_DrawTextLeftAlign( float &y, const char *text, ... ) id_attribute((format(printf,2,3)));
|
||||
void SCR_DrawTextRightAlign( float &y, const char *text, ... ) id_attribute((format(printf,2,3)));
|
||||
|
||||
|
|
|
@ -112,4 +112,37 @@ extern PFNGLPROGRAMLOCALPARAMETER4FVARBPROC qglProgramLocalParameter4fvARB;
|
|||
// GL_EXT_depth_bounds_test
|
||||
extern PFNGLDEPTHBOUNDSEXTPROC qglDepthBoundsEXT;
|
||||
|
||||
#if defined( _WIN32 ) && defined(ID_ALLOW_TOOLS)
|
||||
|
||||
extern int (WINAPI * qwglChoosePixelFormat)(HDC, CONST PIXELFORMATDESCRIPTOR *);
|
||||
extern int (WINAPI * qwglDescribePixelFormat) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
|
||||
extern int (WINAPI * qwglGetPixelFormat)(HDC);
|
||||
extern BOOL(WINAPI * qwglSetPixelFormat)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
|
||||
extern BOOL(WINAPI * qwglSwapBuffers)(HDC);
|
||||
|
||||
extern BOOL(WINAPI * qwglCopyContext)(HGLRC, HGLRC, UINT);
|
||||
extern HGLRC(WINAPI * qwglCreateContext)(HDC);
|
||||
extern HGLRC(WINAPI * qwglCreateLayerContext)(HDC, int);
|
||||
extern BOOL(WINAPI * qwglDeleteContext)(HGLRC);
|
||||
extern HGLRC(WINAPI * qwglGetCurrentContext)(VOID);
|
||||
extern HDC(WINAPI * qwglGetCurrentDC)(VOID);
|
||||
extern PROC(WINAPI * qwglGetProcAddress)(LPCSTR);
|
||||
extern BOOL(WINAPI * qwglMakeCurrent)(HDC, HGLRC);
|
||||
extern BOOL(WINAPI * qwglShareLists)(HGLRC, HGLRC);
|
||||
extern BOOL(WINAPI * qwglUseFontBitmaps)(HDC, DWORD, DWORD, DWORD);
|
||||
|
||||
extern BOOL(WINAPI * qwglUseFontOutlines)(HDC, DWORD, DWORD, DWORD, FLOAT,
|
||||
FLOAT, int, LPGLYPHMETRICSFLOAT);
|
||||
|
||||
extern BOOL(WINAPI * qwglDescribeLayerPlane)(HDC, int, int, UINT,
|
||||
LPLAYERPLANEDESCRIPTOR);
|
||||
extern int (WINAPI * qwglSetLayerPaletteEntries)(HDC, int, int, int,
|
||||
CONST COLORREF *);
|
||||
extern int (WINAPI * qwglGetLayerPaletteEntries)(HDC, int, int, int,
|
||||
COLORREF *);
|
||||
extern BOOL(WINAPI * qwglRealizeLayerPalette)(HDC, int, BOOL);
|
||||
extern BOOL(WINAPI * qwglSwapLayerBuffers)(HDC, UINT);
|
||||
|
||||
#endif // _WIN32 && ID_ALLOW_TOOLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -33,6 +33,11 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
#include "renderer/tr_local.h"
|
||||
|
||||
#if defined(_WIN32) && defined(ID_ALLOW_TOOLS)
|
||||
#include "sys/win32/win_local.h"
|
||||
#include <SDL_syswm.h>
|
||||
#endif
|
||||
|
||||
idCVar in_nograb("in_nograb", "0", CVAR_SYSTEM | CVAR_NOCHEAT, "prevents input grabbing");
|
||||
idCVar r_waylandcompat("r_waylandcompat", "0", CVAR_SYSTEM | CVAR_NOCHEAT | CVAR_ARCHIVE, "wayland compatible framebuffer");
|
||||
|
||||
|
@ -216,6 +221,55 @@ bool GLimp_Init(glimpParms_t parms) {
|
|||
glConfig.isFullscreen = (window->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN;
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && defined(ID_ALLOW_TOOLS)
|
||||
|
||||
#ifndef SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
#error "dhewm3 only supports the tools with SDL2, not SDL1!"
|
||||
#endif
|
||||
|
||||
// The tools are Win32 specific. If building the tools
|
||||
// then we know we are win32 and we have to include this
|
||||
// config to get the editors to work.
|
||||
|
||||
// Get the HWND for later use.
|
||||
SDL_SysWMinfo sdlinfo;
|
||||
SDL_version sdlver;
|
||||
SDL_VERSION(&sdlver);
|
||||
sdlinfo.version = sdlver;
|
||||
if (SDL_GetWindowWMInfo(window, &sdlinfo) && sdlinfo.subsystem == SDL_SYSWM_WINDOWS) {
|
||||
win32.hWnd = sdlinfo.info.win.window;
|
||||
win32.hDC = sdlinfo.info.win.hdc;
|
||||
// NOTE: hInstance is set in main()
|
||||
win32.hGLRC = qwglGetCurrentContext();
|
||||
|
||||
PIXELFORMATDESCRIPTOR src =
|
||||
{
|
||||
sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
|
||||
1, // version number
|
||||
PFD_DRAW_TO_WINDOW | // support window
|
||||
PFD_SUPPORT_OPENGL | // support OpenGL
|
||||
PFD_DOUBLEBUFFER, // double buffered
|
||||
PFD_TYPE_RGBA, // RGBA type
|
||||
32, // 32-bit color depth
|
||||
0, 0, 0, 0, 0, 0, // color bits ignored
|
||||
8, // 8 bit destination alpha
|
||||
0, // shift bit ignored
|
||||
0, // no accumulation buffer
|
||||
0, 0, 0, 0, // accum bits ignored
|
||||
24, // 24-bit z-buffer
|
||||
8, // 8-bit stencil buffer
|
||||
0, // no auxiliary buffer
|
||||
PFD_MAIN_PLANE, // main layer
|
||||
0, // reserved
|
||||
0, 0, 0 // layer masks ignored
|
||||
};
|
||||
memcpy(&win32.pfd, &src, sizeof(PIXELFORMATDESCRIPTOR));
|
||||
} else {
|
||||
// TODO: can we just disable them?
|
||||
common->Error("SDL_GetWindowWMInfo(), which is needed for Tools to work, failed!");
|
||||
}
|
||||
#endif // defined(_WIN32) && defined(ID_ALLOW_TOOLS)
|
||||
|
||||
common->Printf("Using %d color bits, %d depth, %d stencil display\n",
|
||||
channelcolorbits, tdepthbits, tstencilbits);
|
||||
|
||||
|
|
|
@ -872,6 +872,11 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#define ID_SELECTION_VIEW_WIREFRAMEOFF 30403
|
||||
#define ID_SELECTION_VIEW_VISIBLEON 30404
|
||||
#define ID_SELECTION_VIEW_VISIBLEOFF 30405
|
||||
/* Begin SS2 changes */
|
||||
#define ID_SET_VIEW_TOP 30406
|
||||
#define ID_SET_VIEW_SIDE 30407
|
||||
#define ID_SET_VIEW_FRONT 30408
|
||||
/* End changes */
|
||||
#define ID_ENTITY_START 40000
|
||||
#define ID_ENTITY_END 45000
|
||||
|
||||
|
|
|
@ -61,6 +61,12 @@ struct Win32Vars_t {
|
|||
|
||||
OSVERSIONINFOEX osversion;
|
||||
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
HDC hDC; // handle to device
|
||||
HGLRC hGLRC; // handle to GL rendering context
|
||||
PIXELFORMATDESCRIPTOR pfd;
|
||||
#endif
|
||||
|
||||
static idCVar win_outputDebugString;
|
||||
static idCVar win_outputEditString;
|
||||
static idCVar win_viewlog;
|
||||
|
|
|
@ -51,6 +51,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#include "tools/edit_public.h"
|
||||
|
||||
#include <SDL_main.h>
|
||||
|
||||
idCVar Win32Vars_t::win_outputDebugString( "win_outputDebugString", "0", CVAR_SYSTEM | CVAR_BOOL, "" );
|
||||
|
@ -59,6 +61,66 @@ idCVar Win32Vars_t::win_viewlog( "win_viewlog", "0", CVAR_SYSTEM | CVAR_INTEGER,
|
|||
|
||||
Win32Vars_t win32;
|
||||
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
/* These are required for tools (DG: taken from SteelStorm2) */
|
||||
|
||||
static HMODULE hOpenGL_DLL;
|
||||
|
||||
typedef int (WINAPI * PWGLCHOOSEPIXELFORMAT) (HDC, CONST PIXELFORMATDESCRIPTOR *);
|
||||
typedef int (WINAPI * PWGLDESCRIBEPIXELFORMAT) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
|
||||
typedef int (WINAPI * PWGLGETPIXELFORMAT)(HDC);
|
||||
typedef BOOL(WINAPI * PWGLSETPIXELFORMAT)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
|
||||
typedef BOOL(WINAPI * PWGLSWAPBUFFERS)(HDC);
|
||||
|
||||
PWGLCHOOSEPIXELFORMAT qwglChoosePixelFormat;
|
||||
PWGLDESCRIBEPIXELFORMAT qwglDescribePixelFormat;
|
||||
PWGLGETPIXELFORMAT qwglGetPixelFormat;
|
||||
PWGLSETPIXELFORMAT qwglSetPixelFormat;
|
||||
PWGLSWAPBUFFERS qwglSwapBuffers;
|
||||
|
||||
typedef BOOL(WINAPI * PWGLCOPYCONTEXT)(HGLRC, HGLRC, UINT);
|
||||
typedef HGLRC(WINAPI * PWGLCREATECONTEXT)(HDC);
|
||||
typedef HGLRC(WINAPI * PWGLCREATELAYERCONTEXT)(HDC, int);
|
||||
typedef BOOL(WINAPI * PWGLDELETECONTEXT)(HGLRC);
|
||||
typedef HGLRC(WINAPI * PWGLGETCURRENTCONTEXT)(VOID);
|
||||
typedef HDC(WINAPI * PWGLGETCURRENTDC)(VOID);
|
||||
typedef PROC(WINAPI * PWGLGETPROCADDRESS)(LPCSTR);
|
||||
typedef BOOL(WINAPI * PWGLMAKECURRENT)(HDC, HGLRC);
|
||||
typedef BOOL(WINAPI * PWGLSHARELISTS)(HGLRC, HGLRC);
|
||||
typedef BOOL(WINAPI * PWGLUSEFONTBITMAPS)(HDC, DWORD, DWORD, DWORD);
|
||||
|
||||
|
||||
PWGLCOPYCONTEXT qwglCopyContext;
|
||||
PWGLCREATECONTEXT qwglCreateContext;
|
||||
PWGLCREATELAYERCONTEXT qwglCreateLayerContext;
|
||||
PWGLDELETECONTEXT qwglDeleteContext;
|
||||
PWGLGETCURRENTCONTEXT qwglGetCurrentContext;
|
||||
PWGLGETCURRENTDC qwglGetCurrentDC;
|
||||
PWGLGETPROCADDRESS qwglGetProcAddress;
|
||||
PWGLMAKECURRENT qwglMakeCurrent;
|
||||
PWGLSHARELISTS qwglShareLists;
|
||||
PWGLUSEFONTBITMAPS qwglUseFontBitmaps;
|
||||
|
||||
typedef BOOL(WINAPI * PWGLUSEFONTOUTLINES)(HDC, DWORD, DWORD, DWORD, FLOAT,
|
||||
FLOAT, int, LPGLYPHMETRICSFLOAT);
|
||||
typedef BOOL(WINAPI * PWGLDESCRIBELAYERPLANE)(HDC, int, int, UINT,
|
||||
LPLAYERPLANEDESCRIPTOR);
|
||||
typedef int (WINAPI * PWGLSETLAYERPALETTEENTRIES)(HDC, int, int, int,
|
||||
CONST COLORREF *);
|
||||
typedef int (WINAPI * PWGLGETLAYERPALETTEENTRIES)(HDC, int, int, int,
|
||||
COLORREF *);
|
||||
typedef BOOL(WINAPI * PWGLREALIZELAYERPALETTE)(HDC, int, BOOL);
|
||||
typedef BOOL(WINAPI * PWGLSWAPLAYERBUFFERS)(HDC, UINT);
|
||||
|
||||
PWGLUSEFONTOUTLINES qwglUseFontOutlines;
|
||||
PWGLDESCRIBELAYERPLANE qwglDescribeLayerPlane;
|
||||
PWGLSETLAYERPALETTEENTRIES qwglSetLayerPaletteEntries;
|
||||
PWGLGETLAYERPALETTEENTRIES qwglGetLayerPaletteEntries;
|
||||
PWGLREALIZELAYERPALETTE qwglRealizeLayerPalette;
|
||||
PWGLSWAPLAYERBUFFERS qwglSwapLayerBuffers;
|
||||
|
||||
#endif /* End stuff required for tools */
|
||||
|
||||
/*
|
||||
=============
|
||||
Sys_Error
|
||||
|
@ -109,6 +171,14 @@ Sys_Quit
|
|||
==============
|
||||
*/
|
||||
void Sys_Quit( void ) {
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
// Free OpenGL DLL.
|
||||
if (hOpenGL_DLL)
|
||||
{
|
||||
FreeLibrary(hOpenGL_DLL);
|
||||
}
|
||||
#endif
|
||||
|
||||
timeEndPeriod( 1 );
|
||||
Sys_ShutdownInput();
|
||||
Sys_DestroyConsole();
|
||||
|
@ -617,6 +687,30 @@ Sys_Shutdown
|
|||
================
|
||||
*/
|
||||
void Sys_Shutdown( void ) {
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
qwglCopyContext = NULL;
|
||||
qwglCreateContext = NULL;
|
||||
qwglCreateLayerContext = NULL;
|
||||
qwglDeleteContext = NULL;
|
||||
qwglDescribeLayerPlane = NULL;
|
||||
qwglGetCurrentContext = NULL;
|
||||
qwglGetCurrentDC = NULL;
|
||||
qwglGetLayerPaletteEntries = NULL;
|
||||
qwglGetProcAddress = NULL;
|
||||
qwglMakeCurrent = NULL;
|
||||
qwglRealizeLayerPalette = NULL;
|
||||
qwglSetLayerPaletteEntries = NULL;
|
||||
qwglShareLists = NULL;
|
||||
qwglSwapLayerBuffers = NULL;
|
||||
qwglUseFontBitmaps = NULL;
|
||||
qwglUseFontOutlines = NULL;
|
||||
qwglChoosePixelFormat = NULL;
|
||||
qwglDescribePixelFormat = NULL;
|
||||
qwglGetPixelFormat = NULL;
|
||||
qwglSetPixelFormat = NULL;
|
||||
qwglSwapBuffers = NULL;
|
||||
#endif // ID_ALLOW_TOOLS
|
||||
|
||||
CoUninitialize();
|
||||
}
|
||||
|
||||
|
@ -683,6 +777,54 @@ static void setHighDPIMode(void)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
static void loadWGLpointers() {
|
||||
if (hOpenGL_DLL == NULL)
|
||||
{
|
||||
// Load OpenGL DLL.
|
||||
hOpenGL_DLL = LoadLibrary("opengl32.dll");
|
||||
if (hOpenGL_DLL == NULL) {
|
||||
Sys_Error(GAME_NAME " Cannot Load opengl32.dll - Disabling TOOLS");
|
||||
return;
|
||||
}
|
||||
}
|
||||
// opengl32.dll found... grab the addresses.
|
||||
|
||||
qwglGetProcAddress = (PWGLGETPROCADDRESS)GetProcAddress(hOpenGL_DLL, "wglGetProcAddress");
|
||||
|
||||
// Context controls
|
||||
qwglCopyContext = (PWGLCOPYCONTEXT)GetProcAddress(hOpenGL_DLL, "wglCopyContext");
|
||||
qwglCreateContext = (PWGLCREATECONTEXT)GetProcAddress(hOpenGL_DLL, "wglCreateContext");
|
||||
qwglCreateLayerContext = (PWGLCREATELAYERCONTEXT)GetProcAddress(hOpenGL_DLL, "wglCreateLayerContext");
|
||||
qwglDeleteContext = (PWGLDELETECONTEXT)GetProcAddress(hOpenGL_DLL, "wglDeleteContext");
|
||||
qwglGetCurrentContext = (PWGLGETCURRENTCONTEXT)GetProcAddress(hOpenGL_DLL, "wglGetCurrentContext");
|
||||
qwglGetCurrentDC = (PWGLGETCURRENTDC)GetProcAddress(hOpenGL_DLL, "wglGetCurrentDC");
|
||||
qwglMakeCurrent = (PWGLMAKECURRENT)GetProcAddress(hOpenGL_DLL, "wglMakeCurrent");
|
||||
qwglShareLists = (PWGLSHARELISTS)GetProcAddress(hOpenGL_DLL, "wglShareLists");
|
||||
|
||||
// Fonts
|
||||
qwglUseFontBitmaps = (PWGLUSEFONTBITMAPS)GetProcAddress(hOpenGL_DLL, "wglUseFontBitmapsA");
|
||||
qwglUseFontOutlines = (PWGLUSEFONTOUTLINES)GetProcAddress(hOpenGL_DLL, "wglUseFontOutlinesA");
|
||||
|
||||
// Layers.
|
||||
qwglDescribeLayerPlane = (PWGLDESCRIBELAYERPLANE)GetProcAddress(hOpenGL_DLL, "wglDescribeLayerPlane");
|
||||
qwglSwapLayerBuffers = (PWGLSWAPLAYERBUFFERS)GetProcAddress(hOpenGL_DLL, "wglSwapLayerBuffers");
|
||||
|
||||
// Palette controls
|
||||
qwglGetLayerPaletteEntries = (PWGLGETLAYERPALETTEENTRIES)GetProcAddress(hOpenGL_DLL, "wglGetLayerPaletteEntries");
|
||||
qwglRealizeLayerPalette = (PWGLREALIZELAYERPALETTE)GetProcAddress(hOpenGL_DLL, "wglRealizeLayerPalette");
|
||||
qwglSetLayerPaletteEntries = (PWGLSETLAYERPALETTEENTRIES)GetProcAddress(hOpenGL_DLL, "wglSetLayerPaletteEntries");
|
||||
|
||||
|
||||
// These by default exist in windows
|
||||
qwglChoosePixelFormat = ChoosePixelFormat;
|
||||
qwglDescribePixelFormat = DescribePixelFormat;
|
||||
qwglGetPixelFormat = GetPixelFormat;
|
||||
qwglSetPixelFormat = SetPixelFormat;
|
||||
qwglSwapBuffers = SwapBuffers;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
==================
|
||||
WinMain
|
||||
|
@ -713,6 +855,10 @@ int main(int argc, char *argv[]) {
|
|||
_CrtSetDbgFlag( 0 );
|
||||
#endif
|
||||
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
loadWGLpointers();
|
||||
#endif
|
||||
|
||||
if ( argc > 1 ) {
|
||||
common->Init( argc-1, &argv[1] );
|
||||
} else {
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
class idDeclAF;
|
||||
|
||||
class DialogAFView;
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/AFEditor_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#ifdef ID_DEBUG_MEMORY
|
||||
#undef new
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "CPathTreeCtrl.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "CSyntaxRichEditCtrl.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/Radiant_resource.h"
|
||||
#include "DialogColorPicker.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/Common_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/common_resource.h"
|
||||
#include "DialogName.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/win_local.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
|
||||
#include "VectorCtl.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/win_local.h"
|
||||
#include "ColorButton.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "ColorButton.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#define MASKEDIT_MAXINVALID 1024
|
||||
typedef struct
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/win_local.h"
|
||||
#include "../../sys/win32/rc/common_resource.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
#include "../../../sys/win32/rc/proptree_Resource.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "proptree.h"
|
||||
#include "PropTreeItemButton.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "proptree.h"
|
||||
#include "PropTreeItemCheck.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
#include "../../../sys/win32/rc/proptree_Resource.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
#include "../../../sys/win32/rc/proptree_Resource.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "proptree.h"
|
||||
#include "PropTreeItemEdit.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "proptree.h"
|
||||
#include "PropTreeItemEditButton.h"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "proptree.h"
|
||||
#include "PropTreeItemFileEdit.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
// useful.
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "PropTree.h"
|
||||
#include "../../../sys/win32/rc/proptree_Resource.h"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
//
|
||||
|
||||
//#include "stdafx.h"
|
||||
#include "../../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
|
||||
#include "PropTreeView.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/win_local.h"
|
||||
#include "PropertyGrid.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "RegistryOptions.h"
|
||||
|
||||
|
|
|
@ -26,11 +26,12 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
#include "../../sys/win32/common_resource.h"
|
||||
|
||||
#include "sys/win32/rc/Common_resource.h"
|
||||
// FIXME: SteelStorm2 has this whole file commented out
|
||||
|
||||
idCVar rbfg_DefaultWidth( "rbfg_DefaultWidth", "0", 0, "" );
|
||||
idCVar rbfg_DefaultHeight( "rbfg_DefaultHeight", "0", 0, "" );
|
||||
|
||||
|
@ -51,7 +52,9 @@ static bool CheckPow2(int Num)
|
|||
return true;
|
||||
}
|
||||
|
||||
extern void Com_WriteConfigToFile( const char *filename );
|
||||
static void Com_WriteConfigToFile(const char *filename) {
|
||||
common->Warning("Some renderbump code called Com_WriteConfigTiFile(\"%s\") which is not implemented!\n", filename);
|
||||
}
|
||||
|
||||
static BOOL CALLBACK RBFProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/win_local.h"
|
||||
#include "RollupPanel.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "SpinButton.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "DebuggerApp.h"
|
||||
#include "DebuggerBreakpoint.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "DebuggerApp.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "DebuggerApp.h"
|
||||
#include "DebuggerScript.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../game/gamesys/Event.h"
|
||||
#include "../../game/gamesys/Class.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/DeclEditor_resource.h"
|
||||
#include "../../sys/win32/rc/ScriptEditor_resource.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/Common_resource.h"
|
||||
#include "../../sys/win32/rc/DeclEditor_resource.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/DeclEditor_resource.h"
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
#if 0 // TODO: FIX this. - DG: from SteelStorm2
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/Common_resource.h"
|
||||
#include "../../sys/win32/rc/DeclEditor_resource.h"
|
||||
|
|
182
neo/tools/edit_gui_common.h
Normal file
182
neo/tools/edit_gui_common.h
Normal file
|
@ -0,0 +1,182 @@
|
|||
// header that includes all the other needed headers, replacement for precompiled.h (only used by tools)
|
||||
|
||||
#ifndef TOOLS_EDIT_GUI_COMMON_H
|
||||
#define TOOLS_EDIT_GUI_COMMON_H
|
||||
|
||||
#if !defined(_WIN32) || !defined(_MSC_VER) || !defined(ID_ALLOW_TOOLS)
|
||||
#error "This header should only be included in the Win-only Visual-Studio-only MFC tools code"
|
||||
#endif
|
||||
|
||||
// (hopefully) suppress "warning C4996: 'MBCS_Support_Deprecated_In_MFC':
|
||||
// MBCS support in MFC is deprecated and may be removed in a future version of MFC."
|
||||
#define NO_WARN_MBCS_MFC_DEPRECATION
|
||||
|
||||
#include <afxwin.h>
|
||||
|
||||
#if defined(_MFC_VER) && !defined(_D3SDK) && !defined(GAME_DLL)
|
||||
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // prevent auto literal to string conversion
|
||||
#include "tools/comafx/StdAfx.h"
|
||||
#endif
|
||||
|
||||
#include "edit_public.h"
|
||||
|
||||
#include "framework/Game.h"
|
||||
|
||||
// non-portable system services
|
||||
#include "sys/platform.h"
|
||||
#include "sys/sys_public.h"
|
||||
|
||||
// id lib
|
||||
#include "idlib/Lib.h"
|
||||
|
||||
// memory management and arrays
|
||||
#include "idlib/Heap.h"
|
||||
#include "idlib/containers/List.h"
|
||||
|
||||
// math
|
||||
#include "idlib/math/Simd.h"
|
||||
#include "idlib/math/Math.h"
|
||||
#include "idlib/math/Random.h"
|
||||
#include "idlib/math/Complex.h"
|
||||
#include "idlib/math/Vector.h"
|
||||
#include "idlib/math/Matrix.h"
|
||||
#include "idlib/math/Angles.h"
|
||||
#include "idlib/math/Quat.h"
|
||||
#include "idlib/math/Rotation.h"
|
||||
#include "idlib/math/Plane.h"
|
||||
#include "idlib/math/Pluecker.h"
|
||||
#include "idlib/math/Polynomial.h"
|
||||
#include "idlib/math/Extrapolate.h"
|
||||
#include "idlib/math/Interpolate.h"
|
||||
#include "idlib/math/Curve.h"
|
||||
#include "idlib/math/Ode.h"
|
||||
#include "idlib/math/Lcp.h"
|
||||
|
||||
// bounding volumes
|
||||
#include "idlib/bv/Sphere.h"
|
||||
#include "idlib/bv/Bounds.h"
|
||||
#include "idlib/bv/Box.h"
|
||||
#include "idlib/bv/Frustum.h"
|
||||
|
||||
// geometry
|
||||
#include "idlib/geometry/DrawVert.h"
|
||||
#include "idlib/geometry/JointTransform.h"
|
||||
#include "idlib/geometry/Winding.h"
|
||||
#include "idlib/geometry/Winding2D.h"
|
||||
#include "idlib/geometry/Surface.h"
|
||||
#include "idlib/geometry/Surface_Patch.h"
|
||||
#include "idlib/geometry/Surface_Polytope.h"
|
||||
#include "idlib/geometry/Surface_SweptSpline.h"
|
||||
#include "idlib/geometry/TraceModel.h"
|
||||
|
||||
// text manipulation
|
||||
#include "idlib/Str.h"
|
||||
#include "idlib/Token.h"
|
||||
#include "idlib/Lexer.h"
|
||||
#include "idlib/Parser.h"
|
||||
#include "idlib/Base64.h"
|
||||
#include "idlib/CmdArgs.h"
|
||||
|
||||
// containers
|
||||
#include "idlib/containers/BTree.h"
|
||||
#include "idlib/containers/BinSearch.h"
|
||||
#include "idlib/containers/HashIndex.h"
|
||||
#include "idlib/containers/HashTable.h"
|
||||
#include "idlib/containers/StaticList.h"
|
||||
#include "idlib/containers/LinkList.h"
|
||||
#include "idlib/containers/Hierarchy.h"
|
||||
#include "idlib/containers/Queue.h"
|
||||
#include "idlib/containers/Stack.h"
|
||||
#include "idlib/containers/StrList.h"
|
||||
#include "idlib/containers/StrPool.h"
|
||||
#include "idlib/containers/VectorSet.h"
|
||||
#include "idlib/containers/PlaneSet.h"
|
||||
|
||||
// hashing
|
||||
#include "idlib/hashing/CRC32.h"
|
||||
#include "idlib/hashing/MD4.h"
|
||||
#include "idlib/hashing/MD5.h"
|
||||
|
||||
// misc
|
||||
#include "idlib/Dict.h"
|
||||
#include "idlib/LangDict.h"
|
||||
#include "idlib/BitMsg.h"
|
||||
#include "idlib/MapFile.h"
|
||||
#include "idlib/Timer.h"
|
||||
|
||||
// framework
|
||||
#include "framework/BuildVersion.h"
|
||||
#include "framework/Licensee.h"
|
||||
#include "framework/CmdSystem.h"
|
||||
#include "framework/CVarSystem.h"
|
||||
#include "framework/Common.h"
|
||||
#include "framework/File.h"
|
||||
#include "framework/FileSystem.h"
|
||||
#include "framework/UsercmdGen.h"
|
||||
|
||||
// decls
|
||||
#include "framework/DeclManager.h"
|
||||
#include "framework/DeclTable.h"
|
||||
#include "framework/DeclSkin.h"
|
||||
#include "framework/DeclEntityDef.h"
|
||||
#include "framework/DeclFX.h"
|
||||
#include "framework/DeclParticle.h"
|
||||
#include "framework/DeclAF.h"
|
||||
#include "framework/DeclPDA.h"
|
||||
|
||||
// We have expression parsing and evaluation code in multiple places:
|
||||
// materials, sound shaders, and guis. We should unify them.
|
||||
|
||||
// renderer
|
||||
#include "renderer/qgl.h"
|
||||
#include "renderer/Cinematic.h"
|
||||
#include "renderer/Material.h"
|
||||
#include "renderer/Model.h"
|
||||
#include "renderer/ModelManager.h"
|
||||
#include "renderer/RenderSystem.h"
|
||||
#include "renderer/RenderWorld.h"
|
||||
|
||||
// sound engine
|
||||
#include "sound/sound.h"
|
||||
|
||||
// asynchronous networking
|
||||
#include "framework/async/NetworkSystem.h"
|
||||
|
||||
// user interfaces
|
||||
#include "ui/ListGUI.h"
|
||||
#include "ui/UserInterface.h"
|
||||
|
||||
// collision detection system
|
||||
#include "cm/CollisionModel.h"
|
||||
|
||||
// AAS files and manager
|
||||
#include "tools/compilers/aas/AASFile.h"
|
||||
#include "tools/compilers/aas/AASFileManager.h"
|
||||
|
||||
// game interface
|
||||
#include "framework/Game.h"
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
||||
#include "framework/DemoChecksum.h"
|
||||
|
||||
// framework
|
||||
#include "framework/Compressor.h"
|
||||
#include "framework/EventLoop.h"
|
||||
#include "framework/KeyInput.h"
|
||||
#include "framework/EditField.h"
|
||||
#include "framework/Console.h"
|
||||
#include "framework/DemoFile.h"
|
||||
#include "framework/Session.h"
|
||||
|
||||
// asynchronous networking
|
||||
#include "framework/async/AsyncNetwork.h"
|
||||
|
||||
// The editor entry points are always declared, but may just be
|
||||
// stubbed out on non-windows platforms.
|
||||
#include "tools/edit_public.h"
|
||||
|
||||
// Compilers for map, model, video etc. processing.
|
||||
#include "tools/compilers/compiler_public.h"
|
||||
|
||||
#endif // TOOLS_EDIT_GUI_COMMON_H
|
|
@ -29,6 +29,9 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#ifndef __EDIT_PUBLIC_H__
|
||||
#define __EDIT_PUBLIC_H__
|
||||
|
||||
#include "idlib/math/Vector.h"
|
||||
#include "idlib/Dict.h"
|
||||
|
||||
/*
|
||||
===============================================================================
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include <io.h>
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEDeleteModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEHideModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEInsertModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
#include "../common/ColorButton.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEKeyValueModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEModifierGroup.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEModifierStack.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEMoveModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../ui/Window.h"
|
||||
#include "../../ui/UserInterfaceLocal.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
#include "../common/ColorButton.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../common/ColorButton.h"
|
||||
#include "GEApp.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../renderer/tr_local.h"
|
||||
#include "../../sys/win32/win_local.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GESizeModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEStateModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
#include "../../renderer/tr_local.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
#include "../../renderer/tr_local.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../sys/win32/rc/guied_resource.h"
|
||||
#include "../../renderer/tr_local.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "GEApp.h"
|
||||
#include "GEZOrderModifier.h"
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "../../renderer/tr_local.h"
|
||||
#include "../../sys/win32/win_local.h"
|
||||
|
@ -84,6 +84,7 @@ GUIEditorRun
|
|||
Run a frame
|
||||
================
|
||||
*/
|
||||
static int sysMsgTime = 0; // DG: only used by GUIEditorRun(); no reason to put this into Win32Vars_t
|
||||
void GUIEditorRun()
|
||||
{
|
||||
MSG msg;
|
||||
|
@ -97,12 +98,12 @@ void GUIEditorRun()
|
|||
}
|
||||
|
||||
// save the msg time, because wndprocs don't have access to the timestamp
|
||||
if ( win32.sysMsgTime && win32.sysMsgTime > (int)msg.time )
|
||||
if ( sysMsgTime && sysMsgTime > (int)msg.time )
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
win32.sysMsgTime = msg.time;
|
||||
sysMsgTime = msg.time;
|
||||
}
|
||||
|
||||
if ( gApp.TranslateAccelerator ( &msg ) )
|
||||
|
|
|
@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "ConsoleView.h"
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "FindDialog.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "MaterialEditor.h"
|
||||
#include "MEMainFrame.h"
|
||||
|
|
|
@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "MEOptions.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../../idlib/precompiled.h"
|
||||
#pragma hdrstop
|
||||
#include "tools/edit_gui_common.h"
|
||||
|
||||
|
||||
#include "MaterialDef.h"
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue