mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 11:21:55 +01:00
66c17c023c
-fixed font glyph x spacing so letters like W no longer bleed into or look like they connect to the next letter. also fixes letters like j's. thanks to usbloader gx freetypegx code. -changed some font sizing. but had to make button fonts in bold. if not bold then sometime's the text would fade out and be hard to read. something to do with the wiiflow button images being transparent. has no effect on non transparent buttons like carbonik abz theme. -fixed wfl so time and date in games is correct. thanks aphirst! -now unloading theme.ini from mem after all buttons and labels are created. this is possible since coverflow.ini is now seperate from theme.ini. - other minor code changes and rem's put in for easier code decyphering.
75 lines
1.1 KiB
C
75 lines
1.1 KiB
C
|
|
#ifndef _TYPES_H_
|
|
#define _TYPES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum {
|
|
DEVOLUTION = 0,
|
|
NINTENDONT
|
|
};
|
|
|
|
enum {
|
|
EMU_NAND = 0,
|
|
SAVES_NAND,
|
|
REAL_NAND
|
|
};
|
|
|
|
enum {
|
|
CHANNELS_REAL = 1,
|
|
CHANNELS_EMU,
|
|
CHANNELS_BOTH
|
|
};
|
|
|
|
enum {
|
|
COVERFLOW_NONE = 0x00,
|
|
COVERFLOW_WII = 0x01,
|
|
COVERFLOW_GAMECUBE = 0x02,
|
|
COVERFLOW_CHANNEL = 0x04,
|
|
COVERFLOW_PLUGIN = 0x08,
|
|
COVERFLOW_HOMEBREW = 0x10,
|
|
COVERFLOW_MAX = 0xFF
|
|
};
|
|
|
|
enum
|
|
{
|
|
TYPE_WII_DISC = 0,
|
|
TYPE_WII_WBFS,
|
|
TYPE_WII_WBFS_EXT
|
|
};
|
|
|
|
enum
|
|
{
|
|
TYPE_WII_GAME = 0,
|
|
TYPE_GC_GAME,
|
|
TYPE_CHANNEL,
|
|
TYPE_PLUGIN,
|
|
TYPE_HOMEBREW,
|
|
TYPE_SOURCE,
|
|
TYPE_EMUCHANNEL,
|
|
TYPE_END
|
|
};
|
|
#define NoGameID(x) (x == TYPE_PLUGIN || x == TYPE_HOMEBREW || x == TYPE_SOURCE)
|
|
|
|
enum
|
|
{
|
|
IOS_TYPE_D2X = 0,
|
|
IOS_TYPE_WANIN,
|
|
IOS_TYPE_HERMES,
|
|
IOS_TYPE_KWIIRK,
|
|
IOS_TYPE_NEEK2O,
|
|
IOS_TYPE_NORMAL_IOS,
|
|
IOS_TYPE_STUB,
|
|
};
|
|
#define CustomIOS(x) (x != IOS_TYPE_NORMAL_IOS && x != IOS_TYPE_STUB)
|
|
|
|
#define ValidColor(x) (x == 0xFFFFFF || x == 0xFF0000 || x == 0x000000 || \
|
|
x == 0xFCFF00 || x == 0x01A300 || x == 0x00E360)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |