support mouse cursor

This commit is contained in:
a.borisov 2022-05-12 18:17:26 +03:00
parent f86c1a22ac
commit a1430a42aa
3 changed files with 41 additions and 2 deletions

View file

@ -11,10 +11,11 @@
// is_key_pressed(int button_vk_code) - check if a key is pressed,
// use keycodes (VK_SPACE, VK_RIGHT, VK_LEFT, VK_UP, VK_DOWN, VK_RETURN)
//
// get_cursor_x(), get_cursor_y() - get mouse cursor position
// is_mouse_button_pressed(int button) - check if mouse button is pressed (0 - left button, 1 - right button)
// schedule_quit_game() - quit game after act()
// initialize game data in this function
void initialize()
{