mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Restructure some files.
This commit is contained in:
parent
526538fdb9
commit
0ad290ca34
@ -450,8 +450,6 @@
|
||||
<Unit filename="../shared/Base/Buffer.hpp" />
|
||||
<Unit filename="../shared/Base/Plugin.cpp" />
|
||||
<Unit filename="../shared/Base/Utility.hpp" />
|
||||
<Unit filename="../source/Areas.cpp" />
|
||||
<Unit filename="../source/Areas.hpp" />
|
||||
<Unit filename="../source/Base/AABB.cpp" />
|
||||
<Unit filename="../source/Base/AABB.hpp" />
|
||||
<Unit filename="../source/Base/Algo.cpp" />
|
||||
@ -478,16 +476,8 @@
|
||||
<Unit filename="../source/Base/Vector3.hpp" />
|
||||
<Unit filename="../source/Base/Vector4.cpp" />
|
||||
<Unit filename="../source/Base/Vector4.hpp" />
|
||||
<Unit filename="../source/Command.cpp" />
|
||||
<Unit filename="../source/Command.hpp" />
|
||||
<Unit filename="../source/Constants.cpp" />
|
||||
<Unit filename="../source/Core.cpp" />
|
||||
<Unit filename="../source/Core.hpp" />
|
||||
<Unit filename="../source/CoreEntity.cpp" />
|
||||
<Unit filename="../source/CoreEvents.cpp" />
|
||||
<Unit filename="../source/CoreFuncs.cpp" />
|
||||
<Unit filename="../source/CoreInst.cpp" />
|
||||
<Unit filename="../source/CoreUtils.cpp" />
|
||||
<Unit filename="../source/Entity/Blip.cpp" />
|
||||
<Unit filename="../source/Entity/Blip.hpp" />
|
||||
<Unit filename="../source/Entity/Checkpoint.cpp" />
|
||||
@ -502,7 +492,6 @@
|
||||
<Unit filename="../source/Entity/Player.hpp" />
|
||||
<Unit filename="../source/Entity/Vehicle.cpp" />
|
||||
<Unit filename="../source/Entity/Vehicle.hpp" />
|
||||
<Unit filename="../source/Exports.cpp" />
|
||||
<Unit filename="../source/Library/Chrono.cpp" />
|
||||
<Unit filename="../source/Library/Chrono.hpp" />
|
||||
<Unit filename="../source/Library/Chrono/Date.cpp" />
|
||||
@ -550,7 +539,13 @@
|
||||
<Unit filename="../source/Logger.cpp" />
|
||||
<Unit filename="../source/Logger.hpp" />
|
||||
<Unit filename="../source/Main.cpp" />
|
||||
<Unit filename="../source/Misc/Areas.cpp" />
|
||||
<Unit filename="../source/Misc/Areas.hpp" />
|
||||
<Unit filename="../source/Misc/Broadcast.cpp" />
|
||||
<Unit filename="../source/Misc/Command.cpp" />
|
||||
<Unit filename="../source/Misc/Command.hpp" />
|
||||
<Unit filename="../source/Misc/Constants.cpp" />
|
||||
<Unit filename="../source/Misc/Exports.cpp" />
|
||||
<Unit filename="../source/Misc/Functions.cpp" />
|
||||
<Unit filename="../source/Misc/Functions.hpp" />
|
||||
<Unit filename="../source/Misc/Model.cpp" />
|
||||
@ -558,18 +553,18 @@
|
||||
<Unit filename="../source/Misc/Player.cpp" />
|
||||
<Unit filename="../source/Misc/Player.hpp" />
|
||||
<Unit filename="../source/Misc/Register.cpp" />
|
||||
<Unit filename="../source/Misc/Routine.cpp" />
|
||||
<Unit filename="../source/Misc/Routine.hpp" />
|
||||
<Unit filename="../source/Misc/Signal.cpp" />
|
||||
<Unit filename="../source/Misc/Signal.hpp" />
|
||||
<Unit filename="../source/Misc/Tasks.cpp" />
|
||||
<Unit filename="../source/Misc/Tasks.hpp" />
|
||||
<Unit filename="../source/Misc/Vehicle.cpp" />
|
||||
<Unit filename="../source/Misc/Vehicle.hpp" />
|
||||
<Unit filename="../source/Misc/Weapon.cpp" />
|
||||
<Unit filename="../source/Misc/Weapon.hpp" />
|
||||
<Unit filename="../source/Register.cpp" />
|
||||
<Unit filename="../source/Routine.cpp" />
|
||||
<Unit filename="../source/Routine.hpp" />
|
||||
<Unit filename="../source/Signal.cpp" />
|
||||
<Unit filename="../source/Signal.hpp" />
|
||||
<Unit filename="../source/SqBase.hpp" />
|
||||
<Unit filename="../source/Tasks.cpp" />
|
||||
<Unit filename="../source/Tasks.hpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
|
@ -1,8 +1,11 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include "Signal.hpp"
|
||||
#include "SqMod.h"
|
||||
#include "Misc/Signal.hpp"
|
||||
#include "Misc/Areas.hpp"
|
||||
#include "Misc/Signal.hpp"
|
||||
#include "Base/Buffer.hpp"
|
||||
#include "Library/Utils/Buffer.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Entity/Blip.hpp"
|
||||
@ -14,6 +17,7 @@
|
||||
#include "Entity/Vehicle.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include <SqMod.h>
|
||||
#include <sqstdio.h>
|
||||
#include <sqstdblob.h>
|
||||
#include <sqstdmath.h>
|
||||
@ -28,6 +32,11 @@
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#ifdef GetObject
|
||||
#undef GetObject
|
||||
#endif // ef you MS
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
@ -838,3 +847,12 @@ void Core::CompilerErrorHandler(HSQUIRRELVM /*vm*/, CSStr desc, CSStr src, SQInt
|
||||
}
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Include remaining functionality.
|
||||
*/
|
||||
#include "Core/Inst.inc"
|
||||
#include "Core/Entity.inc"
|
||||
#include "Core/Events.inc"
|
||||
#include "Core/Utils.inc"
|
||||
#include "Core/Funcs.inc"
|
||||
|
@ -1,15 +1,3 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Entity/Blip.hpp"
|
||||
#include "Entity/Checkpoint.hpp"
|
||||
#include "Entity/Keybind.hpp"
|
||||
#include "Entity/Object.hpp"
|
||||
#include "Entity/Pickup.hpp"
|
||||
#include "Entity/Player.hpp"
|
||||
#include "Entity/Vehicle.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -1,10 +1,3 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
#include "Areas.hpp"
|
||||
#include "Signal.hpp"
|
||||
#include "Base/Buffer.hpp"
|
||||
#include "Library/Utils/Buffer.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -1,6 +1,3 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
@ -111,49 +108,49 @@ static LightObj & SqGetReloadPayload()
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static Int32 GetState()
|
||||
static Int32 SqGetState()
|
||||
{
|
||||
return Core::Get().GetState();
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static void SetState(Int32 value)
|
||||
static void SqSetState(Int32 value)
|
||||
{
|
||||
return Core::Get().SetState(value);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool GetAreasEnabled()
|
||||
static bool SqGetAreasEnabled()
|
||||
{
|
||||
return Core::Get().AreasEnabled();
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static void SetAreasEnabled(bool toggle)
|
||||
static void SqSetAreasEnabled(bool toggle)
|
||||
{
|
||||
Core::Get().AreasEnabled(toggle);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static CSStr GetOption(CSStr name)
|
||||
static CSStr SqGetOption(CSStr name)
|
||||
{
|
||||
return Core::Get().GetOption(name);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static CSStr GetOptionOr(CSStr name, CSStr value)
|
||||
static CSStr SqGetOptionOr(CSStr name, CSStr value)
|
||||
{
|
||||
return Core::Get().GetOption(name, value);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static void SetOption(CSStr name, CSStr value)
|
||||
static void SqSetOption(CSStr name, CSStr value)
|
||||
{
|
||||
return Core::Get().SetOption(name, value);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetBlip(Int32 id)
|
||||
static LightObj & SqGetBlip(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_BLIP_POOL))
|
||||
@ -165,7 +162,7 @@ static LightObj & GetBlip(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetCheckpoint(Int32 id)
|
||||
static LightObj & SqGetCheckpoint(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_CHECKPOINT_POOL))
|
||||
@ -177,7 +174,7 @@ static LightObj & GetCheckpoint(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetKeybind(Int32 id)
|
||||
static LightObj & SqGetKeybind(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_KEYBIND_POOL))
|
||||
@ -189,7 +186,7 @@ static LightObj & GetKeybind(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetObject(Int32 id)
|
||||
static LightObj & SqGetObject(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_OBJECT_POOL))
|
||||
@ -201,7 +198,7 @@ static LightObj & GetObject(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetPickup(Int32 id)
|
||||
static LightObj & SqGetPickup(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_PICKUP_POOL))
|
||||
@ -213,7 +210,7 @@ static LightObj & GetPickup(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetPlayer(Int32 id)
|
||||
static LightObj & SqGetPlayer(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_PLAYER_POOL))
|
||||
@ -225,7 +222,7 @@ static LightObj & GetPlayer(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static LightObj & GetVehicle(Int32 id)
|
||||
static LightObj & SqGetVehicle(Int32 id)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_VEHICLE_POOL))
|
||||
@ -237,7 +234,7 @@ static LightObj & GetVehicle(Int32 id)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelBlip(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelBlip(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_BLIP_POOL))
|
||||
@ -249,7 +246,7 @@ static bool DelBlip(Int32 id, Int32 header, LightObj & payload)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelCheckpoint(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelCheckpoint(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_CHECKPOINT_POOL))
|
||||
@ -261,7 +258,7 @@ static bool DelCheckpoint(Int32 id, Int32 header, LightObj & payload)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelKeybind(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelKeybind(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_KEYBIND_POOL))
|
||||
@ -273,7 +270,7 @@ static bool DelKeybind(Int32 id, Int32 header, LightObj & payload)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelObject(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelObject(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_OBJECT_POOL))
|
||||
@ -285,7 +282,7 @@ static bool DelObject(Int32 id, Int32 header, LightObj & payload)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelPickup(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelPickup(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_PICKUP_POOL))
|
||||
@ -297,7 +294,7 @@ static bool DelPickup(Int32 id, Int32 header, LightObj & payload)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static bool DelVehicle(Int32 id, Int32 header, LightObj & payload)
|
||||
static bool SqDelVehicle(Int32 id, Int32 header, LightObj & payload)
|
||||
{
|
||||
// Validate the identifier first
|
||||
if (INVALID_ENTITYEX(id, SQMOD_VEHICLE_POOL))
|
||||
@ -331,26 +328,26 @@ void Register_Core(HSQUIRRELVM vm)
|
||||
.Func(_SC("SetReloadInfo"), &SqSetReloadInfo)
|
||||
.Func(_SC("GetReloadHeader"), &SqGetReloadHeader)
|
||||
.Func(_SC("GetReloadPayload"), &SqGetReloadPayload)
|
||||
.Func(_SC("GetState"), &GetState)
|
||||
.Func(_SC("SetState"), &SetState)
|
||||
.Func(_SC("AreasEnabled"), &GetAreasEnabled)
|
||||
.Func(_SC("SetAreasEnabled"), &SetAreasEnabled)
|
||||
.Func(_SC("GetOption"), &GetOption)
|
||||
.Func(_SC("GetOptionOr"), &GetOptionOr)
|
||||
.Func(_SC("SetOption"), &SetOption)
|
||||
.Func(_SC("GetBlip"), &GetBlip)
|
||||
.Func(_SC("GetCheckpoint"), &GetCheckpoint)
|
||||
.Func(_SC("GetKeybind"), &GetKeybind)
|
||||
.Func(_SC("GetObject"), &GetObject)
|
||||
.Func(_SC("GetPickup"), &GetPickup)
|
||||
.Func(_SC("GetPlayer"), &GetPlayer)
|
||||
.Func(_SC("GetVehicle"), &GetVehicle)
|
||||
.Func(_SC("DestroyBlip"), &DelBlip)
|
||||
.Func(_SC("DestroyCheckpoint"), &DelCheckpoint)
|
||||
.Func(_SC("DestroyKeybind"), &DelKeybind)
|
||||
.Func(_SC("DestroyObject"), &DelObject)
|
||||
.Func(_SC("DestroyPickup"), &DelPickup)
|
||||
.Func(_SC("DestroyVehicle"), &DelVehicle)
|
||||
.Func(_SC("GetState"), &SqGetState)
|
||||
.Func(_SC("SetState"), &SqSetState)
|
||||
.Func(_SC("AreasEnabled"), &SqGetAreasEnabled)
|
||||
.Func(_SC("SetAreasEnabled"), &SqSetAreasEnabled)
|
||||
.Func(_SC("GetOption"), &SqGetOption)
|
||||
.Func(_SC("GetOptionOr"), &SqGetOptionOr)
|
||||
.Func(_SC("SetOption"), &SqSetOption)
|
||||
.Func(_SC("GetBlip"), &SqGetBlip)
|
||||
.Func(_SC("GetCheckpoint"), &SqGetCheckpoint)
|
||||
.Func(_SC("GetKeybind"), &SqGetKeybind)
|
||||
.Func(_SC("GetObject"), &SqGetObject)
|
||||
.Func(_SC("GetPickup"), &SqGetPickup)
|
||||
.Func(_SC("GetPlayer"), &SqGetPlayer)
|
||||
.Func(_SC("GetVehicle"), &SqGetVehicle)
|
||||
.Func(_SC("DestroyBlip"), &SqDelBlip)
|
||||
.Func(_SC("DestroyCheckpoint"), &SqDelCheckpoint)
|
||||
.Func(_SC("DestroyKeybind"), &SqDelKeybind)
|
||||
.Func(_SC("DestroyObject"), &SqDelObject)
|
||||
.Func(_SC("DestroyPickup"), &SqDelPickup)
|
||||
.Func(_SC("DestroyVehicle"), &SqDelVehicle)
|
||||
.Func(_SC("OnPreLoad"), &SqGetPreLoadEvent)
|
||||
.Func(_SC("OnPostLoad"), &SqGetPostLoadEvent)
|
||||
.Func(_SC("OnUnload"), &SqGetUnloadEvent)
|
@ -1,17 +1,3 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
#include "Signal.hpp"
|
||||
#include "Logger.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Entity/Blip.hpp"
|
||||
#include "Entity/Checkpoint.hpp"
|
||||
#include "Entity/Keybind.hpp"
|
||||
#include "Entity/Object.hpp"
|
||||
#include "Entity/Pickup.hpp"
|
||||
#include "Entity/Player.hpp"
|
||||
#include "Entity/Vehicle.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -1,6 +1,3 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Core.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Entity/Blip.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "Base/Color4.hpp"
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Entity/Keybind.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "Base/Quaternion.hpp"
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "Entity/Player.hpp"
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Library/Utils/Buffer.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Areas.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Areas.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include <cstring>
|
||||
|
@ -5,8 +5,8 @@
|
||||
#include "Base/Vector2.hpp"
|
||||
#include "Base/Vector3.hpp"
|
||||
#include "Core.hpp"
|
||||
#include "Areas.hpp"
|
||||
#include "Tasks.hpp"
|
||||
#include "Misc/Areas.hpp"
|
||||
#include "Misc/Tasks.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
@ -43,7 +43,6 @@ PP_OBJECTS= "$(SQ_OBJDIR)/external/Squirrel/Lib/sqstdaux.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/external/Hash/sha3.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/shared/Base/Buffer.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/shared/Base/Plugin.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Areas.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/AABB.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/Algo.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/Circle.$(SQ_OEXT)" \
|
||||
@ -57,14 +56,7 @@ PP_OBJECTS= "$(SQ_OBJDIR)/external/Squirrel/Lib/sqstdaux.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/Vector2i.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/Vector3.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Base/Vector4.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Command.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Constants.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Core.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/CoreEntity.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/CoreEvents.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/CoreFuncs.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/CoreInst.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/CoreUtils.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Blip.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Checkpoint.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Keybind.$(SQ_OEXT)" \
|
||||
@ -72,7 +64,6 @@ PP_OBJECTS= "$(SQ_OBJDIR)/external/Squirrel/Lib/sqstdaux.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Pickup.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Player.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Entity/Vehicle.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Exports.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Library/Chrono.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Library/Chrono/Date.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Library/Chrono/Datetime.$(SQ_OEXT)" \
|
||||
@ -97,17 +88,21 @@ PP_OBJECTS= "$(SQ_OBJDIR)/external/Squirrel/Lib/sqstdaux.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Library/Utils/Buffer.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Logger.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Main.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Areas.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Broadcast.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Command.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Constants.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Exports.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Functions.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Model.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Player.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Register.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Routine.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Signal.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Tasks.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Vehicle.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Misc/Weapon.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Register.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Routine.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Signal.$(SQ_OEXT)" \
|
||||
"$(SQ_OBJDIR)/source/Tasks.$(SQ_OEXT)"
|
||||
"$(SQ_OBJDIR)/source/Register.$(SQ_OEXT)"
|
||||
|
||||
.PHONY := default
|
||||
|
||||
@ -147,7 +142,6 @@ build:
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) -Wno-format -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_EXTDIR)/Hash/sha3.cpp" -o "$(SQ_OBJDIR)/external/Hash/sha3.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SHRDIR)/Base/Buffer.cpp" -o "$(SQ_OBJDIR)/shared/Base/Buffer.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SHRDIR)/Base/Plugin.cpp" -o "$(SQ_OBJDIR)/shared/Base/Plugin.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Areas.cpp" -o "$(SQ_OBJDIR)/source/Areas.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/AABB.cpp" -o "$(SQ_OBJDIR)/source/Base/AABB.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/Algo.cpp" -o "$(SQ_OBJDIR)/source/Base/Algo.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/Circle.cpp" -o "$(SQ_OBJDIR)/source/Base/Circle.$(SQ_OEXT)"
|
||||
@ -161,14 +155,7 @@ build:
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/Vector2i.cpp" -o "$(SQ_OBJDIR)/source/Base/Vector2i.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/Vector3.cpp" -o "$(SQ_OBJDIR)/source/Base/Vector3.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Base/Vector4.cpp" -o "$(SQ_OBJDIR)/source/Base/Vector4.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Command.cpp" -o "$(SQ_OBJDIR)/source/Command.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Constants.cpp" -o "$(SQ_OBJDIR)/source/Constants.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Core.cpp" -o "$(SQ_OBJDIR)/source/Core.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/CoreEntity.cpp" -o "$(SQ_OBJDIR)/source/CoreEntity.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/CoreEvents.cpp" -o "$(SQ_OBJDIR)/source/CoreEvents.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/CoreFuncs.cpp" -o "$(SQ_OBJDIR)/source/CoreFuncs.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/CoreInst.cpp" -o "$(SQ_OBJDIR)/source/CoreInst.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/CoreUtils.cpp" -o "$(SQ_OBJDIR)/source/CoreUtils.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Blip.cpp" -o "$(SQ_OBJDIR)/source/Entity/Blip.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Checkpoint.cpp" -o "$(SQ_OBJDIR)/source/Entity/Checkpoint.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Keybind.cpp" -o "$(SQ_OBJDIR)/source/Entity/Keybind.$(SQ_OEXT)"
|
||||
@ -176,7 +163,6 @@ build:
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Pickup.cpp" -o "$(SQ_OBJDIR)/source/Entity/Pickup.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Player.cpp" -o "$(SQ_OBJDIR)/source/Entity/Player.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Entity/Vehicle.cpp" -o "$(SQ_OBJDIR)/source/Entity/Vehicle.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Exports.cpp" -o "$(SQ_OBJDIR)/source/Exports.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Library/Chrono.cpp" -o "$(SQ_OBJDIR)/source/Library/Chrono.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Library/Chrono/Date.cpp" -o "$(SQ_OBJDIR)/source/Library/Chrono/Date.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Library/Chrono/Datetime.cpp" -o "$(SQ_OBJDIR)/source/Library/Chrono/Datetime.$(SQ_OEXT)"
|
||||
@ -201,17 +187,21 @@ build:
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Library/Utils/Buffer.cpp" -o "$(SQ_OBJDIR)/source/Library/Utils/Buffer.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Logger.cpp" -o "$(SQ_OBJDIR)/source/Logger.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Main.cpp" -o "$(SQ_OBJDIR)/source/Main.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Areas.cpp" -o "$(SQ_OBJDIR)/source/Misc/Areas.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Broadcast.cpp" -o "$(SQ_OBJDIR)/source/Misc/Broadcast.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Command.cpp" -o "$(SQ_OBJDIR)/source/Misc/Command.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Constants.cpp" -o "$(SQ_OBJDIR)/source/Misc/Constants.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Exports.cpp" -o "$(SQ_OBJDIR)/source/Misc/Exports.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Functions.cpp" -o "$(SQ_OBJDIR)/source/Misc/Functions.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Model.cpp" -o "$(SQ_OBJDIR)/source/Misc/Model.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Player.cpp" -o "$(SQ_OBJDIR)/source/Misc/Player.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Register.cpp" -o "$(SQ_OBJDIR)/source/Misc/Register.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Routine.cpp" -o "$(SQ_OBJDIR)/source/Misc/Routine.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Signal.cpp" -o "$(SQ_OBJDIR)/source/Misc/Signal.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Tasks.cpp" -o "$(SQ_OBJDIR)/source/Misc/Tasks.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Vehicle.cpp" -o "$(SQ_OBJDIR)/source/Misc/Vehicle.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Misc/Weapon.cpp" -o "$(SQ_OBJDIR)/source/Misc/Weapon.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Register.cpp" -o "$(SQ_OBJDIR)/source/Register.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Routine.cpp" -o "$(SQ_OBJDIR)/source/Routine.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Signal.cpp" -o "$(SQ_OBJDIR)/source/Signal.$(SQ_OEXT)"
|
||||
$(SQ_PP_COMPILER) $(SQ_C_OPTIONS) $(SQ_PP_OPTIONS) $(SQ_DEFINES) $(SQ_INCLUDES) -c "$(SQ_SRCDIR)/Tasks.cpp" -o "$(SQ_OBJDIR)/source/Tasks.$(SQ_OEXT)"
|
||||
|
||||
link:
|
||||
$(SQ_PP_LINKER_DYNAMIC) $(SQ_DYNAMIC_LINKER_OPTIONS) -L"$(SQ_LIBDIR)" $(C_OBJECTS) $(PP_OBJECTS) -o "$(SQ_OUTPUT)" $(SQ_DYNAMIC_LINKER_OPTIONS_)
|
||||
|
Loading…
Reference in New Issue
Block a user