1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Aliased several methods for textdraw entity type. Also a minor fix in debuggin information during registration.

This commit is contained in:
Sandu Liviu Catalin 2015-11-11 09:55:38 +02:00
parent ba1f933e7b
commit fc603053dd

View File

@ -467,10 +467,12 @@ bool Register_CTextdraw(HSQUIRRELVM vm)
.Prop(_SC("text"), &CTextdraw::GetText)
/* Functions */
.Func(_SC("show_all"), &CTextdraw::ShowAll)
.Func(_SC("show_to"), &CTextdraw::ShowFor)
.Func(_SC("show_for"), &CTextdraw::ShowFor)
.Func(_SC("show_range"), &CTextdraw::ShowRange)
.Func(_SC("hide_all"), &CTextdraw::HideAll)
.Func(_SC("hide_for"), &CTextdraw::HideFor)
.Func(_SC("hide_from"), &CTextdraw::HideFor)
.Func(_SC("hide_range"), &CTextdraw::HideRange)
/* Overloads */
.Overload< void (CTextdraw::*)(const Vector2i &) const >
@ -497,7 +499,7 @@ bool Register_CTextdraw(HSQUIRRELVM vm)
// Output debugging information
LogDbg("Registration of <CTextdraw> type was successful");
// Output debugging information
LogDbg("Beginning registration of <Textdraw functions> type");
LogDbg("Beginning registration of <Textdraw> functions");
// Register global functions related to this entity type
Sqrat::RootTable(vm)
/* Create BaseTextdraw [E]xtended [S]ubstitute */
@ -541,7 +543,7 @@ bool Register_CTextdraw(HSQUIRRELVM vm)
.Overload< CTextdraw (*)(SQInt32, const SQChar *, const Vector2i &, const Color4 &, bool, SQInt32, SqObj &) >
(_SC("CreateTextdraw_CF"), &CreateTextdraw_CF);
// Output debugging information
LogDbg("Registration of <Textdraw functions> type was successful");
LogDbg("Registration of <Textdraw> functions was successful");
// Registration succeeded
return true;
}