2021-01-27 21:26:19 +00:00
|
|
|
#pragma once
|
2020-12-02 23:18:49 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-07-04 23:02:45 +00:00
|
|
|
typedef void (*input_tick_function_t)(unsigned char *minecraft);
|
|
|
|
void input_run_on_tick(input_tick_function_t function);
|
|
|
|
|
2020-12-02 23:18:49 +00:00
|
|
|
void input_set_is_right_click(int val);
|
|
|
|
void input_hide_gui();
|
|
|
|
void input_third_person();
|
2021-07-04 23:02:45 +00:00
|
|
|
int input_back();
|
|
|
|
void input_drop(int drop_slot);
|
2020-12-02 23:18:49 +00:00
|
|
|
|
|
|
|
void input_set_is_left_click(int val);
|
|
|
|
|
2021-02-16 22:08:43 +00:00
|
|
|
void input_set_mouse_grab_state(int state);
|
|
|
|
|
2021-07-04 23:02:45 +00:00
|
|
|
__attribute__((visibility("internal"))) void _init_attack();
|
|
|
|
__attribute__((visibility("internal"))) void _init_bow();
|
|
|
|
__attribute__((visibility("internal"))) void _init_misc();
|
|
|
|
__attribute__((visibility("internal"))) void _init_toggle();
|
|
|
|
__attribute__((visibility("internal"))) void _init_drop();
|
|
|
|
|
2020-12-02 23:18:49 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|