mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-29 03:46:50 +01:00
Add permission-gated effect handles, native surface attachments, and world lifetime cleanup. Extend physics_step with optional contact geometry and body poses. Document the generic API and validate it with self-contained plugin and geometry fixtures.
17 lines
1.0 KiB
C++
17 lines
1.0 KiB
C++
#pragma once
|
|
#include "park_editor.h"
|
|
|
|
namespace dingosdk::game::build::v20260929::effect_surface {
|
|
// Same executable as decals.h. Paired position/quaternion readers are used
|
|
// by 0x1a4ae60 and 0x3d04c80. Input: 16-byte physics world/index/generation
|
|
// handle. Output: aligned float4, quaternion in XYZW order.
|
|
inline constexpr std::uintptr_t body_position=0x25d6e60,body_rotation=0x25d5db0;
|
|
inline constexpr std::uintptr_t scope_pop_slot = 0x8, result_fractions = 0x8;
|
|
inline constexpr std::array<Fingerprint,4> contracts{{
|
|
park_editor::picking_contracts[0], // ray hit -> generation-bearing body handle
|
|
park_editor::picking_contracts[1], // allocated bit and generation validation
|
|
{0x25d6e60, {0x40,0x53,0x48,0x83,0xec,0x50,0x48,0x8b,0x01,0x48,0x8b,0xda,0x44,0x8b,0x49,0x08,0x45,0x8b,0xc1,0x41,0x0f,0xb6,0xc9,0x49,0xc1,0xe8,0x03,0x80,0xe1,0x07,0x4c,0x8b}},
|
|
{0x25d5db0, {0x40,0x53,0x48,0x83,0xec,0x50,0x48,0x8b,0x01,0x48,0x8b,0xda,0x44,0x8b,0x49,0x08,0x45,0x8b,0xc1,0x41,0x0f,0xb6,0xc9,0x49,0xc1,0xe8,0x03,0x80,0xe1,0x07,0x4c,0x8b}},
|
|
}};
|
|
}
|