- Migrate from set_global/get_global to ctx_set/ctx_get - Replace if-else chains with match() expressions - Update inline pointer handling patterns - Improve GfxWorld and asset parsing structures - Clean up redundant code across 60+ definition files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
283 B
Plaintext
19 lines
283 B
Plaintext
type soundfile [display="Sound File"]
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
u8 exists;
|
|
ui("exists", "Exists");
|
|
|
|
u8 sound_type;
|
|
ui("sound_type", "Type");
|
|
|
|
skip 2;
|
|
|
|
i32 sound_ptr;
|
|
ui("sound_ptr", "Sound Ptr");
|
|
|
|
// Inline data
|
|
inline loaded_sound loaded_sound when sound_ptr;
|
|
}
|