Small fixes
This commit is contained in:
parent
2d0edc357e
commit
8552c30366
@ -97,6 +97,9 @@ namespace spades {
|
||||
ptr = NULL;
|
||||
return p;
|
||||
}
|
||||
operator bool() {
|
||||
return ptr != NULL;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
@ -35,6 +35,7 @@ namespace spades {
|
||||
|
||||
}
|
||||
void Runner::RunProtected() {
|
||||
SPADES_MARK_FUNCTION();
|
||||
std::string err;
|
||||
try{
|
||||
Run();
|
||||
@ -63,6 +64,7 @@ namespace spades {
|
||||
}
|
||||
}
|
||||
void Runner::Run() {
|
||||
SPADES_MARK_FUNCTION();
|
||||
class ConcreteRunner: public SDLRunner {
|
||||
Runner *r;
|
||||
protected:
|
||||
|
@ -63,7 +63,7 @@ namespace spades {
|
||||
asCALL_THISCALL);
|
||||
manager->CheckError(r);
|
||||
r = eng->RegisterObjectMethod("Font",
|
||||
"void DrawShadow(const string& in, const Vector2& in, float, const Vector4& in)",
|
||||
"void DrawShadow(const string& in, const Vector2& in, float, const Vector4& in, const Vector4& in)",
|
||||
asMETHOD(client::IFont, DrawShadow),
|
||||
asCALL_THISCALL);
|
||||
manager->CheckError(r);
|
||||
|
Loading…
x
Reference in New Issue
Block a user