Skip to content

Commit 615aca6

Browse files
authored
build: Move refcount.h include into WWCommon.h (#1798)
1 parent e2385c5 commit 615aca6

File tree

53 files changed

+721
-758
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+721
-758
lines changed

Core/GameEngine/Include/Common/Debug.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545

4646
#pragma once
4747

48+
#include <Utility/CppMacros.h>
49+
4850
class AsciiString;
4951

5052
#define NO_RELEASE_DEBUG_LOGGING
@@ -190,7 +192,7 @@ class AsciiString;
190192
if (!ignoreCrash) { \
191193
TheCurrentIgnoreCrashPtr = &ignoreCrash; \
192194
DebugCrash m ; \
193-
TheCurrentIgnoreCrashPtr = NULL; \
195+
TheCurrentIgnoreCrashPtr = nullptr; \
194196
} \
195197
} \
196198
} while (0)

Core/Libraries/Source/WWVegas/WW3D2/aabtree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#pragma once
4141

4242
#include "always.h"
43-
#include "refcount.h"
4443
#include "simplevec.h"
4544
#include "vector3.h"
4645
#include "Vector3i.h"

Core/Libraries/Source/WWVegas/WW3D2/font3d.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#pragma once
3636

3737
#include "always.h"
38-
#include "refcount.h"
3938
#include "vector4.h"
4039
#include "widestring.h"
4140
#include "rect.h"

Core/Libraries/Source/WWVegas/WW3D2/hanim.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@
3939

4040
#include "always.h"
4141
#include "quat.h"
42-
#include "refcount.h"
4342
#include "w3d_file.h"
4443
#include "hash.h"
4544
#include "mempool.h"
46-
#include <refcount.h>
4745
#include <SLIST.h>
4846
#include <Vector.h>
4947

Core/Libraries/Source/WWVegas/WW3D2/hcanim.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
#include "always.h"
4141
#include "quat.h"
42-
#include "refcount.h"
4342
#include "w3d_file.h"
4443
#include "SLIST.h"
4544
#include "Vector.h"

Core/Libraries/Source/WWVegas/WW3D2/projector.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
4747

4848
#include "projector.h"
49-
#include "refcount.h"
5049
#include "matrixmapper.h"
5150

5251

Core/Libraries/Source/WWVegas/WW3D2/render2dsentence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737
#pragma once
3838

39+
#include "always.h"
3940
#include "render2d.h"
40-
#include "refcount.h"
4141
#include "Vector.h"
4242
#include "vector2i.h"
4343
#include "wwstring.h"

Core/Libraries/Source/WWVegas/WW3D2/rendobj.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#pragma once
4242

4343
#include "always.h"
44-
#include "refcount.h"
4544
#include "sphere.h"
4645
#include "coltype.h"
4746
#include "aabox.h"

Core/Libraries/Source/WWVegas/WW3D2/snapPts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
#pragma once
3838

39-
#include "refcount.h"
39+
#include "always.h"
4040
#include "Vector.h"
4141
#include "vector3.h"
4242
#include "w3derr.h"

Core/Libraries/Source/WWVegas/WW3D2/surfaceclass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838

3939
#pragma once
4040

41+
#include "always.h"
4142
#include "ww3dformat.h"
42-
#include "refcount.h"
4343

4444
struct IDirect3DSurface8;
4545
class Vector2i;

0 commit comments

Comments
 (0)