#define PGE_UTILS_ADHOC_GAMESHARE_NAME "GameShar" |
#define PGE_UTILS_DIALOG_RUNNING -1 |
#define PGE_UTILS_MSG_DIALOG_DEFAULT_BUTTON_NO 0x00000100 |
#define PGE_UTILS_MSG_DIALOG_NO_OPTIONS 0x00000000 |
#define PGE_UTILS_MSG_DIALOG_RESULT_BACK 3 |
#define PGE_UTILS_MSG_DIALOG_RESULT_NO 2 |
#define PGE_UTILS_MSG_DIALOG_RESULT_YES 1 |
#define PGE_UTILS_MSG_DIALOG_YESNO_BUTTONS 0x00000010 |
#define PGE_UTILS_NET_DIALOG_ADHOC_CONNECT 2 |
#define PGE_UTILS_NET_DIALOG_ADHOC_CREATE 4 |
#define PGE_UTILS_NET_DIALOG_ADHOC_JOIN 5 |
#define PGE_UTILS_SAVEDATA_TYPE_AUTOLOAD 0 |
#define PGE_UTILS_SAVEDATA_TYPE_AUTOSAVE 1 |
#define PGE_UTILS_SAVEDATA_TYPE_LISTDELETE 7 |
#define PGE_UTILS_SAVEDATA_TYPE_LISTLOAD 4 |
#define PGE_UTILS_SAVEDATA_TYPE_LISTSAVE 5 |
int pgeUtilsAdhocDialogInit | ( | int | type, | |
char * | name | |||
) |
Init adhoc dialog
type | - Either PGE_UTILS_NET_DIALOG_ADHOC_CONNECT, PGE_UTILS_NET_DIALOG_ADHOC_CREATE or PGE_UTILS_NET_DIALOG_ADHOC_JOIN | |
name | - Either PGE_UTILS_ADHOC_GAMESHARE_NAME for gamesharing or an 8 character string for the group name |
int pgeUtilsAdhocDialogUpdate | ( | void | ) |
Update adhoc dialog
int pgeUtilsBrowserInit | ( | int | memorysize, | |
const char * | url | |||
) |
Init browser dialog
memory | - The amount of memory to use for the browser (in bytes) | |
url | - The initial URL to open on launch |
int pgeUtilsBrowserUpdate | ( | void | ) |
Update browser dialog
int pgeUtilsGameShareInit | ( | const char * | filepath, | |
const char * | name | |||
) |
Init gameshare dialog
filepath | - Path to the EBOOT to share | |
name | - Name of the program (that will be displayed to the receiver) |
int pgeUtilsGameShareUpdate | ( | void | ) |
Update gameshare dialog
int pgeUtilsMsgDialogAbort | ( | void | ) |
Abort a running message dialog
int pgeUtilsMsgDialogErrorInit | ( | unsigned int | error | ) |
Init message dialog (error)
error | - Error number to display |
int pgeUtilsMsgDialogInit | ( | int | options, | |
const char * | text, | |||
... | ||||
) |
Init message dialog
options | - One or more of PGE_UTILS_MSG_DIALOG_NO_OPTIONS, PGE_UTILS_MSG_DIALOG_YESNO_BUTTONS, PGE_UTILS_MSG_DIALOG_DEFAULT_BUTTON_NO | |
text | - Text that is displayed in the dialog |
int pgeUtilsMsgDialogUpdate | ( | void | ) |
Update gameshare dialog
int pgeUtilsNetDialogInit | ( | void | ) |
Init net dialog
int pgeUtilsNetDialogUpdate | ( | void | ) |
Update net dialog
int pgeUtilsOskInit | ( | char * | description, | |
char * | initialtext | |||
) |
Init OSK dialog
description | - Description that is displayed to the user (pass NULL for none) | |
initialtext | - Initial text in the entry field (pass NULL for none) |
int pgeUtilsOskUpdate | ( | char * | outtext | ) |
Update OSK dialog
outtext | - Pointer to a buffer to store the text that has been input. |
int pgeUtilsSavedataInit | ( | int | type, | |
void * | data, | |||
unsigned int | datasize, | |||
const char * | gamename, | |||
const char * | key, | |||
const char * | title, | |||
const char * | subtitle, | |||
const char * | detail | |||
) |
Save or load savedata dialog
type | - PGE_UTILS_SAVEDATA_TYPE_AUTOLOAD, PGE_UTILS_SAVEDATA_TYPE_LISTSAVE etc. | |
data | - The data to save, or a buffer to load the data into. | |
datasize | - Size of the data. | |
gamename | - The game name to save under (must be 9 characters long). | |
key | - The unique key (password) for the save (must be 16 characters long). | |
title | - The game title that is seen on the save/load/VSH screen (max 128 characters). | |
subtitle | - The second title that is seen on the save/load/VSH screen (max 128 characters). | |
detail | - The detail that is seen on the save/load/VSH screen (max 1024 characters). |
int pgeUtilsSavedataUpdate | ( | void | ) |
Update savedata dialog