Skip to content

Commit

Permalink
ALTV-426 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Oct 4, 2024
1 parent d1fe7d1 commit b038844
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
typedef struct {
alt::Position min;
alt::Position max;
} interior_extend_info_t;
} interior_extent_info_t;
6 changes: 3 additions & 3 deletions c-api/func_table.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "func_table.h"

inline uint64_t capiHash = 10340967010520350397UL;
inline uint64_t capiHash = 3741487677670128934UL;
inline uint64_t capiHashes[] = {
0,
#ifdef ALT_CLIENT_API
Expand Down Expand Up @@ -469,7 +469,7 @@ inline uint64_t capiHashes[] = {
8280976854604120523UL,
4939806300942583161UL,
12260251650657662947UL,
17096856691905449462UL,
11053057787907413702UL,
9833874365185055719UL,
10883468373939012235UL,
15377866266281851140UL,
Expand All @@ -490,7 +490,7 @@ inline uint64_t capiHashes[] = {
9853055316547927459UL,
12340070947493379575UL,
16837975631170049766UL,
17030953846480430905UL,
6970051561303592745UL,
7856663484428066825UL,
15158102510225914020UL,
4739364089865431579UL,
Expand Down
2 changes: 1 addition & 1 deletion c-api/interior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ alt::Rotation Interior_GetRotation(uint32_t interiorId)
return interior->GetRotation();
}

void Interior_GetEntitiesExtents(uint32_t interiorId, interior_extend_info_t& extents)
void Interior_GetEntitiesExtents(uint32_t interiorId, interior_extent_info_t& extents)
{
auto interior = alt::ICore::Instance().GetInterior(interiorId);
auto ext = interior->GetEntitiesExtents();
Expand Down
4 changes: 2 additions & 2 deletions c-api/interior.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#endif

#include "cpp-sdk/SDK.h"
#include "data/interior_extend_info.h"
#include "data/interior_extent_info.h"
#include "data/types.h"
#include "data/invoker.h"
#include "utils/export.h"
Expand All @@ -26,4 +26,4 @@ EXPORT_CLIENT uint16_t Interior_GetRoomCount(uint32_t interiorId);
EXPORT_CLIENT uint16_t Interior_GetPortalCount(uint32_t interiorId);
EXPORT_CLIENT alt::Position Interior_GetPosition(uint32_t interiorId);
EXPORT_CLIENT alt::Rotation Interior_GetRotation(uint32_t interiorId);
EXPORT_CLIENT void Interior_GetEntitiesExtents(uint32_t interiorId, interior_extend_info_t& extents);
EXPORT_CLIENT void Interior_GetEntitiesExtents(uint32_t interiorId, interior_extent_info_t& extents);
2 changes: 1 addition & 1 deletion c-api/interior_portal.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#endif

#include "cpp-sdk/SDK.h"
#include "data/interior_extend_info.h"
#include "data/interior_extent_info.h"
#include "data/types.h"
#include "data/invoker.h"
#include "utils/export.h"
Expand Down
2 changes: 1 addition & 1 deletion c-api/interior_room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ uint32_t InteriorRoom_GetTimecycle(uint32_t interiorId, uint32_t roomValue, uint
}

void InteriorRoom_GetExtents(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex,
interior_extend_info_t& extents)
interior_extent_info_t& extents)
{
auto room = GetInteriorRoom(interiorId, roomValue, isIndex);
auto ext = room->GetExtents();
Expand Down
4 changes: 2 additions & 2 deletions c-api/interior_room.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#endif

#include "cpp-sdk/SDK.h"
#include "data/interior_extend_info.h"
#include "data/interior_extent_info.h"
#include "data/types.h"
#include "data/invoker.h"
#include "utils/export.h"
Expand All @@ -28,7 +28,7 @@ EXPORT_CLIENT uint32_t InteriorRoom_GetNameHash(uint32_t interiorId, uint32_t ro
EXPORT_CLIENT int32_t InteriorRoom_GetFlag(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex);
EXPORT_CLIENT uint32_t InteriorRoom_GetTimecycle(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex);

EXPORT_CLIENT void InteriorRoom_GetExtents(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex, interior_extend_info_t& extents);
EXPORT_CLIENT void InteriorRoom_GetExtents(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex, interior_extent_info_t& extents);

EXPORT_CLIENT void InteriorRoom_SetFlag(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex, int32_t flag);
EXPORT_CLIENT void InteriorRoom_SetTimecycle(uint32_t interiorId, uint32_t roomValue, uint8_t isIndex, uint32_t timecycle);
Expand Down
2 changes: 1 addition & 1 deletion cpp-sdk

0 comments on commit b038844

Please sign in to comment.