mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02:00
Update the module API and merge shared code between modules and host plugin.
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
#include "Base/Quaternion.hpp"
|
||||
#include "Base/Vector2.hpp"
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Base/Stack.hpp"
|
||||
#include "Core.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@ -1626,7 +1625,7 @@ void Register_CVehicle(HSQUIRRELVM vm)
|
||||
{
|
||||
RootTable(vm).Bind(_SC("SqVehicle"),
|
||||
Class< CVehicle, NoConstructor< CVehicle > >(vm, _SC("SqVehicle"))
|
||||
// Metamethods
|
||||
// Meta-methods
|
||||
.Func(_SC("_cmp"), &CVehicle::Cmp)
|
||||
.SquirrelFunc(_SC("_typename"), &CVehicle::Typename)
|
||||
.Func(_SC("_tostring"), &CVehicle::ToString)
|
||||
|
Reference in New Issue
Block a user