Porting to Linux
This commit is contained in:
@@ -43,7 +43,7 @@ int64 FlxLockedWrapper::GetActor() {
|
||||
IdView FlxLockedWrapper::GetNear(int64 id, double rx, double ry, double rz) {
|
||||
uint32 size;
|
||||
int64* data;
|
||||
Lockable.Wrapper.get_tangibles_near(Get(), id, rx, ry, rz, &size, &data);
|
||||
Lockable.Wrapper.get_tangibles_near(Get(), id, rx, ry, rz, &size, (int64_t**)&data);
|
||||
return IdView(data, size);
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ StringViewVec FlxLockedWrapper::GetAnimationQueues(IdView ids) {
|
||||
const char** StrBuf = Lockable.AQStrBuffer.GetData();
|
||||
|
||||
// Get the animation queues into the static buffers.
|
||||
Lockable.Wrapper.get_animation_queues(Get(), num, ids.GetData(), LenBuf, StrBuf);
|
||||
Lockable.Wrapper.get_animation_queues(Get(), num, (const int64_t *)ids.GetData(), LenBuf, StrBuf);
|
||||
|
||||
// Transfer data from static buffers into an array of string_view
|
||||
StringViewVec result;
|
||||
@@ -73,4 +73,4 @@ StringViewVec FlxLockedWrapper::GetAnimationQueues(IdView ids) {
|
||||
result[i] = std::string_view(StrBuf[i], LenBuf[i]);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user