Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/GameEngine/Source/GameNetwork/GameSpy/PeerDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@


GameSpyInfoInterface *TheGameSpyInfo = nullptr;
extern GameSpyStagingRoom *TheGameSpyGame = nullptr;
GameSpyStagingRoom *TheGameSpyGame = nullptr;
void deleteNotificationBox();

bool AsciiComparator::operator()(AsciiString s1, AsciiString s2) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ void GameFileClass::Close()
///////////////////////////////////////////////////////////////////////////////////////////////////
// W3DFileSystem Class ////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
extern W3DFileSystem *TheW3DFileSystem = nullptr;
W3DFileSystem *TheW3DFileSystem = nullptr;

//-------------------------------------------------------------------------------------------------
/** Constructor. Creating an instance of this class overrides the default
Expand Down
2 changes: 1 addition & 1 deletion Generals/Code/Tools/WorldBuilder/src/LayersList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,4 +870,4 @@ END_MESSAGE_MAP()
std::string LayersList::TheDefaultLayerName = "Default Layer";
std::string LayersList::TheDefaultNewLayerName = "New Layer";
const std::string LayersList::TheUnmutableDefaultLayerName = "Default Layer";
extern LayersList *TheLayersList = nullptr;
LayersList *TheLayersList = nullptr;
2 changes: 1 addition & 1 deletion Generals/Code/Tools/WorldBuilder/src/RampOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void RampOptions::OnWidthChange()
m_rampWidth = atof(str.GetBuffer(0));
}

extern RampOptions* TheRampOptions = nullptr;
RampOptions* TheRampOptions = nullptr;

BEGIN_MESSAGE_MAP(RampOptions, COptionsPanel)
ON_BN_CLICKED(IDC_RO_APPLY, OnApply)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void GameFileClass::Close()
///////////////////////////////////////////////////////////////////////////////////////////////////
// W3DFileSystem Class ////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
extern W3DFileSystem *TheW3DFileSystem = nullptr;
W3DFileSystem *TheW3DFileSystem = nullptr;

//-------------------------------------------------------------------------------------------------
/** Constructor. Creating an instance of this class overrides the default
Expand Down
2 changes: 1 addition & 1 deletion GeneralsMD/Code/Tools/WorldBuilder/src/LayersList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1343,4 +1343,4 @@ std::string LayersList::TheDefaultNewLayerName = "New Layer";
std::string LayersList::ThePolygonTriggerLayerName = "Default Trigger Layer";
std::string LayersList::TheActiveLayerName;
const std::string LayersList::TheUnmutableDefaultLayerName = "Default Object Layer";
extern LayersList *TheLayersList = nullptr;
LayersList *TheLayersList = nullptr;
2 changes: 1 addition & 1 deletion GeneralsMD/Code/Tools/WorldBuilder/src/RampOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void RampOptions::OnWidthChange()
m_rampWidth = atof(str.GetBuffer(0));
}

extern RampOptions* TheRampOptions = nullptr;
RampOptions* TheRampOptions = nullptr;

BEGIN_MESSAGE_MAP(RampOptions, COptionsPanel)
ON_BN_CLICKED(IDC_RO_APPLY, OnApply)
Expand Down
Loading