mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
e932239a63
* retroachievements * add rc_api_info * disable hardcore * clear password after login attempt * proper check for hardcore * more set_hardcore * change checkbox * add more stubs * add more UI * add button for RA website * cleanup http callback
24 lines
837 B
C
24 lines
837 B
C
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
void ra_init_client(bool hardcore);
|
|
void ra_shutdown_client();
|
|
bool ra_get_hardcore();
|
|
void ra_load_game(const uint8_t *rom, size_t rom_size);
|
|
void ra_set_dmem(uint8_t *dmem, size_t dmem_size);
|
|
void ra_do_frame();
|
|
void ra_do_idle();
|
|
void ra_http_callback(const char *content, size_t content_size, int status_code,
|
|
void *callback, void *callback_data);
|
|
void ra_logout_user();
|
|
void ra_login_user(const char *username, const char *password, void *userdata);
|
|
void ra_login_token_user(const char *username, const char *token,
|
|
void *userdata);
|
|
bool ra_is_user_logged_in();
|
|
const char *ra_get_username();
|
|
const char *ra_get_token();
|
|
size_t ra_state_size();
|
|
void ra_save_state(uint8_t *state);
|
|
void ra_load_state(const uint8_t *state);
|