Fix compilation of editor

This commit is contained in:
Azamat H. Hackimov 2024-09-25 23:47:03 +03:00
parent 3b83d493e2
commit 68f8771845
17 changed files with 17 additions and 1 deletions

View File

@ -197,6 +197,7 @@
#ifdef EDITOR
#include "editor\mainfrm.h"
#include "editor\d3edit.h"
#include "pserror.h"
#endif
#include <cstdlib>

View File

@ -22,6 +22,7 @@
#include "stdafx.h"
#include "editor.h"
#include "GenericDeathDialog.h"
#include "pserror.h"
#ifdef _DEBUG
#define new DEBUG_NEW

View File

@ -233,6 +233,7 @@
#include "d3edit.h"
#include "mono.h"
#include "pserror.h"
#include "vclip.h"
#include "terrain.h"
#include "player.h"

View File

@ -411,6 +411,7 @@
#include "terrain.h"
#include "HTexture.h"
#include "trigger.h"
#include "pserror.h"
// Make the Marked room/face the current room/face
void SetMarkedRoom() {

View File

@ -169,6 +169,7 @@
#include "room.h"
#include "descent.h"
#include "erooms.h"
#include "pserror.h"
#define HTEX_CALIB_VAL ((float)(1.0 / 128.0))

View File

@ -122,6 +122,7 @@
#include "terrain.h"
#include "erooms.h"
#include "editor.h"
#include "pserror.h"
#define FACE_VIEW_DIST 5.0

View File

@ -27,6 +27,7 @@
#include "room.h"
#include "ambient.h"
#include "hlsoundlib.h"
#include "pserror.h"
#ifdef _DEBUG
#define new DEBUG_NEW

View File

@ -57,6 +57,7 @@
#include "weaponpage.h"
#include "ddio.h"
#include "mem.h"
#include "pserror.h"
#ifdef _DEBUG
#define new DEBUG_NEW

View File

@ -104,6 +104,7 @@
#include "PreferencesDialog.h"
#include "game.h"
#include "pilot.h"
#include "pserror.h"
#include "slew.h"
#ifdef _DEBUG

View File

@ -21,6 +21,7 @@
#include "stdafx.h"
#include "editor.h"
#include "pserror.h"
#include "SelectRangeDialog.h"
#include "terrain.h"

View File

@ -193,6 +193,7 @@
#include "fireball.h"
#include "mem.h"
#include "polymodel.h"
#include "pserror.h"
#include "ddio.h"
#include "DallasUtilities.h"
#include "matcen.h"

View File

@ -40,6 +40,7 @@
#include "cfile.h"
// #include "AppDatabase.h"
#include "mem.h"
#include "pserror.h"
////////////////////////////////////////////////////////////////
// GenericPageNode Class Members

View File

@ -21,6 +21,7 @@
#include "stdafx.h"
#include "editor.h"
#include "pserror.h"
#include "TerrainSoundDialog.h"
#ifdef _DEBUG

View File

@ -136,6 +136,7 @@
#include "FindIntersection.h"
#include "erooms.h"
#include "mono.h"
#include "pserror.h"
#include "DallasMainDlg.h"

View File

@ -88,6 +88,7 @@
#include "ddio.h"
#include "manage.h"
#include "DallasMainDlg.h"
#include "pserror.h"
#ifdef _DEBUG
#define new DEBUG_NEW

View File

@ -29,6 +29,7 @@
#include "aiambient.h"
#include "objinfo.h"
#include "game.h"
#include "pserror.h"
#include "soundload.h"
#ifdef _DEBUG

View File

@ -651,7 +651,7 @@ LRESULT WINAPI MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) {
case WM_DESTROY:
// get window handle and clear it.
if (i == MAX_WIN32APPS)
debug_break();
DEBUG_BREAK();
Win32_AppObjects[i].hWnd = NULL;
Win32_AppObjects[i].app = NULL;
i = -1;