1 #ifndef EMPIRE_EMPIRE_H
2 #define EMPIRE_EMPIRE_H
3 
4 #include "core/buffer.h"
5 
6 void empire_load(int is_custom_scenario, int empire_id);
7 void empire_load_editor(int empire_id, int viewport_width, int viewport_height);
8 
9 void empire_init_scenario(void);
10 void empire_scroll_map(int x, int y);
11 void empire_set_viewport(int width, int height);
12 void empire_adjust_scroll(int *x_offset, int *y_offset);
13 
14 int empire_selected_object(void);
15 
16 void empire_clear_selected_object(void);
17 void empire_select_object(int x, int y);
18 
19 int empire_can_export_resource_to_city(int city_id, int resource);
20 int empire_can_import_resource_from_city(int city_id, int resource);
21 
22 void empire_save_state(buffer *buf);
23 void empire_load_state(buffer *buf);
24 
25 #endif // EMPIRE_EMPIRE_H
26