#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SDL.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <assert.h>
#include <strings.h>
#include <ctype.h>
#include "rc.h"
#include "ckvp.h"
#include "pd-defs.h"
#include "romload.h"
#include "system.h"
#include "md.h"
#include "rc-vars.h"
Functions | |
intptr_t | rc_keysym (const char *code, intptr_t *) |
char * | dump_keysym (intptr_t k) |
intptr_t | rc_boolean (const char *value, intptr_t *) |
char * | dump_joypad (intptr_t js) |
intptr_t | rc_joypad (const char *value, intptr_t *) |
intptr_t | rc_ctv (const char *value, intptr_t *) |
intptr_t | rc_scaling (const char *value, intptr_t *) |
intptr_t | rc_emu_z80 (const char *value, intptr_t *) |
intptr_t | rc_emu_m68k (const char *value, intptr_t *) |
intptr_t | rc_region (const char *value, intptr_t *) |
intptr_t | rc_string (const char *value, intptr_t *) |
intptr_t | rc_rom_path (const char *value, intptr_t *) |
intptr_t | rc_number (const char *value, intptr_t *) |
static void | rc_binding_cleanup (void) |
struct rc_field * | rc_binding_add (const char *rc, const char *to) |
void | rc_binding_del (rc_field *rcf) |
intptr_t | rc_bind (const char *value, intptr_t *variable) |
static char * | strclean (char *s) |
void | rc_str_cleanup (void) |
void | parse_rc (FILE *file, const char *name) |
void | dump_rc (FILE *file) |
Variables | |
const char * | ctv_names [] |
const char * | scaling_names [] = { "default", "hqx", "scale2x", NULL } |
const char * | emu_z80_names [] = { "none", "mz80", "cz80", "drz80", NULL } |
const char * | emu_m68k_names [] = { "none", "star", "musa", "cyclone", NULL } |
struct rc_keysym | rc_keysyms [] |
struct { | |
const char * name | |
uint32_t flag | |
} | keymod [] |
static const char * | joypad_axis_type [] |
static const unsigned int | joypad_axis_value [] |
static const char * | joypad_hat_type [] |
static const unsigned int | joypad_hat_value [] |
struct rc_field | rc_fields [RC_FIELDS_SIZE] |
struct rc_binding | rc_binding_head |
struct rc_str * | rc_str_list = NULL |
char* dump_joypad | ( | intptr_t | js | ) |
char* dump_keysym | ( | intptr_t | k | ) |
void dump_rc | ( | FILE * | file | ) |
void parse_rc | ( | FILE * | file, |
const char * | name | ||
) |
intptr_t rc_bind | ( | const char * | value, |
intptr_t * | variable | ||
) |
|
read |
|
static |
void rc_binding_del | ( | rc_field * | rcf | ) |
intptr_t rc_boolean | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_ctv | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_emu_m68k | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_emu_z80 | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_joypad | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_keysym | ( | const char * | code, |
intptr_t * | |||
) |
intptr_t rc_number | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_region | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_rom_path | ( | const char * | value, |
intptr_t * | |||
) |
intptr_t rc_scaling | ( | const char * | value, |
intptr_t * | |||
) |
void rc_str_cleanup | ( | void | ) |
intptr_t rc_string | ( | const char * | value, |
intptr_t * | |||
) |
|
static |
const char* ctv_names[] |
const char* emu_m68k_names[] = { "none", "star", "musa", "cyclone", NULL } |
const char* emu_z80_names[] = { "none", "mz80", "cz80", "drz80", NULL } |
uint32_t flag |
|
static |
|
static |
|
static |
|
static |
struct { ... } keymod[] |
const char* name |
struct rc_binding rc_binding_head |
struct rc_field rc_fields[RC_FIELDS_SIZE] |
struct rc_keysym rc_keysyms[] |
const char* scaling_names[] = { "default", "hqx", "scale2x", NULL } |