Mercurial > repos > blastem
view nuklear_ui/blastem_nuklear.h @ 2661:462e43f54abf
Properly emulate extra TH transitions due to direction changes for 6-button controllers. Breaks Golden Axe II input the same as hardware with a 6-button controller
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 05 Mar 2025 22:20:20 -0800 |
parents | 251cc75574af |
children |
line wrap: on
line source
#ifndef BLASTEM_NUKLEAR_H_ #define BLASTEM_NUKLEAR_H_ #define NK_INCLUDE_FIXED_TYPES #define NK_INCLUDE_STANDARD_IO #define NK_INCLUDE_STANDARD_VARARGS #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #define NK_INCLUDE_FONT_BAKING #include "nuklear.h" #include "nuklear_sdl_gles2.h" void blastem_nuklear_init(uint8_t file_loaded); void show_pause_menu(void); void show_play_view(void); uint8_t is_nuklear_active(void); uint8_t is_nuklear_available(void); //ui_idle_loop calls these automatically, needed externally for browser target void ui_enter(void); void ui_exit(void); void ui_idle_loop(void); #endif //BLASTEM_NUKLEAR_H_