MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
mgdl-assetmanager.h
Go to the documentation of this file.
1#pragma once
2
3#include <mgdl/mgdl-font.h>
4#include <mgdl/mgdl-texture.h>
5#include <mgdl/mgdl-png.h>
6#include <mgdl/mgdl-sound.h>
7#include <mgdl/mgdl-music.h>
8
18{
19 sizetype _memoryInUse;
20};
21typedef struct AssetManager AssetManager;
22
23#ifdef __cplusplus
24extern "C"
25{
26#endif
27
28void AssetManager_Init(AssetManager* manager);
29void AssetManager_LoadFont(AssetManager* manager, Font* font);
30void AssetManager_LoadTexture(AssetManager* manager, Texture* image);
31void AssetManager_LoadPNG(AssetManager* manager, PNGFile* png);
32void AssetManager_LoadSound(AssetManager* manager, Sound* snd);
33void AssetManager_LoadMusic(AssetManager* manager, Music* music);
34
35
36#ifdef __cplusplus
37}
38#endif
Class for loading fonts and drawing text with them.
Sound module header.
Texture handling module header.
Contains info about loaded assets and memory use.
Definition mgdl-assetmanager.h:18
Represents a font that can be used to draw text.
Definition mgdl-font.h:16
Definition mgdl-music.h:17
Definition mgdl-png.h:10
Sound handling struct.
Definition mgdl-sound.h:31
Abstract class for cross platform PNG image loading.
Definition mgdl-texture.h:13