Flatten src into model, edit and ui, with .h headers

Resources and utilities sit directly in src. The ImGui windows, wizards, popups and helpers are in ui.
Headers that would shadow system ones are renamed: math_util, timestamp, subprocess, localization.
Includes are written from src.
This commit is contained in:
shweet committed 2026-11-22 17:12:05 -05:00
1 parent a515267e26
commit 7fb2c607c2
175 files changed
+537 -537

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <vector>
namespace anm2ed::resource
{
// Encoded audio file bytes. uid identifies the bytes so playback state can be cached by it.
struct AudioData
{
std::vector<unsigned char> bytes{};
std::uint64_t uid{};
AudioData() = default;
AudioData(const unsigned char*, size_t);
AudioData(const std::filesystem::path&);
bool is_valid() const;
};
}