Lines Matching refs:s16
62 static void getMidpoint (const WPADStatus *stat, s16 *x, s16 *y );
231 s16 x = (s16)( stat->obj[i].x*SCREEN_WIDTH/WPAD_DPD_IMG_RESO_WX ); in renderLuminousSources()
232 s16 y = (s16)( stat->obj[i].y*SCREEN_HEIGHT/WPAD_DPD_IMG_RESO_WY ); in renderLuminousSources()
247 s16 x = FONT_HEIGHT; in renderStatus()
248 s16 y = FONT_HEIGHT; in renderStatus()
288 s16 x; in renderAiming()
289 s16 y; in renderAiming()
294 x=(s16)((WPAD_DPD_IMG_RESO_WX - x)*SCREEN_WIDTH /WPAD_DPD_IMG_RESO_WX); in renderAiming()
295 y=(s16)((WPAD_DPD_IMG_RESO_WY - y)*SCREEN_HEIGHT/WPAD_DPD_IMG_RESO_WY); in renderAiming()
311 static void getMidpoint( const WPADStatus *stat, s16 *x, s16 *y ) in getMidpoint()
390 *x = (s16)((cx[0]+cx[1])/2); in getMidpoint()
391 *y = (s16)((cy[0]+cy[1])/2); in getMidpoint()