#ifndef _DEBUG_MENU_H_
#define _DEBUG_MENU_H_
-#include <stdbool.h>
+typedef enum {
+ ENTRY_VERSION,
+ ENTRY_FPS,
+ ENTRY_POS,
+ ENTRY_YAW,
+ ENTRY_PITCH,
+ ENTRY_TIME,
+ ENTRY_DAYLIGHT,
+ ENTRY_SUN_ANGLE,
+ ENTRY_HUMIDITY,
+ ENTRY_TEMPERATURE,
+ ENTRY_SEED,
+ ENTRY_FLIGHT,
+ ENTRY_COLLISION,
+ ENTRY_TIMELAPSE,
+ ENTRY_FULLSCREEN,
+ ENTRY_OPENGL,
+ ENTRY_GPU,
+ ENTRY_ANTIALIASING,
+ ENTRY_MIPMAP,
+ ENTRY_VIEW_DISTANCE,
+ ENTRY_LOAD_DISTANCE,
+ COUNT_ENTRY,
+} DebugMenuEntry;
void debug_menu_init();
void debug_menu_toggle();
+void debug_menu_changed(DebugMenuEntry entry);
+void debug_menu_update();
-void debug_menu_update_version();
-void debug_menu_update_fps(int fps);
-void debug_menu_update_pos();
-void debug_menu_update_yaw();
-void debug_menu_update_pitch();
-void debug_menu_update_time();
-void debug_menu_update_daylight();
-void debug_menu_update_sun_angle();
-void debug_menu_update_humidity();
-void debug_menu_update_temperature();
-void debug_menu_update_seed();
-void debug_menu_update_flight();
-void debug_menu_update_collision();
-void debug_menu_update_timelapse();
-void debug_menu_update_fullscreen();
-void debug_menu_update_opengl();
-void debug_menu_update_gpu();
-void debug_menu_update_antialiasing();
-void debug_menu_update_mipmap();
-void debug_menu_update_render_distance();
-void debug_menu_update_simulation_distance();
-
-#endif
+#endif // _DEBUG_MENU_H_