metaforce/Runtime/MP1/CFaceplateDecoration.hpp

27 lines
504 B
C++
Raw Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2017-02-11 19:17:18 -08:00
#include <optional>
#include "Runtime/CToken.hpp"
#include "Runtime/RetroTypes.hpp"
#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:
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