/* This file was generated by scramble.py. */
#line 1 "src/menu.py"
#ifndef _MENU_
#define _MENU_
typedef struct MenuItem MenuItem;
typedef struct Menu Menu;
#line 1
#include "common.h"
#include "data.h"
#line 4
struct MenuItem {
    char * name;
    bool enabled;
    Kind * place;
};
struct Menu {
    bool shown;
    int x, y;
    int w, h;
    LandArray * items /* [MenuItem] */;
    int click_x, click_y;
    float pay_x, pay_y, pay_r;
#line 17
    uint64_t start_t;
    bool title, over, bill, welcome;
};
extern Menu menu;
#line 22
MenuItem* menu_item_new(str name, Kind * place, bool enabled);
#line 29
void menu_item_destroy(MenuItem * self);
#line 33
void menu_add_if(str item, Kind * place, bool enabled);
#line 48
void menu_click(int x, int y);
#line 68
void menu_clear(void);
#line 75
void menu_show(int x, int y, MenuItem * item);
#line 213
void menu_draw_hover_info(void);
#line 223
void draw_pause_button(void);
#line 239
bool menu_click_button(float mx, float my);
#line 278
void menu_draw(void);
#line 528
void bill_draw(void);
#line 591
void welcome_draw(void);
#line 665
void over_draw(void);
#line 692
void title_draw(void);
#endif
/* This file was generated by scramble.py. */
