mirror of https://github.com/AxioDL/metaforce.git
CCharAnimTime fixes
Add IRuntimeMain to simplify editor integration
This commit is contained in:
parent
45c76dc9c1
commit
ea9938e88b
|
@ -183,11 +183,12 @@ public:
|
||||||
ret.m_unk = 2;
|
ret.m_unk = 2;
|
||||||
else
|
else
|
||||||
ret.m_unk = 1;
|
ret.m_unk = 1;
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCharAnimTime operator*(const float& other)
|
CCharAnimTime operator*(const float& other)
|
||||||
{
|
{
|
||||||
return CCharAnimTime;
|
return CCharAnimTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
float operator/(const CCharAnimTime& other)
|
float operator/(const CCharAnimTime& other)
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#ifndef IRUNTIMEMAIN_HPP
|
||||||
|
#define IRUNTIMEMAIN_HPP
|
||||||
|
|
||||||
|
namespace pshag
|
||||||
|
{
|
||||||
|
struct IRuntimeMain
|
||||||
|
{
|
||||||
|
void init() = 0;
|
||||||
|
int proc() = 0;
|
||||||
|
void stop() = 0;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // IRUNTIMEMAIN_HPP
|
Loading…
Reference in New Issue