blob: bf618f07e7ffdebef5889d1b70ef7285f8008274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// This file is part of the 64k demo project.
// Forward declarations for asset management system.
// Use this header when you only need AssetId type.
#pragma once
#include <cstddef>
#include <cstdint>
enum class AssetId : uint16_t; // Forward declaration
// Type for procedural generation functions: (buffer, width, height, params,
// num_params)
// Returns true on success, false on failure.
typedef bool (*ProcGenFunc)(uint8_t*, int, int, const float*, int);
struct AssetRecord; // Forward declaration (opaque)
|