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