Skip to content

Commit

Permalink
Move Panorama-related classes to Source/Panorama directory
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Jan 29, 2025
1 parent 5a1974d commit 9971ff5
Show file tree
Hide file tree
Showing 62 changed files with 177 additions and 169 deletions.
2 changes: 1 addition & 1 deletion Source/Features/Common/InWorldPanels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <Features/Visuals/PlayerInfoInWorld/PlayerInfoInWorldPanelFactory.h>
#include <Features/Visuals/PlayerInfoInWorld/PlayerInfoPanel.h>
#include <Features/Visuals/PlayerInfoInWorld/PlayerInfoPanelCache.h>
#include <GameClasses/PanelHandle.h>
#include <Panorama/PanelHandle.h>
#include "InWorldPanelIndex.h"
#include "InWorldPanelListEntry.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/Features/Common/InWorldPanelsUnloadHandler.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <GameClasses/PanoramaUiEngine.h>
#include <Panorama/PanoramaUiEngine.h>

template <typename HookContext>
struct InWorldPanelsUnloadHandler {
Expand Down
8 changes: 4 additions & 4 deletions Source/Features/Hud/BombTimer/BombTimerContext.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include <CS2/Constants/ColorConstants.h>
#include <GameClasses/PanoramaImagePanel.h>
#include <GameClasses/PanoramaLabel.h>
#include <GameClasses/PanoramaUiEngine.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaImagePanel.h>
#include <Panorama/PanoramaLabel.h>
#include <Panorama/PanoramaUiEngine.h>
#include <Panorama/PanoramaUiPanel.h>
#include <Utils/Lvalue.h>

#include "BombSiteIconPanel.h"
Expand Down
6 changes: 3 additions & 3 deletions Source/Features/Hud/BombTimer/BombTimerPanelParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>

#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelFontParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelFontParams.h>
#include <Panorama/PanelMarginParams.h>

namespace bomb_timer_panel_params::container_panel_params
{
Expand Down
6 changes: 3 additions & 3 deletions Source/Features/Hud/DefusingAlert/DefusingAlertPanelParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <CS2/Panorama/CUILength.h>
#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/StyleEnums.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelFontParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelFontParams.h>
#include <Panorama/PanelMarginParams.h>

namespace defusing_alert_panel_params::timer_text_panel_params
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Features/Hud/PostRoundTimer/PostRoundTimerContext.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <GameClasses/PanelHandle.h>
#include <Panorama/PanelHandle.h>

#include "PostRoundTimerCondition.h"
#include "PostRoundTimerPanel.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>
#include <GameClasses/PanelFontParams.h>
#include <Panorama/PanelFontParams.h>

namespace post_round_timer_panel_params::container_panel_params
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Features/Sound/Details/SoundVisualizationFeature.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <FeatureHelpers/PanoramaTransformations.h>
#include <Panorama/PanoramaTransformations.h>
#include <FeatureHelpers/Sound/SoundWatcher.h>
#include <FeatureHelpers/FeatureToggle.h>
#include <Hooks/ViewRenderHook.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/CUIPanel.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>
#include <Utils/Lvalue.h>

#include "SoundVisualizationPanelProperties.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelFontParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelFontParams.h>
#include <Panorama/PanelMarginParams.h>

namespace active_weapon_ammo_panel_params::container_panel_params
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "PlayerActiveWeaponAmmoPanelContext.h"
#include <GameClasses/PanoramaLabel.h>
#include <Panorama/PanoramaLabel.h>

template <typename HookContext, typename Context = PlayerActiveWeaponAmmoPanelContext<HookContext>>
class PlayerActiveWeaponAmmoPanel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelMarginParams.h>

namespace player_health_panel_params::container_panel_params
{
Expand Down
6 changes: 3 additions & 3 deletions Source/Features/Visuals/PlayerInfoInWorld/PlayerInfoInWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#include <Entities/PlayerPawn.h>
#include <Features/Common/InWorldPanels.h>
#include <FeatureHelpers/LifeState.h>
#include <FeatureHelpers/PanoramaTransformations.h>
#include <Panorama/PanoramaTransformations.h>
#include <FeatureHelpers/FeatureToggle.h>
#include <FeatureHelpers/TeamNumber.h>
#include <GameClasses/PanoramaLabel.h>
#include <GameClasses/PanoramaImagePanel.h>
#include <Panorama/PanoramaLabel.h>
#include <Panorama/PanoramaImagePanel.h>
#include <Hooks/ViewRenderHook.h>
#include <Utils/ColorUtils.h>
#include <Utils/CString.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <CS2/Constants/ColorConstants.h>
#include <FeatureHelpers/PanoramaTransformations.h>
#include <GameClasses/PanelFactory.h>
#include <Panorama/PanoramaTransformations.h>
#include <Panorama/PanelFactory.h>

#include "ActiveWeaponAmmo/ActiveWeaponAmmoPanelParams.h"
#include "ActiveWeaponAmmo/PlayerActiveWeaponAmmoPanel.h"
Expand Down
4 changes: 2 additions & 2 deletions Source/Features/Visuals/PlayerInfoInWorld/PlayerInfoPanel.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include <CS2/Panorama/CUIPanel.h>
#include <FeatureHelpers/PanoramaTransformations.h>
#include <Panorama/PanoramaTransformations.h>
#include <FeatureHelpers/ViewToProjectionMatrix.h>
#include <FeatureHelpers/WorldToClipSpaceConverter.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>
#include "PlayerInfoInWorldState.h"
#include "PlayerInfoPanelCacheEntry.h"
#include "PlayerInfoPanelTypes.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>

namespace player_position_arrow_panel_params
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <Features/Visuals/PlayerInfoInWorld/PlayerInfoPanelCacheEntry.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>

template <typename HookContext>
class PlayerStateIconsPanelContext {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelMarginParams.h>

namespace player_state_icons_panel_params::container_panel_params
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelMarginParams.h>

namespace active_weapon_icon_panel_params
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <Common/Visibility.h>
#include <Entities/C4.h>
#include <GameClasses/PanoramaImagePanel.h>
#include <Panorama/PanoramaImagePanel.h>
#include <Utils/CString.h>
#include "PlayerActiveWeaponIconPanelContext.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <CS2/Panorama/CUIPanel.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>

template <typename HookContext>
class PlayerActiveWeaponIconPanelContext {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <CS2/Panorama/CUIPanel.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>

template <typename HookContext>
class PlayerBombIconPanelContext {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include <CS2/Constants/ColorConstants.h>
#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>
#include <FeatureHelpers/PanelShadowParams.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelShadowParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelMarginParams.h>

namespace player_bomb_icon_panel_params::bomb_icon_panel_params
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include <CS2/Panorama/CUILength.h>
#include <CS2/Panorama/StyleEnums.h>
#include <GameClasses/PanelAlignmentParams.h>
#include <GameClasses/PanelMarginParams.h>
#include <Panorama/PanelAlignmentParams.h>
#include <Panorama/PanelMarginParams.h>

namespace player_weapon_icon_panel_params
{
Expand Down
2 changes: 1 addition & 1 deletion Source/GameClasses/Hud/DeathNoticeContext.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <CS2/Panorama/CUIPanel.h>
#include <GameClasses/PanoramaUiPanel.h>
#include <Panorama/PanoramaUiPanel.h>

template <typename HookContext>
struct DeathNoticeContext {
Expand Down
2 changes: 1 addition & 1 deletion Source/GameClasses/Hud/HudContext.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <GameClasses/PanelHandle.h>
#include <Panorama/PanelHandle.h>

template <typename HookContext>
struct HudContext {
Expand Down
4 changes: 2 additions & 2 deletions Source/GameDependencies/GameDependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#include "GlowSceneObjectDeps.h"
#include "HudDeps.h"
#include "MemAllocDeps.h"
#include "PanoramaSymbols.h"

#include <FeatureHelpers/StylePropertiesSymbolsAndVMTs.h>
#include <Panorama/PanoramaSymbols.h>
#include <Panorama/StylePropertiesSymbolsAndVMTs.h>

#include <MemoryPatterns/MemoryPatterns.h>
#include <Platform/VmtFinder.h>
Expand Down
4 changes: 2 additions & 2 deletions Source/HookDependencies/HookDependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include <GameClasses/FileSystem.h>
#include <GameClasses/Hud/Hud.h>
#include <GameClasses/Hud/HudContext.h>
#include <GameClasses/PanelFactory.h>
#include <Panorama/PanelFactory.h>
#include <GameClasses/GlobalVars.h>
#include <Helpers/PanoramaTransformFactory.h>
#include <Panorama/PanoramaTransformFactory.h>

struct BombStatusPanelState;
struct FeaturesStates;
Expand Down
2 changes: 1 addition & 1 deletion Source/Hud/BombStatus/BombStatusPanelContext.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <GameClasses/PanelHandle.h>
#include <Panorama/PanelHandle.h>

template <typename HookContext>
struct BombStatusPanelContext {
Expand Down
Loading

0 comments on commit 9971ff5

Please sign in to comment.