CCharAnimTime fixes

Add IRuntimeMain to simplify editor integration
This commit is contained in:
Phillip Stephens 2016-02-26 23:59:11 -08:00
parent 45c76dc9c1
commit ea9938e88b
2 changed files with 16 additions and 1 deletions

View File

@ -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)

14
Runtime/IRuntimeMain.hpp Normal file
View File

@ -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