mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 12:44:55 -04:00
improve fonts and fix bugs
This commit is contained in:
parent
a8a87d514c
commit
99378da298
12 changed files with 55 additions and 35 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#define BGSWITCHBIT 0x0020
|
||||
|
||||
|
||||
#define SKELDALINI "skeldal.ini"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -24,7 +25,9 @@ uint32_t _bios_keybrd(int mode);
|
|||
|
||||
|
||||
#define RGB888(r,g,b) ((unsigned short)((((r)<<8)&0xF800) | (((g)<<3) & 0x7C0) | ((b)>>3)))
|
||||
#define RGB555(r,g,b) ((unsigned short)(((r)<<11) | ((g)<<6) | (b)))
|
||||
#define RGB555(r,g,b) (((unsigned short)(((r)<<11) | ((g)<<6) | (b))) & ~BGSWITCHBIT)
|
||||
#define RGB555_ALPHA(r,g,b) (((unsigned short)(((r)<<11) | ((g)<<6) | (b))) | BGSWITCHBIT)
|
||||
|
||||
|
||||
|
||||
///build pathname from parts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue