mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-30 04:24:17 +00:00
* Add script to verify formatting * Add newline to end of files * Add `#pragma once` to top of headers * Add own header to includes at top of source files * Remove useless namespace qualifiers * Sort visibility modifiers correctly * Format `#include`s in three blocks * Remove `;` after namespaces * Add for custom style checking to `lint`-GitHub-Action * Format: No "// 0x" offset comments * Remove macros from padding
25 lines
462 B
C++
25 lines
462 B
C++
#pragma once
|
|
|
|
namespace al {
|
|
|
|
class GraphicsSystemInfo;
|
|
class ShadowMaskCtrl;
|
|
class DepthShadowMapCtrl;
|
|
|
|
class ShadowKeeper {
|
|
public:
|
|
ShadowKeeper();
|
|
void initAfterPlacement(GraphicsSystemInfo*);
|
|
void update();
|
|
bool isHide() const;
|
|
void hide();
|
|
void show();
|
|
|
|
private:
|
|
ShadowMaskCtrl* mShadowMaskCtrl = nullptr;
|
|
DepthShadowMapCtrl* mDepthShadowMapCtrl = nullptr;
|
|
};
|
|
static_assert(sizeof(ShadowKeeper) == 0x10);
|
|
|
|
} // namespace al
|