static void title_stick(int id, int a, int v) { if (config_tst_d(CONFIG_JOYSTICK_AXIS_X, a)) gui_pulse(gui_stick(id, v, 0), 1.2f); if (config_tst_d(CONFIG_JOYSTICK_AXIS_Y, a)) gui_pulse(gui_stick(id, 0, v), 1.2f); }
static int shared_stick_basic(int id, int a, int v) { int jd = 0; if (config_tst_d(CONFIG_JOYSTICK_AXIS_X, a)) jd = gui_stick(id, v, 0); else if (config_tst_d(CONFIG_JOYSTICK_AXIS_Y, a)) jd = gui_stick(id, 0, v); if (jd) gui_pulse(jd, 1.2f); return jd; }
static int shared_stick_basic(int id, int a, float v, int bump) { int jd; if ((jd = gui_stick(id, a, v, bump))) gui_pulse(jd, 1.2f); return jd; }
static void start_stick(int id, int a, int v) { int jd; int x = (config_tst_d(CONFIG_JOYSTICK_AXIS_X, a)) ? v : 0; int y = (config_tst_d(CONFIG_JOYSTICK_AXIS_Y, a)) ? v : 0; if ((jd = gui_stick(id, x, y))) { int i = gui_token(jd); gui_set_image(shot_id, level_shot(i)); set_most_coins(i, 3); set_best_times(i, 3); gui_pulse(jd, 1.2f); } }
static void conf_stick(int id, int a, float v, int bump) { gui_pulse(gui_stick(id, a, v, bump), 1.2f); }
static void start_stick(int id, int a, float v, int bump) { start_over(gui_stick(id, a, v, bump), 1); }