feat(Natives): Updated natives list
This commit is contained in:
parent
caf0deeab1
commit
a152427ae7
@ -7,6 +7,6 @@ namespace big
|
|||||||
{
|
{
|
||||||
void looped::system_screen_size()
|
void looped::system_screen_size()
|
||||||
{
|
{
|
||||||
GRAPHICS::_GET_ACTIVE_SCREEN_RESOLUTION(&g.window.x, &g.window.y);
|
GRAPHICS::GET_ACTIVE_SCREEN_RESOLUTION_(&g.window.x, &g.window.y);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -74,7 +74,7 @@ namespace rage
|
|||||||
}
|
}
|
||||||
|
|
||||||
using Void = void;
|
using Void = void;
|
||||||
using Any = std::uint32_t;
|
using Any = int;
|
||||||
using Hash = std::uint32_t;
|
using Hash = std::uint32_t;
|
||||||
using Entity = std::int32_t;
|
using Entity = std::int32_t;
|
||||||
using Player = std::int32_t;
|
using Player = std::int32_t;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ namespace big::entity
|
|||||||
{
|
{
|
||||||
ENTITY::DETACH_ENTITY(ent, 1, 1);
|
ENTITY::DETACH_ENTITY(ent, 1, 1);
|
||||||
ENTITY::SET_ENTITY_VISIBLE(ent, false, false);
|
ENTITY::SET_ENTITY_VISIBLE(ent, false, false);
|
||||||
NETWORK::_NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK(ent, true);
|
NETWORK::NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK_(ent, true);
|
||||||
ENTITY::SET_ENTITY_COORDS_NO_OFFSET(ent, 0, 0, 0, 0, 0, 0);
|
ENTITY::SET_ENTITY_COORDS_NO_OFFSET(ent, 0, 0, 0, 0, 0, 0);
|
||||||
ENTITY::SET_ENTITY_AS_MISSION_ENTITY(ent, 1, 1);
|
ENTITY::SET_ENTITY_AS_MISSION_ENTITY(ent, 1, 1);
|
||||||
ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(&ent);
|
ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(&ent);
|
||||||
@ -40,7 +40,7 @@ namespace big::entity
|
|||||||
farCoords.y = camCoords.y + dir.y * 1000;
|
farCoords.y = camCoords.y + dir.y * 1000;
|
||||||
farCoords.z = camCoords.z + dir.z * 1000;
|
farCoords.z = camCoords.z + dir.z * 1000;
|
||||||
|
|
||||||
int ray = SHAPETEST::_START_SHAPE_TEST_RAY(camCoords.x, camCoords.y, camCoords.z, farCoords.x, farCoords.y, farCoords.z, -1, 0, 7);
|
int ray = SHAPETEST::START_EXPENSIVE_SYNCHRONOUS_SHAPE_TEST_LOS_PROBE(camCoords.x, camCoords.y, camCoords.z, farCoords.x, farCoords.y, farCoords.z, -1, 0, 7);
|
||||||
SHAPETEST::GET_SHAPE_TEST_RESULT(ray, &hit, &endCoords, &surfaceNormal, ent);
|
SHAPETEST::GET_SHAPE_TEST_RESULT(ray, &hit, &endCoords, &surfaceNormal, ent);
|
||||||
|
|
||||||
return (bool)hit;
|
return (bool)hit;
|
||||||
|
@ -76,7 +76,7 @@ namespace big::vehicle
|
|||||||
if (*g_pointers->m_is_session_started)
|
if (*g_pointers->m_is_session_started)
|
||||||
{
|
{
|
||||||
DECORATOR::DECOR_SET_INT(veh, "MPBitset", 0);
|
DECORATOR::DECOR_SET_INT(veh, "MPBitset", 0);
|
||||||
ENTITY::_SET_ENTITY_SOMETHING(veh, true);
|
ENTITY::SET_ENTITY_CLEANUP_BY_ENGINE_(veh, true);
|
||||||
int networkId = NETWORK::VEH_TO_NET(veh);
|
int networkId = NETWORK::VEH_TO_NET(veh);
|
||||||
if (NETWORK::NETWORK_GET_ENTITY_IS_NETWORKED(veh))
|
if (NETWORK::NETWORK_GET_ENTITY_IS_NETWORKED(veh))
|
||||||
NETWORK::SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES(networkId, true);
|
NETWORK::SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES(networkId, true);
|
||||||
|
Reference in New Issue
Block a user