Etterna 0.74.4
Loading...
Searching...
No Matches
RageSurface_Load.h
1#ifndef RAGE_SURFACE_LOAD_H
2#define RAGE_SURFACE_LOAD_H
3
4struct RageSurface;
5
7namespace RageSurfaceUtils {
8enum OpenResult
9{
10 OPEN_OK,
11 OPEN_UNKNOWN_FILE_FORMAT = 1,
12 OPEN_FATAL_ERROR = 2,
13};
14
16LoadBase64(const std::string& base64, std::string& error);
17
18/* If bHeaderOnly is true, the loader is only required to return a surface
19 * with the width and height set (but may return a complete surface). */
21LoadFile(const std::string& sPath,
22 std::string& error,
23 bool bHeaderOnly = false);
24}
25
26#endif
Utility functions for the RageSurfaces.
Definition RageSurface_Load.h:7
Definition RageSurface.h:90