mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
font.cpp and other p[gkfsdhg';[sdfg
This commit is contained in:
parent
ce6fe42cd9
commit
eb19b3fdc4
2 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef FILESYSTEM_H
|
||||
#define FILESYSTEM_H
|
||||
|
||||
#include <SDL_rwops.h>
|
||||
#include <SDL_IOStream.h>
|
||||
|
||||
struct FileSystemPrivate;
|
||||
class SharedFontState;
|
||||
|
|
@ -52,14 +52,14 @@ public:
|
|||
* After this function returns, ops becomes invalid, so don't take
|
||||
* references to it. Instead, copy the structure without closing
|
||||
* if you need to further read from it later. */
|
||||
virtual bool tryRead(SDL_RWops &ops, const char *ext) = 0;
|
||||
virtual bool tryRead(SDL_IOStream &ops, const char *ext) = 0;
|
||||
};
|
||||
|
||||
void openRead(OpenHandler &handler,
|
||||
const char *filename);
|
||||
|
||||
/* Circumvents extension supplementing */
|
||||
void openReadRaw(SDL_RWops &ops,
|
||||
void openReadRaw(SDL_IOStream &ops,
|
||||
const char *filename,
|
||||
bool freeOnClose = false);
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <SDL_ttf.h>
|
||||
#include <SDL3_ttf/SDL_ttf.h>
|
||||
|
||||
typedef std::pair<std::string, int> FontKey;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue