Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
editor_state Struct Reference

Data Fields

enum editor_tool_type tool
 
struct editor_tool tools [NUM_EDITOR_TOOL_TYPES]
 
const struct tilecurrent_tile
 
bool tool_active
 
bool selrect_active
 
int selrect_start_x
 
int selrect_start_y
 
int selrect_x
 
int selrect_y
 
int selrect_width
 
int selrect_height
 
enum selection_modes selection_mode
 
struct tile_hash * selected_tile_table
 
struct edit_buffercopybuf
 

Detailed Description

Definition at line 79 of file editor.c.

Field Documentation

◆ copybuf

struct edit_buffer* editor_state::copybuf

Definition at line 97 of file editor.c.

Referenced by editor_clear(), editor_free(), editor_get_copy_buffer(), and editor_init().

◆ current_tile

const struct tile* editor_state::current_tile

Definition at line 83 of file editor.c.

Referenced by editor_get_current_tile(), and editor_set_current_tile().

◆ selected_tile_table

struct tile_hash* editor_state::selected_tile_table

◆ selection_mode

enum selection_modes editor_state::selection_mode

◆ selrect_active

bool editor_state::selrect_active

◆ selrect_height

int editor_state::selrect_height

◆ selrect_start_x

int editor_state::selrect_start_x

Definition at line 87 of file editor.c.

Referenced by editor_resize_selection_rectangle(), and editor_start_selection_rectangle().

◆ selrect_start_y

int editor_state::selrect_start_y

Definition at line 88 of file editor.c.

Referenced by editor_resize_selection_rectangle(), and editor_start_selection_rectangle().

◆ selrect_width

int editor_state::selrect_width

◆ selrect_x

int editor_state::selrect_x

◆ selrect_y

int editor_state::selrect_y

◆ tool

enum editor_tool_type editor_state::tool

Definition at line 80 of file editor.c.

Referenced by editor_get_tool(), and editor_set_tool().

◆ tool_active

bool editor_state::tool_active

◆ tools