Exemple #1
0
/**
 *
 *  rct2: 0x006E83C7
*/
static sint32 game_get_next_input(sint32 *x, sint32 *y)
{
	rct_mouse_data *input = get_mouse_input();
	if (input == NULL) {
		*x = gCursorState.x;
		*y = gCursorState.y;
		return 0;
	} else {
		*x = input->x;
		*y = input->y;
		return input->state;
	}
}
Exemple #2
0
/**
 *
 *  rct2: 0x006E83C7
*/
static void game_get_next_input(int *x, int *y, int *state)
{
	rct_mouse_data *input = get_mouse_input();
	if (input == NULL) {
		*x = gCursorState.x;
		*y = gCursorState.y;
		*state = 0;
	} else {
		*x = input->x;
		*y = input->y;
		*state = input->state;
	}
}