Skip to content

Commit

Permalink
Remove misc includes to reduce compile time
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon committed Feb 15, 2024
1 parent 528a537 commit d5484cf
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/game/common/audio/audioeventinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
#pragma once

#include "asciistring.h"
#include "bitflags.h"
#include "ini.h"
#include "mempoolobj.h"
Expand Down
3 changes: 0 additions & 3 deletions src/game/common/bitflags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,3 @@ const char *BitFlags<MODELCONDITION_COUNT>::s_bitNamesList[] = {
"DISGUISED",
nullptr,
};

// TODO Temp to force instantiation. Fixes issue with Parameter::Read_Parameter.
// template class BitFlags<KIND_OF_COUNT>;
1 change: 0 additions & 1 deletion src/game/common/gamemain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* LICENSE
*/
#include "gamemain.h"
#include "bitflags.h"
#include "disabledtypes.h"
#include "main.h"
#include "win32gameengine.h"
Expand Down
1 change: 0 additions & 1 deletion src/game/logic/scriptengine/scriptparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#pragma once

#include "always.h"
#include "asciistring.h"
#include "bitflags.h"
#include "coord.h"
#include "datachunk.h"
Expand Down
1 change: 0 additions & 1 deletion src/game/logic/system/gamelogic.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#pragma once

#include "always.h"
#include "asciistring.h"
#include "bitflags.h"
#include "gametype.h"
#include "rtsutils.h"
Expand Down
4 changes: 0 additions & 4 deletions src/w3d/renderer/rddesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
#include "w3dtypes.h"
#include "wwstring.h"

#ifdef BUILD_WITH_D3D8
#include <d3d8.h>
#endif

class ResolutionDescClass
{
public:
Expand Down

0 comments on commit d5484cf

Please sign in to comment.