Skip to content

Commit

Permalink
Move Helpers directory contents to directories they fit more
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Jan 29, 2025
1 parent d2117d7 commit 4082cbb
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 27 deletions.
4 changes: 2 additions & 2 deletions Source/GlobalContext/FullGlobalContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include <Features/FeaturesUnloadHandler.h>
#include <Features/Visuals/ModelGlow/Preview/PlayerModelGlowPreviewState.h>
#include <Features/Visuals/PlayerInfoInWorld/PlayerInfoPanelCacheState.h>
#include <Helpers/PatternNotFoundLogger.h>
#include <Helpers/UnloadFlag.h>
#include <MemorySearch/PatternNotFoundLogger.h>
#include "UnloadFlag.h"
#include <Hooks/Hooks.h>
#include <Hooks/PeepEventsHook.h>
#include <Hud/BombStatus/BombStatusPanelManager.h>
Expand Down
2 changes: 1 addition & 1 deletion Source/GlobalContext/GlobalContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <CS2/Constants/DllNames.h>
#include <Features/Visuals/ModelGlow/Preview/PlayerModelGlowPreview.h>
#include <Features/Common/InWorldPanelsUnloadHandler.h>
#include <Helpers/PatternNotFoundLogger.h>
#include <MemorySearch/PatternNotFoundLogger.h>
#include <MemoryAllocation/FreeMemoryRegionList.h>
#include <MemorySearch/PatternFinder.h>
#include <Platform/DynamicLibrary.h>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Source/MemoryPatterns/PatternFinders.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <MemorySearch/PatternFinder.h>
#include <Helpers/PatternNotFoundLogger.h>
#include <MemorySearch/PatternNotFoundLogger.h>

struct PatternFinders {
PatternFinder<PatternNotFoundLogger> clientPatternFinder;
Expand Down
2 changes: 1 addition & 1 deletion Source/MemorySearch/PatternFinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "BytePattern.h"
#include "BytePatternView.h"
#include <Helpers/PatternNotFoundLogger.h>
#include "PatternNotFoundLogger.h"
#include "HybridPatternFinder.h"
#include "PatternPoolView.h"
#include "PatternSearchResults.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/MemorySearch/PatternFinderSIMD.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "BytePattern.h"
#include <emmintrin.h>

#include <Helpers/Bits.h>
#include <Utils/Bits.h>

class PatternFinderSIMD {
public:
Expand Down
File renamed without changes.
7 changes: 3 additions & 4 deletions Source/Osiris.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,7 @@
<ClInclude Include="GlobalContext\GlobalContext.h" />
<ClInclude Include="GlobalContext\PartialGlobalContext.h" />
<ClInclude Include="GlobalContext\PeepEventsHookResult.h" />
<ClInclude Include="Helpers\Bits.h" />
<ClInclude Include="Helpers\PanoramaTransformFactory.h" />
<ClInclude Include="Helpers\PatternNotFoundLogger.h" />
<ClInclude Include="Helpers\UnloadFlag.h" />
<ClInclude Include="GlobalContext\UnloadFlag.h" />
<ClInclude Include="HookDependencies\HookDependencies.h" />
<ClInclude Include="Hooks\Hooks.h" />
<ClInclude Include="Hooks\PeepEventsHook.h" />
Expand Down Expand Up @@ -410,6 +407,7 @@
<ClInclude Include="MemorySearch\PatternFinder.h" />
<ClInclude Include="MemorySearch\PatternFinderScalar.h" />
<ClInclude Include="MemorySearch\PatternFinderSIMD.h" />
<ClInclude Include="MemorySearch\PatternNotFoundLogger.h" />
<ClInclude Include="MemorySearch\PatternPool.h" />
<ClInclude Include="MemorySearch\PatternPoolBuilder.h" />
<ClInclude Include="MemorySearch\PatternPoolView.h" />
Expand Down Expand Up @@ -498,6 +496,7 @@
<ClInclude Include="UI\Panorama\VisualsTab.h" />
<ClInclude Include="Utils\Align.h" />
<ClInclude Include="Utils\BitFlags.h" />
<ClInclude Include="Utils\Bits.h" />
<ClInclude Include="Utils\CharUtils.h" />
<ClInclude Include="Utils\ColorUtils.h" />
<ClInclude Include="Utils\CString.h" />
Expand Down
24 changes: 9 additions & 15 deletions Source/Osiris.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
<Filter Include="GameClasses">
<UniqueIdentifier>{8f279e18-4344-42fb-8c01-6c773341568d}</UniqueIdentifier>
</Filter>
<Filter Include="Helpers">
<UniqueIdentifier>{eaf12914-2d12-4935-aab3-1491b8021bd6}</UniqueIdentifier>
</Filter>
<Filter Include="Hooks">
<UniqueIdentifier>{1ee84f1c-3411-4068-816f-186260cb390d}</UniqueIdentifier>
</Filter>
Expand Down Expand Up @@ -270,15 +267,6 @@
<ClInclude Include="Features\Visuals\VisualFeatures.h">
<Filter>Features\Visuals</Filter>
</ClInclude>
<ClInclude Include="Helpers\Bits.h">
<Filter>Helpers</Filter>
</ClInclude>
<ClInclude Include="Helpers\PatternNotFoundLogger.h">
<Filter>Helpers</Filter>
</ClInclude>
<ClInclude Include="Helpers\UnloadFlag.h">
<Filter>Helpers</Filter>
</ClInclude>
<ClInclude Include="Hooks\PeepEventsHook.h">
<Filter>Hooks</Filter>
</ClInclude>
Expand Down Expand Up @@ -488,9 +476,6 @@
<ClInclude Include="MemoryPatterns\Windows\MemAllocPatternsWindows.h">
<Filter>MemoryPatterns\Windows</Filter>
</ClInclude>
<ClInclude Include="Helpers\PanoramaTransformFactory.h">
<Filter>Helpers</Filter>
</ClInclude>
<ClInclude Include="CS2\Classes\CViewRender.h">
<Filter>CS2\Classes</Filter>
</ClInclude>
Expand Down Expand Up @@ -1793,6 +1778,15 @@
<ClInclude Include="Panorama\StylePropertySymbolMap.h">
<Filter>Panorama</Filter>
</ClInclude>
<ClInclude Include="GlobalContext\UnloadFlag.h">
<Filter>GlobalContext</Filter>
</ClInclude>
<ClInclude Include="MemorySearch\PatternNotFoundLogger.h">
<Filter>MemorySearch</Filter>
</ClInclude>
<ClInclude Include="Utils\Bits.h">
<Filter>Utils</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="UI\Panorama\CreateGUI.js">
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/Panorama/PanoramaCommandDispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <string_view>

#include <Features/Features.h>
#include <Helpers/UnloadFlag.h>
#include <GlobalContext/UnloadFlag.h>
#include <Utils/StringParser.h>

#include "SetCommandHandler.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/Panorama/PanoramaGUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <Panorama/MapPlayerPreviewPanel.h>
#include <Panorama/PanoramaUiEngine.h>
#include <Utils/StringParser.h>
#include <Helpers/UnloadFlag.h>
#include <GlobalContext/UnloadFlag.h>
#include <FeatureHelpers/FeatureToggle.h>

#include "PanoramaCommandDispatcher.h"
Expand Down
File renamed without changes.

0 comments on commit 4082cbb

Please sign in to comment.