mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Updated core class to take a Uint8 colors when creating checkpoints and speheres.
This commit is contained in:
parent
0aafb46af2
commit
9686f9e664
@ -745,7 +745,7 @@ Reference< CBlip > Core::NewBlip(SQInt32 index, SQInt32 world, SQFloat x, SQFloa
|
|||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Reference< CCheckpoint > Core::NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
Reference< CCheckpoint > Core::NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
||||||
SQUint32 r, SQUint32 g, SQUint32 b, SQUint32 a, SQFloat radius,
|
Uint8 r, Uint8 g, Uint8 b, Uint8 a, SQFloat radius,
|
||||||
SQInt32 header, SqObj & payload) noexcept
|
SQInt32 header, SqObj & payload) noexcept
|
||||||
{
|
{
|
||||||
// See if the specified player reference is valid
|
// See if the specified player reference is valid
|
||||||
@ -815,7 +815,7 @@ Reference< CPickup > Core::NewPickup(SQInt32 model, SQInt32 world, SQInt32 quant
|
|||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Reference< CSphere > Core::NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
Reference< CSphere > Core::NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
||||||
SQUint32 r, SQUint32 g, SQUint32 b, SQFloat radius,
|
Uint8 r, Uint8 g, Uint8 b, SQFloat radius,
|
||||||
SQInt32 header, SqObj & payload) noexcept
|
SQInt32 header, SqObj & payload) noexcept
|
||||||
{
|
{
|
||||||
// See if the specified player reference is valid
|
// See if the specified player reference is valid
|
||||||
|
@ -189,7 +189,7 @@ public:
|
|||||||
* Creates a new Checkpoint on the server
|
* Creates a new Checkpoint on the server
|
||||||
*/
|
*/
|
||||||
Reference< CCheckpoint > NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
Reference< CCheckpoint > NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
||||||
SQUint32 r, SQUint32 g, SQUint32 b, SQUint32 a, SQFloat radius,
|
Uint8 r, Uint8 g, Uint8 b, Uint8 a, SQFloat radius,
|
||||||
SQInt32 header, SqObj & payload) noexcept;
|
SQInt32 header, SqObj & payload) noexcept;
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -217,7 +217,7 @@ public:
|
|||||||
* Creates a new Sphere on the server
|
* Creates a new Sphere on the server
|
||||||
*/
|
*/
|
||||||
Reference< CSphere > NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
Reference< CSphere > NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z,
|
||||||
SQUint32 r, SQUint32 g, SQUint32 b, SQFloat radius,
|
Uint8 r, Uint8 g, Uint8 b, SQFloat radius,
|
||||||
SQInt32 header, SqObj & payload) noexcept;
|
SQInt32 header, SqObj & payload) noexcept;
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user