FuncDoodle
Loading...
Searching...
No Matches
LoadedAssets.h
Go to the documentation of this file.
1
8
9#pragma once
10
11#include <iostream>
12
13#include "Asset/AssetLoader.h"
14#include "Audio/Audio.h"
15#include "Audio/AudioManager.h"
16
17namespace FuncDoodle {
22 extern uint32_t s_PlayTexId;
27 extern uint32_t s_PauseTexId;
32 extern uint32_t s_RewindTexId;
37 extern uint32_t s_EndTexId;
42 extern uint32_t s_BucketTexId;
47 extern uint32_t s_PencilTexId;
52 extern uint32_t s_PickerTexId;
57 extern uint32_t s_EraserTexId;
62 extern uint32_t s_TextTexId;
67 extern uint32_t s_AddTexId;
72 extern uint32_t s_OpenTexId;
77 extern uint32_t s_SelectTexId;
103 void GlobalLoadAssets(AssetLoader* assetLoader);
104} // namespace FuncDoodle
Centralized asset management system for images, audio, and fonts.
Audio loading and playback system for FuncDoodle.
Audio data structures and PortAudio management.
Convenient abstraction that's responsible for loading assets at a given assetsPath.
Definition AssetLoader.h:37
The FuncDoodle C++ namespace.
Definition Common.h:12
AudioData s_ExportSound
Sound played when exporting.
Definition LoadedAssets.cc:21
uint32_t s_BucketTexId
Bucket tool icon texture.
Definition LoadedAssets.cc:13
void GlobalLoadAssets(AssetLoader *assetLoader)
Loads global textures and sounds into the shared asset handles.
uint32_t s_PencilTexId
Pencil tool icon texture.
Definition LoadedAssets.cc:10
uint32_t s_OpenTexId
Open action icon texture.
Definition LoadedAssets.cc:17
uint32_t s_EndTexId
Toolbar jump-to-end icon texture.
Definition LoadedAssets.cc:9
uint32_t s_RewindTexId
Toolbar rewind icon texture.
Definition LoadedAssets.cc:8
uint32_t s_AddTexId
Add/new action icon texture.
Definition LoadedAssets.cc:16
AudioData s_ProjSaveEndSound
Sound played when save completes.
Definition LoadedAssets.cc:22
uint32_t s_PlayTexId
Toolbar play icon texture.
Definition LoadedAssets.cc:6
AudioData s_ProjSaveSound
Sound played when saving a project.
Definition LoadedAssets.cc:20
uint32_t s_PauseTexId
Toolbar pause icon texture.
Definition LoadedAssets.cc:7
uint32_t s_TextTexId
Reserved text tool icon texture.
Definition LoadedAssets.cc:15
uint32_t s_PickerTexId
Color picker tool icon texture.
Definition LoadedAssets.cc:11
uint32_t s_SelectTexId
Selection tool icon texture.
Definition LoadedAssets.cc:14
AudioData s_ProjCreateSound
Sound played when creating a project.
Definition LoadedAssets.cc:19
uint32_t s_EraserTexId
Eraser tool icon texture.
Definition LoadedAssets.cc:12
Represents raw PCM audio data.
Definition Audio.h:18