| 
									
										
										
										
											2025-04-04 16:51:40 -04:00
										 |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <stdbool.h>
 | 
					
						
							|  |  |  | #include "imgui/imgui.h"
 | 
					
						
							|  |  |  | #include "imgui/backends/imgui_impl_opengl2.h"
 | 
					
						
							|  |  |  | #include "sdk.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef __cplusplus
 | 
					
						
							|  |  |  | extern "C" { | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bool menu_init(void); | 
					
						
							|  |  |  | void menu_shutdown(void); | 
					
						
							|  |  |  | void menu_render(void); | 
					
						
							|  |  |  | void menu_key_event(int keynum, int down); | 
					
						
							| 
									
										
										
										
											2025-04-04 17:22:43 -04:00
										 |  |  | void menu_char_event(int ascii); | 
					
						
							| 
									
										
										
										
											2025-04-04 16:51:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | extern bool g_menu_open; | 
					
						
							|  |  |  | extern bool g_imgui_initialized; | 
					
						
							|  |  |  | extern ImGuiContext* g_imgui_context; | 
					
						
							| 
									
										
										
										
											2025-04-04 17:07:54 -04:00
										 |  |  | extern bool g_waiting_for_key_bind; | 
					
						
							|  |  |  | extern const char* g_current_key_binding_action; | 
					
						
							| 
									
										
										
										
											2025-04-04 16:51:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifdef __cplusplus
 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | #endif 
 |