mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
New code style refactor
This commit is contained in:
@@ -4,24 +4,20 @@
|
||||
#include "CToken.hpp"
|
||||
#include "zeus/CVector2f.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
class CTexture;
|
||||
|
||||
class CFontImageDef
|
||||
{
|
||||
class CFontImageDef {
|
||||
public:
|
||||
float x0_fps;
|
||||
std::vector<TLockedToken<CTexture>> x4_texs;
|
||||
zeus::CVector2f x14_cropFactor;
|
||||
float x0_fps;
|
||||
std::vector<TLockedToken<CTexture>> x4_texs;
|
||||
zeus::CVector2f x14_cropFactor;
|
||||
|
||||
CFontImageDef(const std::vector<TToken<CTexture>>& texs, float fps,
|
||||
const zeus::CVector2f& cropFactor);
|
||||
CFontImageDef(const TToken<CTexture>& tex, const zeus::CVector2f& cropFactor);
|
||||
bool IsLoaded() const;
|
||||
s32 CalculateBaseline() const;
|
||||
s32 CalculateHeight() const;
|
||||
CFontImageDef(const std::vector<TToken<CTexture>>& texs, float fps, const zeus::CVector2f& cropFactor);
|
||||
CFontImageDef(const TToken<CTexture>& tex, const zeus::CVector2f& cropFactor);
|
||||
bool IsLoaded() const;
|
||||
s32 CalculateBaseline() const;
|
||||
s32 CalculateHeight() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user