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