2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-02-12 03:17:18 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <optional>
|
|
|
|
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
|
|
|
#include "Runtime/Graphics/Shaders/CTexturedQuadFilter.hpp"
|
2017-02-12 03:17:18 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2017-02-12 03:17:18 +00:00
|
|
|
class CStateManager;
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace MP1 {
|
|
|
|
|
|
|
|
class CFaceplateDecoration {
|
|
|
|
CAssetId x0_id;
|
|
|
|
TToken<CTexture> x4_tex;
|
|
|
|
bool xc_ready = false;
|
2019-06-12 02:05:17 +00:00
|
|
|
std::optional<CTexturedQuadFilter> m_texFilter;
|
2017-02-12 03:17:18 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CFaceplateDecoration(CStateManager& stateMgr);
|
2018-12-08 05:30:43 +00:00
|
|
|
void Update(float dt, CStateManager& stateMgr);
|
|
|
|
void Draw(CStateManager& stateMgr);
|
2017-02-12 03:17:18 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace MP1
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|