2026-01-07 16:36:40 -05:00
|
|
|
type sound [display="Sound Alias List"]
|
2026-01-01 22:18:40 -05:00
|
|
|
{
|
2026-01-11 12:09:57 -05:00
|
|
|
const PTR_INLINE = -1;
|
2026-01-01 22:18:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
i32 name_ptr;
|
|
|
|
|
ui("name_ptr", "Name Ptr");
|
|
|
|
|
|
|
|
|
|
i32 head_ptr;
|
|
|
|
|
ui("head_ptr", "Head Ptr");
|
|
|
|
|
|
|
|
|
|
i32 count;
|
|
|
|
|
ui("count", "Count");
|
|
|
|
|
|
|
|
|
|
// Inline data
|
|
|
|
|
inline cstring name when name_ptr [ui="Name", set_name];
|
2026-01-01 22:18:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
if (head_ptr == PTR_INLINE && count > 0) {
|
|
|
|
|
array[count] aliases: soundalias;
|
2026-01-07 16:36:40 -05:00
|
|
|
}
|
2026-01-01 22:18:40 -05:00
|
|
|
}
|