1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-12-11 10:37:18 +01:00

Initial commit.

This commit is contained in:
Sandu Liviu Catalin
2015-09-30 03:56:11 +03:00
parent 4bd8e68a7b
commit 6ed02d0fd4
118 changed files with 23795 additions and 0 deletions

28
source/Entity/Blip.cpp Normal file
View File

@@ -0,0 +1,28 @@
#include "Entity/Blip.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
// ------------------------------------------------------------------------------------------------
bool Register_CBlip(HSQUIRRELVM vm)
{
if (!Register_Reference< CBlip >(vm, _SC("BaseBlip")))
{
LogDbg("Unable to register the base class <BaseBlip> for <CBlip> type");
return false;
}
LogDbg("Beginning registration of <CBlip> type");
Sqrat::RootTable(vm).Bind(_SC("CBlip"), Sqrat::DerivedClass< CBlip, Reference< CBlip > >(vm, _SC("CBlip"))
.Ctor()
.Ctor< SQInt32 >()
);
LogDbg("Registration of <CBlip> type was successful");
return true;
}
} // Namespace:: SqMod