Editor: fix compilation

Add `"mono.h"` where needed.
This commit is contained in:
Azamat H. Hackimov 2024-08-25 00:57:17 +03:00
parent cc61f5de31
commit 25c4837b1d
28 changed files with 28 additions and 8 deletions

View File

@ -30,6 +30,7 @@
#include "gamefilepage.h" #include "gamefilepage.h"
#include "ddio.h" #include "ddio.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW

View File

@ -78,7 +78,7 @@
#endif #endif
#include "epath.h" #include "epath.h"
#include "mono.h"
#include "object.h" #include "object.h"
#include "findintersection.h" #include "findintersection.h"

View File

@ -561,6 +561,7 @@
#include "lighting.h" #include "lighting.h"
#include "trigger.h" #include "trigger.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "doorway.h" #include "doorway.h"
#ifndef NEWEDITOR #ifndef NEWEDITOR

View File

@ -28,6 +28,7 @@
#include "EditLineDialog.h" #include "EditLineDialog.h"
#include "pserror.h" #include "pserror.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "FilePageAddDlg.h" #include "FilePageAddDlg.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -407,6 +407,7 @@
#include "group.h" #include "group.h"
#include "door.h" #include "door.h"
#include "doorway.h" #include "doorway.h"
#include "mono.h"
#include "terrain.h" #include "terrain.h"
#include "HTexture.h" #include "HTexture.h"
#include "trigger.h" #include "trigger.h"

View File

@ -264,6 +264,7 @@
#include "lighting.h" #include "lighting.h"
#include "bsp.h" #include "bsp.h"
#include "ddio.h" #include "ddio.h"
#include "mono.h"
#include "vclip.h" #include "vclip.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -34,6 +34,7 @@
#include "bitmap.h" #include "bitmap.h"
#include "ddio.h" #include "ddio.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "EditLineDialog.h" #include "EditLineDialog.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -129,6 +129,7 @@
#include "gamefile.h" #include "gamefile.h"
#include "pserror.h" #include "pserror.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -246,7 +246,7 @@
#include "physics.h" #include "physics.h"
#include "door.h" #include "door.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "PowerupPropDialog.h" #include "PowerupPropDialog.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -110,6 +110,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "vecmat.h" #include "vecmat.h"
// 3ds MAX id's // 3ds MAX id's

View File

@ -58,6 +58,7 @@
#include "OsirisStatusDlg.h" #include "OsirisStatusDlg.h"
#include "pserror.h" #include "pserror.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW

View File

@ -86,7 +86,7 @@
#include "OsirisStatusDlg.h" #include "OsirisStatusDlg.h"
#include "ObjCScript.h" #include "ObjCScript.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "pserror.h" #include "pserror.h"
#include "d3x.h" #include "d3x.h"
#include "ddio.h" #include "ddio.h"

View File

@ -22,6 +22,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "editor.h" #include "editor.h"
#include "StatusDlg.h" #include "StatusDlg.h"
#include "mono.h"
#include "pserror.h" #include "pserror.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -228,6 +228,7 @@
#include "findintersection.h" #include "findintersection.h"
#include "config.h" #include "config.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "gr.h" #include "gr.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -159,6 +159,7 @@
#include "gr.h" #include "gr.h"
#include "descent.h" #include "descent.h"
#include "erooms.h" #include "erooms.h"
#include "mono.h"
#include "room.h" #include "room.h"
#include "terrain.h" #include "terrain.h"

View File

@ -135,7 +135,7 @@
#include "HView.h" #include "HView.h"
#include "FindIntersection.h" #include "FindIntersection.h"
#include "erooms.h" #include "erooms.h"
//@@#include "d3x.h" #include "mono.h"
#include "DallasMainDlg.h" #include "DallasMainDlg.h"

View File

@ -41,6 +41,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "editor.h" #include "editor.h"
#include "ViewerPropDlg.h" #include "ViewerPropDlg.h"
#include "mono.h"
#include "object.h" #include "object.h"
#ifdef _DEBUG #ifdef _DEBUG

View File

@ -41,6 +41,7 @@
#include "vclip.h" #include "vclip.h"
#include "QuickCompile.h" #include "QuickCompile.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW

View File

@ -129,6 +129,7 @@
#include "shippage.h" #include "shippage.h"
#include "ship.h" #include "ship.h"
#include "manage.h" #include "manage.h"
#include "mono.h"
#include "polymodel.h" #include "polymodel.h"
#include "PhysicsDlg.h" #include "PhysicsDlg.h"
#include "PlayerWeaponsDialog.h" #include "PlayerWeaponsDialog.h"

View File

@ -127,6 +127,7 @@
#include "soundload.h" #include "soundload.h"
#include "soundpage.h" #include "soundpage.h"
#include "manage.h" #include "manage.h"
#include "mono.h"
#include "hlsoundlib.h" #include "hlsoundlib.h"
#include "ddio.h" #include "ddio.h"

View File

@ -310,6 +310,7 @@
#include "GenericLightDialog.h" #include "GenericLightDialog.h"
#include "ddio.h" #include "ddio.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW

View File

@ -131,7 +131,7 @@
#include "bnode.h" #include "bnode.h"
#include "room.h" #include "room.h"
#include "mem.h" #include "mem.h"
#include "memory.h" #include "mono.h"
#include "vecmat.h" #include "vecmat.h"
#include "object.h" #include "object.h"
#include "3d.h" #include "3d.h"

View File

@ -47,11 +47,11 @@
#include "bsp.h" #include "bsp.h"
#include "Application.h" #include "Application.h"
#include "AppDatabase.h" #include "AppDatabase.h"
#include "program.h"
#include "loadlevel.h" #include "loadlevel.h"
#include "special_face.h" #include "special_face.h"
#include "boa.h" #include "boa.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
struct spec_vertex { struct spec_vertex {
float x, y; float x, y;

View File

@ -30,6 +30,7 @@
#include "lightmap_info.h" #include "lightmap_info.h"
#include "object_lighting.h" #include "object_lighting.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
void ComputeObjectSurfaceRes(rad_surface *surf, object *obj, int subnum, int facenum) { void ComputeObjectSurfaceRes(rad_surface *surf, object *obj, int subnum, int facenum) {
int i; int i;

View File

@ -199,7 +199,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <memory.h> #include "mono.h"
#include "radiosity.h" #include "radiosity.h"
#include "rad_cast.h" #include "rad_cast.h"
#include "terrain.h" #include "terrain.h"

View File

@ -26,6 +26,7 @@
#include "d3edit.h" #include "d3edit.h"
#include "ddio.h" #include "ddio.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include <stdlib.h> #include <stdlib.h>
#include <algorithm> #include <algorithm>

View File

@ -29,6 +29,7 @@
#include "vecmat.h" #include "vecmat.h"
#include <stdlib.h> #include <stdlib.h>
#include "mem.h" #include "mem.h"
#include "mono.h"
// Some radiosity globals // Some radiosity globals
int Shoot_method = SM_HEMICUBE; int Shoot_method = SM_HEMICUBE;

View File

@ -266,8 +266,8 @@
#include "EditLineDialog.h" #include "EditLineDialog.h"
#include "hlsoundlib.h" #include "hlsoundlib.h"
#include "mem.h" #include "mem.h"
#include "mono.h"
#include "damage_external.h" #include "damage_external.h"
#include "boa.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW