mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-25 22:21:49 +01:00
Update to ImAnim 1.0.0
This commit is contained in:
parent
bedc572d0a
commit
452ae48da0
5 changed files with 12 additions and 2 deletions
1
external/cimanim/cimanim.cpp
vendored
1
external/cimanim/cimanim.cpp
vendored
|
|
@ -26,6 +26,7 @@ CIMGUI_API void c_iam_get_custom_ease(iam_ease_fn* pOut, int slot) { *pOut = i
|
|||
|
||||
// Debug UI
|
||||
CIMGUI_API void c_iam_show_unified_inspector(bool* p_open) { iam_show_unified_inspector(p_open); }
|
||||
CIMGUI_API void c_iam_show_debug_timeline(ImGuiID instance_id) { iam_show_debug_timeline(instance_id); }
|
||||
|
||||
// Performance Profiler
|
||||
CIMGUI_API void c_iam_profiler_enable(bool enable) { iam_profiler_enable(enable); }
|
||||
|
|
|
|||
1
external/cimanim/cimanim.h
vendored
1
external/cimanim/cimanim.h
vendored
|
|
@ -32,6 +32,7 @@ CIMGUI_API void c_iam_get_custom_ease(iam_ease_fn* pOut, int slot);
|
|||
|
||||
// Debug UI
|
||||
CIMGUI_API void c_iam_show_unified_inspector(bool* p_open);
|
||||
CIMGUI_API void c_iam_show_debug_timeline(ImGuiID instance_id);
|
||||
|
||||
// Performance Profiler
|
||||
CIMGUI_API void c_iam_profiler_enable(bool enable);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Dalamud.Bindings.ImAnim;
|
|||
public static unsafe class ImAnim
|
||||
{
|
||||
public delegate void ClipCallback(uint instId, void* userData); // iam_clip_callback
|
||||
public delegate void MarkerCallback(uint instId, uint markerId, float markerTime, void* userData); // iam_marker_callback
|
||||
public delegate void MarkerCallback(uint instId, uint markerId, float markerTime, void* userData); // iam_marker_callback
|
||||
public delegate float EaseFn(float t); // iam_ease_fn
|
||||
|
||||
public delegate float FloatResolver(void* userData); // iam_float_resolver
|
||||
|
|
@ -108,6 +108,11 @@ public static unsafe class ImAnim
|
|||
pOpen = open == 1;
|
||||
}
|
||||
|
||||
public static void ShowDebugTimeline(uint instanceId)
|
||||
{
|
||||
ImAnimNative.ShowDebugTimeline(instanceId);
|
||||
}
|
||||
|
||||
// Performance Profiler
|
||||
|
||||
public static void ProfilerEnable(bool enable)
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ public static unsafe partial class ImAnimNative
|
|||
[LibraryImport(LibName, EntryPoint = "c_iam_show_unified_inspector")]
|
||||
public static partial void ShowUnifiedInspector(byte* pOpen = null);
|
||||
|
||||
[LibraryImport(LibName, EntryPoint = "c_iam_show_debug_timeline")]
|
||||
public static partial void ShowDebugTimeline(uint instance_id);
|
||||
|
||||
// Performance Profiler
|
||||
|
||||
[LibraryImport(LibName, EntryPoint = "c_iam_profiler_enable")]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d889a81d46afa6acf8c568d7b417945715e4acc3
|
||||
Subproject commit 6f5cacba008374a47e44fdb89ce0d4fffd340e03
|
||||
Loading…
Add table
Add a link
Reference in a new issue