changed more stuff to pragma once

This commit is contained in:
maverickdgg 2022-09-13 15:36:34 +08:00
parent 8842269c6d
commit f342fdcb95
11 changed files with 15 additions and 39 deletions

View File

@ -115,6 +115,7 @@
<ClInclude Include="src\ECS_Base\Managers\SHSystemManager.h" />
<ClInclude Include="src\ECS_Base\SHECSMacros.h" />
<ClInclude Include="src\ECS_Base\System\SHSystem.h" />
<ClInclude Include="src\ECS_Base\System\SHSystemRoutine.h" />
<ClInclude Include="src\Engine\SHEngine.h" />
<ClInclude Include="src\Filesystem\SHFileSystem.h" />
<ClInclude Include="src\Graphics\Buffers\SHVkBuffer.h" />

View File

@ -385,6 +385,7 @@
<ClInclude Include="src\Tools\SHUtilities.h">
<Filter>Tools</Filter>
</ClInclude>
<ClInclude Include="src\ECS_Base\System\SHSystemRoutine.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\ECS_Base\Components\SHComponent.cpp">

View File

@ -117,4 +117,3 @@ namespace SHADE
};
}
#endif

View File

@ -11,8 +11,7 @@
consent of DigiPen Institute of Technology is prohibited.
*********************************************************************/
#ifndef SH_FAMILY_H
#define SH_FAMILY_H
#pragma once
#include "../SHECSMacros.h"
@ -81,8 +80,4 @@ namespace SHADE
template<typename BaseClass>
ComponentTypeID SHFamilyID<BaseClass>::currentID = 0;
}
#endif
}

View File

@ -11,8 +11,7 @@
or disclosure of this file or its contents without the prior written
consent of DigiPen Institute of Technology is prohibited.
*********************************************************************/
#ifndef SH_HANDLE_GENERATOR_H
#define SH_HANDLE_GENERATOR_H
#pragma once
#include <vector>
#include <iostream>
@ -299,7 +298,4 @@ namespace SHADE
typedef SHHandleGenerator<EntityID, EntityIndex> EntityHandleGenerator;
}
#endif
}

View File

@ -43,7 +43,4 @@ namespace SHADE
};
}
#endif
}

View File

@ -350,6 +350,4 @@ namespace SHADE
}
};
}
#endif
}

View File

@ -242,6 +242,3 @@ namespace SHADE
};
}
#endif

View File

@ -10,9 +10,7 @@
consent of DigiPen Institute of Technology is prohibited.
*********************************************************************/
#ifndef SH_SYSTEM_MANAGER_H
#define SH_SYSTEM_MANAGER_H
#pragma once
#include <unordered_map>
@ -119,8 +117,4 @@ namespace SHADE
};
}
#endif
}

View File

@ -8,10 +8,7 @@
consent of DigiPen Institute of Technology is prohibited.
*********************************************************************/
#ifndef SH_SYSTEM_H
#define SH_SYSTEM_H
#pragma once
namespace SHADE
{
@ -90,6 +87,4 @@ namespace SHADE
};
}
#endif
}

View File

@ -1 +1,4 @@
#pragma once