Home
last modified time | relevance | path

Searched refs:gun_x (Results 1 – 25 of 126) sorted by relevance

123456

/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/frontend/
H A Dpl_gun_ts.c28 static int gun_x, gun_y, gun_in; variable
55 gun_x = (sx - ts_offs_x) * ts_multiplier_x >> 10; in pl_gun_ts_update_raw()
57 limit(gun_x, 0, 1023); in pl_gun_ts_update_raw()
81 *x = gun_x; in pl_gun_ts_update()
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/frontend/
H A Dpl_gun_ts.c28 static int gun_x, gun_y, gun_in; variable
55 gun_x = (sx - ts_offs_x) * ts_multiplier_x >> 10; in pl_gun_ts_update_raw()
57 limit(gun_x, 0, 1023); in pl_gun_ts_update_raw()
81 *x = gun_x; in pl_gun_ts_update()
/dports/games/libretro-beetle_saturn/beetle-saturn-libretro-ee5b214/
H A Dinput.cpp1061 int gun_x, gun_y; in input_update() local
1076 gun_x = ( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1); in input_update()
1080 if ( gun_x == 0 || gun_y == 0 ) in input_update()
1083 gun_x = -16384; // magic position to disable cross-hair drawing. in input_update()
1101 pointer_pressed_last_x = gun_x; in input_update()
1115 p_input->gun_pos[ 0 ] = gun_x; in input_update()
1138 int gun_x, gun_y; in input_update() local
1150 gun_x = -16384; // magic position to disable cross-hair drawing. in input_update()
1169 gun_x = ( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1); in input_update()
1174 p_input->gun_pos[ 0 ] = gun_x; in input_update()
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/
H A Dinput.cpp546 int gun_x = (( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1)) + (crop_overscan ? 120 : 0); in input_handle_lightgun_touchscreen() local
554 if ( gun_x == 0 || gun_y == 0 ) in input_handle_lightgun_touchscreen()
560 gun_x = -16384; // magic position to disable cross-hair drawing. in input_handle_lightgun_touchscreen()
579 pointer_pressed_last_x = gun_x; in input_handle_lightgun_touchscreen()
591 p_input->gun_pos[ 0 ] = gun_x; in input_handle_lightgun_touchscreen()
637 int gun_x, gun_y; in input_handle_lightgun() local
645 gun_x = -16384; // magic position to disable cross-hair drawing. in input_handle_lightgun()
664 gun_x = (( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1)) + (crop_overscan ? 120 : 0); in input_handle_lightgun()
669 p_input->gun_pos[ 0 ] = gun_x; in input_handle_lightgun()
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/
H A Dinput.cpp546 int gun_x = (( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1)) + (crop_overscan ? 120 : 0); in input_handle_lightgun_touchscreen() local
554 if ( gun_x == 0 || gun_y == 0 ) in input_handle_lightgun_touchscreen()
560 gun_x = -16384; // magic position to disable cross-hair drawing. in input_handle_lightgun_touchscreen()
579 pointer_pressed_last_x = gun_x; in input_handle_lightgun_touchscreen()
591 p_input->gun_pos[ 0 ] = gun_x; in input_handle_lightgun_touchscreen()
637 int gun_x, gun_y; in input_handle_lightgun() local
645 gun_x = -16384; // magic position to disable cross-hair drawing. in input_handle_lightgun()
664 gun_x = (( ( gun_x_raw + 0x7fff ) * scale_x ) / (0x7fff << 1)) + (crop_overscan ? 120 : 0); in input_handle_lightgun()
669 p_input->gun_pos[ 0 ] = gun_x; in input_handle_lightgun()
/dports/games/quetoo/quetoo-0.6.1/src/ctf/
H A Dg_main.c59 cvar_t *gun_x; variable
98 gun_x = gi.cvar("gun_x", "0", 0); in InitGame()
/dports/games/quetoo/quetoo-0.6.1/src/baseq2/
H A Dg_main.c58 cvar_t *gun_x; variable
97 gun_x = gi.cvar("gun_x", "0", 0); in InitGame()
/dports/games/quetoo/quetoo-0.6.1/src/vanctf/
H A Dg_main.c41 cvar_t *gun_x; variable
97 gun_x = gi.cvar("gun_x", "0", 0); in InitGame()
/dports/games/quetoo/quetoo-0.6.1/src/qmass/
H A Dg_main.c57 cvar_t *gun_x; variable
133 gun_x = gi.cvar("gun_x", "0", 0); in InitGame()
/dports/games/atanks/atanks-6.5/src/
H A Dtank.cpp1091 double gun_x, gun_y; in isInBox() local
1092 getGuntop(a, gun_x, gun_y); in isInBox()
1093 return ( (std::min(x1, x2) < std::max(x + tank_off_x, gun_x) ) in isInBox()
1094 && (std::max(x1, x2) > std::min(x - tank_off_x, gun_x) ) in isInBox()
/dports/games/quake2-xatrix/quake2-xatrix-3.20/
H A Dg_main.c37 cvar_t *gun_x; variable
/dports/games/q2p/Q2P-0.2-2006-12-31/ctf/
H A Dg_main.c58 cvar_t *gun_x; variable
/dports/games/quake2-ctf/quake2-r0.16.2/src/ctf/
H A Dg_main.c58 cvar_t *gun_x; variable
/dports/games/quake2-source/quake2-r0.16.2/src/ctf/
H A Dg_main.c58 cvar_t *gun_x; variable
/dports/games/qudos/QuDos-0.40.1-src/src/mods/zaero/
H A Dg_main.c34 cvar_t *gun_x; variable
/dports/games/qudos/QuDos-0.40.1-src/src/mods/ctf/
H A Dg_main.c58 cvar_t *gun_x; variable
/dports/games/r1q2/r1q2-8012_5/game/
H A Dg_main.c56 cvar_t *gun_x; variable
/dports/games/quake2lnx/quake2-r0.16.2/src/ctf/
H A Dg_main.c58 cvar_t *gun_x; variable
/dports/games/quake2lnx/quake2-r0.16.2/src/game/
H A Dg_main.c57 cvar_t *gun_x; variable
/dports/games/quake2max/Quake2maX_0.45-src_unix/game/
H A Dg_main.c57 cvar_t *gun_x; variable
/dports/games/quake2-source/quake2-r0.16.2/src/game/
H A Dg_main.c57 cvar_t *gun_x; variable
/dports/games/q2p/Q2P-0.2-2006-12-31/game/
H A Dg_main.c57 cvar_t *gun_x; variable
/dports/games/quake2-data/quake2-data-3.20_3/
H A Dg_main.c38 cvar_t *gun_x; variable
/dports/games/quake2-matrix/matrix/MatrixFixSource/
H A Dg_main.c38 cvar_t *gun_x; variable
/dports/games/quake2-rogue/quake2-rogue-3.20/
H A Dg_main.c37 cvar_t *gun_x; variable

123456