mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Initial commit
This commit is contained in:
commit
77cdaaf97e
827 changed files with 418745 additions and 0 deletions
25
vendor/librw/src/rwcharset.h
vendored
Normal file
25
vendor/librw/src/rwcharset.h
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
namespace rw {
|
||||
|
||||
struct Charset
|
||||
{
|
||||
struct Desc {
|
||||
int32 count; // num of chars
|
||||
int32 tileWidth, tileHeight; // chars in raster
|
||||
int32 width, height; // of char
|
||||
int32 width_internal, height_internal; // + border
|
||||
} desc;
|
||||
Raster *raster;
|
||||
|
||||
static bool32 open(void);
|
||||
static void close(void);
|
||||
static Charset *create(const RGBA *foreground, const RGBA *background);
|
||||
void destroy(void);
|
||||
Charset *setColors(const RGBA *foreground, const RGBA *background);
|
||||
void print(const char *str, int32 x, int32 y, bool32 hideSpaces);
|
||||
void printBuffered(const char *str, int32 x, int32 y, bool32 hideSpaces);
|
||||
static void flushBuffer(void);
|
||||
private:
|
||||
void printChar(int32 c, int32 x, int32 y);
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue